v0.2.0 · Native Single Binary & Desktop App · Apache-2.0 · Self-hostable

Your AI forgets everything.
memnos makes sure it doesn’t.

memnos gives AI agents a real memory — so Claude Code, Codex, Cursor, or any agent you use remembers who you are, what you decided, and what happened across every session. Plus a native MEMNOS Desktop workspace to catch up on overnight agent work in one click.

Ships as a zero-dependency native single binary on your own PostgreSQL, fully open source, with no LLM required to recall.

64–65%
LoCoMo (full 10) — gpt-4o judge, three independent from-scratch ingests (65 / 64 / 65); every prediction published
Yours
your memory, your data — self-host or cloud, never locked in
Any LLM
OpenAI · Claude · Llama/Ollama — pluggable; none at query time
Governed
token auth · namespace ACL · audit · encrypted secret vault
namespace: org:acme:engineering recent
fact 2h ago

Chose one PostgreSQL + pgvector over a separate graph + vector DB — simpler ops, ACID, bi-temporal facts.

fact 6h ago

Redis OOM on prod-02. Resolved by setting maxmemory-policy=allkeys-lru.

constraint corpus: security-arch.md

CONSTRAINT: All database queries must go through the ORM layer. Direct SQL is prohibited.

fact superseded · as-of queryable

Alex moved to Seattle — the earlier "lives in Austin" fact is closed with valid_to, not deleted.

constraint corpus: arch-docs.md

CONSTRAINT: All PHI data MUST be encrypted at rest using AES-256. Direct database access from service layers is PROHIBITED.

Namespaces · per-agent tokens · server-stamped authorship

Shared memory,
governed.

Every memory lives in a namespace. Every person and every agent gets its own token, and a token reaches only the namespaces it was granted — read, write, or both — checked on the server, not suggested in a prompt.

Authorship is stamped from the authenticated token, so a client can’t claim to be someone else. Add an audit log and an encrypted secret vault — all in the open-source build, on your own Postgres (embedded by default, no Docker).

Per-namespace
read / write grants per principal, enforced server-side
Server-stamped
author comes from the token; an author field in the request is ignored
Revocable
tokens are individual, scoped, and can be revoked one at a time
No LLM
at recall time — fast, cheap, deterministic
namespace: team:eng example
read + write dev-alice’s token

Decides the auth approach and saves it. Stored as by dev-alice.

read + write dev-bob’s token

A fresh agent that never saw Alice’s session recalls her decision, attributed to her, and adds a constraint.

read only a CI agent’s token

Can recall the team’s decisions. It was never granted write, so it can’t change them.

audit log every call

Who read or wrote what, and when — recorded by the server, not by the client.

New: cross-harness handoffs via Tommy · same primitives via the SDK

Claude Code. Codex. Cursor.
One memory between all of them.

Most teams don’t run one harness anymore — Claude Code for one task, Codex for another, Cursor for a third, often in the same week. Without a shared memory, every one of them starts cold. memnos gives every harness, every agent and every session the same memory to read from and write to.

When a task has to move from one harness to another, Tommy’s tommy_handoff records it as a durable, auditable handoff — state-machined, hop-capped so it can’t ping-pong forever. Building your own multi-agent system on the SDK instead? The same handoff primitives are yours to call directly.

6 harnesses
Claude Code, Codex, aider, goose, cursor-agent, kiro supervised by Tommy today
Hop-capped
a handoff can’t ping-pong between agents forever — enforced, not prompted
Audited
every transition is a signed, durable memnos write — full history, not a chat log
SDK too
the same handoff type & enumeration endpoint, callable directly from your own agent code
handoff: auth-pkce-migration claude → codex
offered hop 1 · claude → codex

Task “refactor the auth module to use PKCE” offered to codex, with a memnos context bundle attached — not the full transcript.

accepted hop 2 · codex

codex accepted the handoff. Full context received — nothing re-explained.

in_progress hop 3 · codex

“PKCE flow drafted, writing tests next.” — a note attached to the transition, not a side channel.

completed hop 4 · terminal

PR opened with the PKCE flow and tests. Full 4-hop history auditable via tommy_handoff_status.

New in v0.2.0 · Native MEMNOS Desktop (memnos app) & Ask MEMNOS

Sleep while agents ship.
Catch up in one click.

Open MEMNOS Desktop and ask Ask MEMNOS what happened while you were away — decisions made, blockers hit, and handoffs queued across every #channel and @handle, powered by your own local CLI harness.

Watch live agent calls stream in real time, create channels or assign tasks conversationally, run one-click Doctor diagnostics, and switch between Slack Aubergine, Soft Dusk, Obsidian, and Daylight themes.

~5.6 MB
native OS WebView executable — zero Electron or Python runtime bloat
Ask MEMNOS
1-click catch-up briefings & conversational #channel / @handle control
Live SSE
real-time bottom activity ticker & stream for every MCP / REST call
Doctor + Backup
version sync, pgvector index health & verified pre-upgrade snapshots
✦ Ask MEMNOS · v0.2.0 • 127.0.0.1:8900
🌙 While I Was Away Last 8h

@claude-api locked Stripe idempotency schema and handed replay tests to @codex-qa on #payments-sync.

◉ Live Stream 18 ms

42/42 replay tests verified — wake-daemon notified idle pane tmux %4.

✚ Doctor 8/8 checks OK

App & Server v0.2.0 in sync · HNSW indexes healthy · verified backup on disk.

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.

See it work

Two agents. One shared brain.

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.

Two Claude Code agents sharing memory through memnos — Dev Bob's agent recalls Dev Alice's decision, attributed by dev-alice

Recorded live · attribution is server-stamped from each agent’s token, not client-claimed · runs on your own Postgres.

✦ New in v0.2.0 · memnos app

Meet MEMNOS Desktop & Ask MEMNOS

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:

  • ✓1-Click Catch-Up Briefings: While I Was Away, Agent Coordination, Blockers & Incidents, and Channels & Handles Audit using your preferred local CLI harness.
  • ✓Manage Mesh via Chat: Create #channels, subscribe @handles, and assign @inbox tasks in plain English.
  • ✓Live SSE Ticker & System Doctor: Watch every remember/recall call live, verify App/Server version sync, and audit PostgreSQL backups & ACLs.
Try Interactive Preview → $ memnos app --install
MEMNOS v0.2.0 · 127.0.0.1:8900
✦ Slack Aubergine · Soft Dusk · Daylight
🌙 While I Was Away 🤝 Agent Coordination 🚨 Blockers & Incidents
Briefing · Last 8h (Sleep/Away) Harness: ⚡ Auto

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.

Ask what happened while you slept, or manage #channels & @handles… Send ↵
• LIVE │ ⚡ @codex-qa /remember (proj:payments-sync) · 18ms ✓ App v0.2.0 · Server v0.2.0

Never lose a decision

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.

Every memory signed

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.

Rules that can’t be forgotten

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.

Zero-dep single binary

new in 0.2.0

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.

The real cost of stateless AI teams

Your team has 20 engineers and 20 AI assistants. Without shared memory, you have 40 silos — each starting from zero.

Agents forget between sessions

Context window closes; architecture decisions, resolved incidents, learned patterns — gone. Every session restarts from zero.

No shared context across agents

Agent A doesn't know what Agent B discovered 10 minutes ago. Work is repeated, mistakes are repeated, and coordination is manual.

Decisions lost

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.

Zero policy enforcement

No audit trail. No way to know which agent made which call, which decision was automated, or why. Compliance is impossible to prove.

Architecture violations slip through

Agents generate code that violates your documented architecture. No one enforces the rules at code-generation time without re-prompting every session.

Knowledge leaves when engineers do

Onboarding takes weeks because institutional knowledge lives in people's heads and scattered notes. New hires and their AI assistants start completely cold.

memnos fixes all six.
What you get

Memory you can actually trust

Four things memnos ships together, in the free, open-source tier — no paywall between you and any of it.

Fully open engine

Every line that touches your data is readable, auditable source — Apache-2.0, not a black box behind an API.

Governed by default

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.

Your own PostgreSQL

Runs on the database your org already operates, backs up, and has compliance sign-off on. No second store to secure.

No LLM at query time

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 →

Who it's for

Not for everyone. Built for people shipping with AI agents.

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:

👩‍💻

AI engineering teams

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.

🤖

Agent builders

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.

🏛️

Regulated enterprise

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.

Capabilities

Enterprise-grade memory for every layer of your stack

Persistent Shared Memory

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.

Temporal Memory

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.

Living Knowledge Graph

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.

Architecture Enforcement

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.

Agent Memory Policies & Audit Trail

Every operation is token-authenticated, namespace-scoped, author-attributed from the authenticated token, and audit-logged — principal, operation, latency, result count, and episode provenance.

Multi-Agent Coordination & Handoffs

new

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.

Multi-Model Support

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.

Namespace ACLs

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.

Secret Vault

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.

Constraint Checks

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.

Deterministic Capture Proxy

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.

Portable 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.

✦

MEMNOS Desktop & Ask MEMNOS

new in 0.2.0

Native OS workspace (memnos app) with 1-click overnight catch-up briefings, conversational #channel/@handle management, live SSE activity streaming, and four breathable themes.

@

Targeted Terminal Wake & Spawner

new in 0.2.0

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.

✚

System Doctor & Verified Backups

new in 0.2.0

memnos doctor audits binary/server sync, HNSW indexes, vault keys, and hooks; memnos upgrade takes mandatory pg_restore-verified backups before rolling reload.

Consolidate your stack

One engine, three systems

The three pieces teams usually bolt together from separate products — shipped as one engine, on one governed PostgreSQL.

Your RAG

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.

Your knowledge graph

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.

Your agent memory

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.

No fine print

How memories actually get captured

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.

Use Cases

Built for real engineering team complexity

Policies

Agent memory policies from day one

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.

Complete audit trail — every operation logged with principal, namespace and outcome
Namespace access control — each agent gets exactly the permissions it needs
Architecture checks — stored rules checked against any diff from CI
Learn about policies →
audit_record.json
{
  "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 & integrate · v0.2.0

One command. Zero Python dependencies required.

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.

$ curl -fsSL https://raw.githubusercontent.com/thameema/memnos/master/install.sh | sh macOS/Linux (or: uv tool install memnos)
PS> irm https://raw.githubusercontent.com/thameema/memnos/master/install.ps1 | iex Windows
$ memnos setup && memnos start && memnos app → :8900 + MEMNOS Desktop
remember + recall (REST / CLI)
# 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
✓ Claude Code (MCP)
✓ LangChain
✓ LlamaIndex
✓ REST API (any language)
✓ Cursor / Windsurf
Integration

How it works

Five lines is all it takes to give your agent permanent, governed, shared memory.

1

Connect your agents

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.

2

Recall — ranked, governed memory

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.

3

Enforce in CI

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.

4

Write with full provenance

Every call is token-authenticated, server-stamped with its author, and audit-logged; every consolidated fact keeps provenance links to its source episodes.

client.py
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",
    )
Multi-agent coordination new

Agent handoffs you can audit

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.

blackboard.sh — pub/sub, raw memnos primitives
# 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 …
tommy_handoff — structured, cross-harness (MCP tool)
# 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.

Ecosystem

Built on memnos

memnos is a memory layer, not a coordinator. Here’s a companion tool that runs on top of it.

Tommy

memnos-native coding orchestrator

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.

$ uv tool install tommy-orchestrator
See Tommy →
We eat our own dog food

The AI agents that built memnos used memnos.

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

fact 2025-11-03

Chose PostgreSQL + pgvector over Neo4j + Qdrant. One engine eliminates two services and gives vector + full-text search without a second database.

fact 2025-12-14

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 corpus constraint — searchable by all agents

CONSTRAINT: Source directories are READ-ONLY. All memory and learnings go to vaults only. Never write markdown in source repos.

One tool. Every agent.
Zero lost context.

Self-host in minutes — one installer script or Docker, on a PostgreSQL you already run. Apache-2.0 licensed. No lock-in.