v0.2.0 zero-dep native binary + Desktop App · 64–65% on full LoCoMo · 78.4% on LongMemEval (500q, predictions published) · No LLM at query time · Apache-2.0 · Runs on PostgreSQL.
Two real Claude Code agents — separate processes, separate tokens, same team namespace. Dev Alice’s agent makes a decision. Dev Bob’s agent, in a fresh session that never saw hers, recalls it — attributed to dev-alice — and adds a constraint her next turn picks up. No one re-explained anything. memnos is the shared memory underneath.
Recorded live · attribution is server-stamped from each agent’s token, not client-claimed · runs on your own Postgres.
memnos app
Stop hunting through six terminal tabs to figure out what your agents did overnight. Launch memnos app to open a fast native desktop workspace for macOS, Linux, and Windows:
#channels, subscribe @handles, and assign @inbox tasks in plain English.remember/recall call live, verify App/Server version sync, and audit PostgreSQL backups & ACLs.02:14 · @claude-api finalized composite idempotency keys in proj:payments-sync and queued QA handoff on #payments-sync.
03:05 · @codex-qa passed 42/42 webhook replay tests, saved a fix memory, and rang @claude-api via wake-daemon.
memnos captures both sides — what you asked and what your AI concluded — deterministically, through hooks and the capture proxy, not the model’s discretion. Decisions land in memory the moment they’re made.
Server-stamped author attribution on every write — know which agent handle or engineer wrote each memory and when, backed by a full per-principal audit log.
Pinned constraints ride along with every recall so critical rules never fall out of context, and /corpus/check tests any diff against RFC-2119 rules deterministically — no LLM.
Server, blue-green gateway, 55-tool MCP server, CLI, wake daemon, and native Desktop App ship as fast self-contained binaries with zero Python runtime dependencies.
Your team has 20 engineers and 20 AI assistants. Without shared memory, you have 40 silos — each starting from zero.
Context window closes; architecture decisions, resolved incidents, learned patterns — gone. Every session restarts from zero.
Agent A doesn't know what Agent B discovered 10 minutes ago. Work is repeated, mistakes are repeated, and coordination is manual.
A senior architect's 10am decision doesn't reach the developer asking the same question at 2pm. The same trade-offs get re-litigated daily.
No audit trail. No way to know which agent made which call, which decision was automated, or why. Compliance is impossible to prove.
Agents generate code that violates your documented architecture. No one enforces the rules at code-generation time without re-prompting every session.
Onboarding takes weeks because institutional knowledge lives in people's heads and scattered notes. New hires and their AI assistants start completely cold.
Four things memnos ships together, in the free, open-source tier — no paywall between you and any of it.
Every line that touches your data is readable, auditable source — Apache-2.0, not a black box behind an API.
Token auth, namespace ACLs, a full audit log, a cost ledger, and an encrypted secret vault — shipped in the free tier, not a paid add-on.
Runs on the database your org already operates, backs up, and has compliance sign-off on. No second store to secure.
Recall is deterministic — hybrid search plus a local rerank — not a model guessing what you meant.
memnos is that combination: memory you can read, audit, govern, and run on infrastructure you already trust. Curious how it stacks up against Zep, Mem0, and others? See the full comparison →
memnos earns its place when more than one agent — or more than one developer — needs to share what’s been learned. Three audiences feel that most:
Your team runs Claude Code, Codex and Cursor. memnos is the one shared, governed memory underneath them: decisions, constraints and incidents every developer’s agent reads and writes — attributed to who learned them. New hires get full context on day one; the team stops re-litigating settled questions.
Building on LangChain, LangGraph or your own stack? memnos is a real memory backend via the memnos-sdk, MCP and REST — hybrid recall, bi-temporal facts, no LLM at query time. If your own agents need to hand work to each other, the same durable handoff memory type and exact-enumeration endpoint Tommy uses are callable directly — build your own state machine on top. Vendor-neutral, runs anywhere.
Healthcare, finance, government. Self-host on the PostgreSQL you already operate, with token auth, namespace ACLs, a full audit log, server-stamped authorship and an encrypted secret vault. Your data never leaves your infrastructure.
Facts, decisions, preferences, incidents and constraints survive session boundaries and are shared across your whole team — so nothing important is ever lost or re-explained. Runs on infrastructure you already operate; no exotic database to babysit.
Every memory carries valid_from / valid_until timestamps. Query the memory store as_of any past date — "what did we know about the auth service on March 15th?" Zep/Graphiti are bi-temporal too; memnos is the one that does it on a single plain PostgreSQL.
Not a static document store. The graph evolves in real-time as agents work — new edges, superseded decisions, cross-linked incidents — always reflecting your team's current understanding.
Ingest your architecture docs — memnos parses RFC-2119 rules (SHALL / SHOULD / MAY) into constraint facts. They surface in recall like any memory, and corpus_check returns the rules relevant to any code snippet or diff — deterministic, no LLM.
Every operation is token-authenticated, namespace-scoped, author-attributed from the authenticated token, and audit-logged — principal, operation, latency, result count, and episode provenance.
Pub/sub across agents — webhook push and cursor-based polling, delivered at-least-once. For structured work handoffs between harnesses (Claude Code → Codex → Cursor, or any mix), Tommy’s tommy_handoff adds a durable, hop-capped state machine on top — and the same handoff memory type is callable directly from the SDK if you’re building your own.
Claude Code, Codex, Cursor, GPT-5, Llama, Gemini, Mistral — any model that can make an HTTP call works with memnos. Swap your underlying LLM without touching your memory layer.
Fine-grained access control via API keys and namespaces. Give the backend team read/write to org:acme:backend, the frontend team to org:acme:frontend. Each agent gets exactly the permissions it needs.
AES-256-GCM encrypted vault for secrets and keys, stored alongside memories, with master-key rotation built in. Ingest redaction strips credential patterns before they ever land in memory.
Write an architecture rule once — or ingest a whole doc. Stored rules are searchable by every agent, and /corpus/check returns the rules relevant to any snippet or diff — in CI, code review, or your editor.
Point ANTHROPIC_BASE_URL / OPENAI_BASE_URL at memnos proxy and every conversation is captured deterministically — not left to the model's discretion like MCP-only memory.
Copy or move whole namespaces with one command, and back up everything with standard PostgreSQL tooling (pg_dump). It’s your database — your memory travels with your infrastructure.
Native OS workspace (memnos app) with 1-click overnight catch-up briefings, conversational #channel/@handle management, live SSE activity streaming, and four breathable themes.
memnos wake-daemon binds TMUX_PANE and Orca terminal IDs to wake only the idle target agent pane on new @inbox messages, paired with isolated git-worktree background workers.
memnos doctor audits binary/server sync, HNSW indexes, vault keys, and hooks; memnos upgrade takes mandatory pg_restore-verified backups before rolling reload.
The three pieces teams usually bolt together from separate products — shipped as one engine, on one governed PostgreSQL.
Document ingestion (/ingest/file), hybrid retrieval — vector + BM25 fused with RRF — and a cross-encoder reranker on by default. No separate vector database to run.
Entities, edges, bi-temporal facts and consolidated dossiers — plus grounded recall: admin-linked knowledge namespaces consulted with every search. Lightweight by design: it is not a replacement for a dedicated graph-analytics platform.
Episodes, deterministic supersession, namespaces with ACLs, audit, pub/sub coordination — persistent memory for every agent and AI tool you already use, via MCP, REST and the SDK.
All three live in one PostgreSQL + pgvector you already run — one backup, one auth model, one audit trail.
Here’s a truth most memory products won’t put on their homepage: the MCP protocol has no post-response event — a memory server never sees the conversation, so capture via MCP tools is at the model’s discretion. That’s true for every vendor, including us. So memnos ships three explicit capture tiers and tells you which one you’re getting:
| Capture tier | Works with | Who decides what’s saved | Guarantee |
|---|---|---|---|
| Claude Code hooks | Claude Code | memnos — both speakers, every turn | ✓ Deterministic |
| memnos proxy | Any client with a base-URL override (ANTHROPIC_BASE_URL / OPENAI_BASE_URL) |
memnos — full conversation relayed | ✓ Deterministic |
| MCP tools | Everything else — including Claude Desktop | The model | ~ Best-effort |
Claude Desktop allows no base-URL override and no hooks — it is tools-only for every memory vendor. If a memory product promises automatic capture there, ask how.
Product, engineering, QA, and DevOps all share one memory store. New hires get full institutional context on day one — not after weeks of onboarding.
Learn more →Ingest your architecture docs, ADRs, and compliance requirements. Agents enforce rules automatically during code review and development — zero re-prompting.
Learn more →When PagerDuty fires, surface similar past incidents and resolutions instantly. Stop re-investigating the same failures at 2am.
Learn more →Replace static wikis with a living memory store that every agent and engineer contributes to and queries in real time. Documentation that updates itself.
Learn more →The question isn't whether your AI agents will make consequential decisions. They already are. The question is whether you can audit them, govern them, and prove it to your organization.
{
"id": 48121,
"text": "Chose PostgreSQL + pgvector over Neo4j",
"kind": "proposition",
"valid_from": "2026-03-15T10:23:44Z",
"valid_to": null,
"provenance": { "episodes": [9143, 9150] },
"audit": { "principal": "arch-agent", "op": "/remember" },
"namespace": "org:acme:architecture"
}
Install native single binaries (memnos + memnos-desktop) via install.sh, install.ps1, or zero-dependency PyPI platform wheels (uv tool install memnos). Includes an embedded PostgreSQL+pgvector option, 55-tool MCP server, and REST API — plus memnos-sdk for Python/LangChain/LangGraph/LlamaIndex.
# REST — works from any language (Bearer token, namespace-scoped)
curl -X POST http://127.0.0.1:8900/remember \
-H "Authorization: Bearer $MEMNOS_TOKEN" -H "Content-Type: application/json" \
-d '{"namespace":"org:acme:security","text":"JWT tokens must expire after 15 minutes in production"}'
curl -X POST http://127.0.0.1:8900/recall \
-H "Authorization: Bearer $MEMNOS_TOKEN" -H "Content-Type: application/json" \
-d '{"namespace":"org:acme:security","query":"token expiry policy"}'
# …or the native CLI + Desktop Workspace
memnos remember "JWT tokens expire after 15 min in prod" --namespace org:acme:security
memnos recall "token expiry policy" --namespace org:acme:security
memnos doctor # audit server/CLI sync, pgvector HNSW indexes, vault & verified backups
Five lines is all it takes to give your agent permanent, governed, shared memory.
Drop the MCP server into Claude Code, Cursor, or any MCP-compatible host. Or use the REST SDK from any language. Self-host with one uv tool install — your Postgres, your data.
Agents recall and write as they work. Hybrid search (vector + BM25 + RRF) with a cross-encoder reranker returns the most relevant facts and episodes — including any stored constraint facts that match.
Call /corpus/check with every PR diff. It returns the stored SHALL / SHOULD / MAY rules relevant to the change — annotate the PR, or fail the build on your own policy.
Every call is token-authenticated, server-stamped with its author, and audit-logged; every consolidated fact keeps provenance links to its source episodes.
from memnos_sdk import MemnosClient
with MemnosClient(
base_url="https://memnos.acme.com",
token="...",
) as client:
# Hybrid recall — facts + episodes, reranked
out = client.recall(
"how do we handle patient data encryption",
namespace="org:acme:engineering",
)
# One prompt-ready context string
ctx = client.context("auth service decisions")
# Write — authed, namespaced, audit-logged
client.remember(
"Selected PostgreSQL + pgvector — single engine",
namespace="org:acme:architecture",
)
Two ways to coordinate, both signed with the authenticated principal — set by the server, never client-supplied. Pick the raw primitive for your own stack, or Tommy’s structured state machine for cross-harness task handoffs.
# Give the agent its own identity, key and scope
memnos principal create billing-bot --kind service
memnos token mint billing-bot # → mnk_…
memnos grant add billing-bot proj:storefront
# billing-bot writes a discovery to the shared namespace…
memnos remember "Refund r-1041 approved — customer churned over shipping delays" \
--namespace proj:storefront
# …the support agent subscribes (webhook push, at-least-once)
curl -s -H "Authorization: Bearer $MEMNOS_TOKEN" http://127.0.0.1:8900/subscribe \
-d '{"namespace":"proj:storefront","webhook":"https://support-bot.internal/hook"}'
# …and every other agent's recall shows who said it — server-signed:
- (fact, 2026-06-11, by billing-bot) Refund r-1041 approved — customer churned …
# claude-code session hands a task to codex — a durable record,
# not a dispatch: codex still has to pick it up itself.
tommy_handoff(
task_id="auth-pkce-migration",
to_harness="codex",
context_summary="refactor auth module to use PKCE",
expected_deliverable="PR with PKCE flow + tests",
)
→ {"ok": true, "handoff_id": "a1b2c3d4e5f6", "state": "offered", "hop": 1, "hop_limit": 8}
# …the codex session accepts, works, completes — each hop is its own
# audited write, state-machined offered → accepted → in_progress → completed
tommy_handoff_status(handoff_id="a1b2c3d4e5f6")
→ {"state": "completed", "hop": 4, "is_terminal": true, "history": [...]}
Delivery for pub/sub is webhook push plus cursor-based polling, at-least-once — not a millisecond bus. A handoff's hop cap (tommy.yaml: handoff_hop_limit, default 8) stops two agents re-offering the same task forever. Full details in the API reference and the Tommy page.
memnos is a memory layer, not a coordinator. Here’s a companion tool that runs on top of it.
Tommy sits in front of a coding-agent CLI — Claude Code, Codex, aider, goose, cursor-agent or kiro — and gives that session memnos memory it wouldn’t otherwise have: recall before dispatch, session journaling (Claude Code today), prompted memnos leases so two concurrent sessions don’t pick up the same ticket, and tommy_handoff for durable, hop-capped task handoffs to a different harness. One binary, two entry points — an interactive CLI and an MCP server.
Every architecture decision in this codebase is a memory. Every incident we hit is stored. The agents that write our docs query memnos before writing a word.
We didn't just use our product — our product made itself. If memnos went down, our agents would start repeating the same mistakes within a week.
// actual memories from building memnos
Chose PostgreSQL + pgvector over Neo4j + Qdrant. One engine eliminates two services and gives vector + full-text search without a second database.
E2E stack stuck at "Created" — Postgres container never became healthy. Root cause: ~ in .env file not expanded by docker-compose. Fixed by injecting MEMNOS_DATA_DIR as shell env var.
CONSTRAINT: Source directories are READ-ONLY. All memory and learnings go to vaults only. Never write markdown in source repos.
Self-host in minutes — one installer script or Docker, on a PostgreSQL you already run. Apache-2.0 licensed. No lock-in.