Skip to content
@ebbmem

Ebbmem

Memory that remembers what matters, and forgets the rest.

ebbmem

Memory that remembers what matters, and forgets the rest. — The cognitive memory engine for AI agents.

Website Docs Go SDK PyPI Crates.io License: Proprietary


What is ebbmem?

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.

Key Capabilities

  • Four-Tier Memory Model — Store memories across working, episodic, semantic, and procedural tiers (POST /api/v1/memory/remember and /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-Namespace header or JSON request body ({tenant}:default isolation with 403 enforcement across tenant boundaries).
  • Hosted HTTP API, MCP & SSE Streams — Connect agents via streamable HTTP JSON-RPC MCP (POST /mcp, legacy SSE at GET /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, typed EBB-… error envelopes, idempotency keys, and exponential-backoff retries on 429 (Retry-After) and 502/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).

Repositories

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.

Quick Start

Set EBBMEM_ORIGIN to your hosted origin and EBBMEM_TOKEN to a Bearer token (or EBBMEM_API_KEY for X-API-Key).

Go (ebbmem/ebbmem-go)

go get github.com/ebbmem/ebbmem-go@v0.2.0
client, 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)

Python (ebbmem-client)

pip install ebbmem-client
from 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")

HTTP API (curl)

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"}'

Links & Resources


Built by Spectrayan

Popular repositories Loading

  1. ebbmem-go ebbmem-go Public

    Go

  2. .github .github Public

  3. integrations integrations Public

    Python

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…