$ amb GitHub· PyPI

AMB is a local-first MCP server that keeps the decisions you tell it to keep — with the reason attached.

$ amb — real sessions, captured from the installed server
SESSION 1 — THE AGENT IS TOLD TO STORE A DECISION

❯ 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 EVERYTHING

context 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

Same record, both sessions. One store in Session 1, one recall in Session 2 — id 20261124070715548912-8b00c290.
The reason survived. Recall returned the decision and why it was made — not just the conclusion.
Provenance intact. lineage_status "intact", recheck_status "current" — you can see where it came from and whether it still stands.
"Recall is a starting point for a check, not a substitute for one." — the design rule AMB is built on. Recalled memory is evidence to verify, not truth to obey.

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

    Store is empty. Nothing is here until you store it — AMB captures nothing on its own.

    It keeps the explicit decisions you tell it to keep — and it runs on your machine.