Memory that remembers what matters, and forgets the rest. — The cognitive memory engine for AI agents.
Standard AI agent memory stores keep every trace at equal weight until stale, low-value context crowds out what matters at recall time. ebbmem is a hosted cognitive memory engine for AI agents, accessible over a REST/HTTP API, streamable HTTP Model Context Protocol (POST /mcp), and multi-language client SDKs. Modeled on how biological memory behaves, ebbmem uses a mass-dilated Ebbinghaus forgetting curve so unused episodic traces decay over time, every recall refreshes what it touches, and repeatedly accessed episodes consolidate into durable semantic facts.
- Four-Tier Memory Model — Store memories across
working,episodic,semantic, andproceduraltiers (POST /api/v1/memory/rememberand/api/v1/memory/remember/batch), promoting time-stamped conversation and tool-call episodes into stable semantic facts linked to their sources. - Mass-Dilated Ebbinghaus Decay & Consolidation — Retrievability falls as a memory ages so older traces stop crowding recall; recalled memories are refreshed, and repeatedly recalled traces consolidate into higher-stability semantic knowledge.
- Hybrid & Profiled Recall — Hybrid recall over episodes and facts ranked by relevance and current retention across tunable recall profiles (
Balanced,FactualPrecision,CreativeExploration,DebugDiagnostic), plus federated recall (recall_federated), reinforcement (reinforce), reflection (reflect), and diagnostics (why_not,status). - Tenant-Scoped Namespaces — Isolate memories per user, agent, or tenant via the
X-Ebb-Namespaceheader or JSON request body ({tenant}:defaultisolation with403enforcement across tenant boundaries). - Hosted HTTP API, MCP & SSE Streams — Connect agents via streamable HTTP JSON-RPC MCP (
POST /mcp, legacy SSE atGET /mcp), REST routes (/api/v1/memory/*,/api/v1/tasks/*,/healthz), Server-Sent Events (GET /api/v1/events/stream), and OpenAPI specs (API Reference, Redoc, Swagger UI). - Client SDKs (
v0.2.0) — Shared client contract across Go, Python, Rust, TypeScript, Java, and C# with environment-driven auth (EBBMEM_ORIGIN,EBBMEM_TOKEN,EBBMEM_API_KEY,EBBMEM_NAMESPACE), cursor pagination, typedEBB-…error envelopes, idempotency keys, and exponential-backoff retries on429(Retry-After) and502/503/504. - Published Benchmarks — 94.0% on MindSpan QA (
376/400), 91.4% on LoCoMo QA (1,408/1,540, categories 1–4), and 98.6% session hit@10 / 95.7% turn hit@10 on keyless LongMemEval retrieval (fully local, zero LLM calls; see Benchmarks & Methodology).
| Repository | Description | Language / SDK |
|---|---|---|
ebbmem/ebbmem-go |
Go client for the Ebb memory HTTP API (v0.2.0) with context-aware calls, cursor pagination, SSE streaming, and automatic retries. |
Go (github.com/ebbmem/ebbmem-go) |
ebbmem/.github |
Organization profile and community configuration for the ebbmem GitHub organization. |
Markdown |
Published client packages are also available on pkg.go.dev (github.com/ebbmem/ebbmem-go), PyPI (ebbmem-client), and crates.io / docs.rs (ebbmem-client). Full SDK documentation is at ebbmem.ai/docs/sdks.
Set EBBMEM_ORIGIN to your hosted origin and EBBMEM_TOKEN to a Bearer token (or EBBMEM_API_KEY for X-API-Key).
go get github.com/ebbmem/ebbmem-go@v0.2.0client, err := ebbmem.NewClient() // reads EBBMEM_ORIGIN and EBBMEM_TOKEN
stored, err := client.Memory.Remember(ctx, "the harbor light is cobalt", nil, nil, nil, "")
found, err := client.Memory.Recall(ctx, "harbor light", nil, nil)pip install ebbmem-clientfrom ebbmem_client import EbbmemClient
client = EbbmemClient() # reads EBBMEM_ORIGIN and EBBMEM_TOKEN
stored = client.memory.remember("the harbor light is cobalt")
found = client.memory.recall("harbor light")curl -sS -X POST "${EBBMEM_ORIGIN}/api/v1/memory/remember" \
-H "Authorization: Bearer ${EBBMEM_TOKEN}" \
-H "Content-Type: application/json" \
-H "X-Ebb-Namespace: default" \
-d '{"content":"User prefers metric units","tier":"episodic","importance":0.8}'
curl -sS -X POST "${EBBMEM_ORIGIN}/api/v1/memory/recall" \
-H "Authorization: Bearer ${EBBMEM_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"query":"metric units","limit":5,"profile":"Balanced"}'- Website: ebbmem.ai (Pricing · Enterprise)
- Documentation: ebbmem.ai/docs (Quickstart · Client SDKs · Benchmarks · Methodology)
- API Reference: Overview · Redoc · Swagger UI · OpenAPI JSON · OpenAPI YAML
- Community & Contributing: Open issues or pull requests on
ebbmem/ebbmem-go, or reach out via ebbmem.ai/contact and support@ebbmem.ai. - Security: To report a security issue privately, email support@ebbmem.ai or ebbmem@spectrayan.com.
- License: Client SDKs and hosted service are proprietary — Copyright © Spectrayan. All rights reserved. See
ebbmem/ebbmem-go/LICENSE.
Built by Spectrayan