AMB is a local-first MCP server that keeps the decisions you tell it to keep — with the reason attached.
❯ store namespace: "project:demo"
content: "DECISION: All API errors return RFC 9457 problem+json. Reason: clients already parse it; the old {error: string} shape forced per-endpoint handling. Source: api/errors.py review, Nov 2026."
result: { "id": "20261124070715548912-8b00c290", "stored": true, "duplicate": false, "write_disposition": "stored_new" }
■ SESSION 1 ENDS — THE AGENT FORGETS EVERYTHINGcontext window: cleared · chat history: gone · the decision would be lost — except it was stored.
SESSION 2 — A BRAND-NEW SESSION, STARTING COLD❯ recall query: "how should API errors be formatted"
result: count: 1 — the same decision, returned whole:
"All API errors return RFC 9457 problem+json" — with its reason (clients already parse it…) and its source (api/errors.py review, Nov 2026) still attached.
provenance: source_client recorded · lineage_status: "intact" · recheck_status: "current" · relations: supersedes / contradicts tracked
VERIFIED — CHECK IT YOURSELF
# the same loop, over streamable HTTP # agent-memory-bridge serve --transport streamable-http $ curl -X POST http://localhost:8000/mcp \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "store", "arguments": { …the same decision… } } }' → HTTP 200 mcp-session-id: "62eec82d615346318f066d667b15fb99" result: { "id": "20261124132237289660-11d03835", "stored": true, "write_disposition": "stored_new", "created_at": "2026-11-24T13:22:37Z" } $ curl -X POST http://localhost:8000/mcp \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "recall", "arguments": { "query": "how should API errors be formatted" } } }' → HTTP 200 — "All API errors return RFC 9457 problem+json" + reason + source, returned whole provenance: source_client: "curl-demo" Same store. Same record. Only the transport changed.
$ agent-memory-bridge doctoronboarding checks — install, wiring, server spawn$ agent-memory-bridge first-runa read-only walkthrough of your setup$ agent-memory-bridge explorewhat AMB knows — code facts (WHAT) next to stored decisions (WHY)$ agent-memory-bridge verifycheck the store's integrity and lineage$ agent-memory-bridge project init . --yesbind this project to AMB$ agent-memory-bridge --help Commands: serve project bootstrap-repo first-run inspect explore doctor verify review-queue task-brief backup connect triggers …
INSTALL — PYTHON 3.11+
connect also takes: cursor · codex · cline · vscode — and doctor checks the wiring.
First use in a repo: agent-memory-bridge project init . --yes
or wire it by hand — MCP config (stdio)
$Run the loop your agent runs:
▸ THE AGENT — SESSION 1
Its context is volatile. When the session ends, everything here is gone.
Session 1 is live. Store the decision to begin.
▸ AMB STORE — LOCAL, PERSISTENT
This side survives session ends — like the SQLite file on your machine.
It keeps the explicit decisions you tell it to keep — and it runs on your machine.