Repository navigation
Agents Remember MCP 3.0.0
Agents Remember 3.0.0
The first stable release since 2.9.3. Agents Remember gives a coding agent a memory of a code
repository that the agent can check against the code: a card at the path of each file, records that
tie each rule to every place it lives, and role agents that let a change land only when code and
memory agree.
3.0.0 closes the release-candidate line. It replaces 3.0.0rc1 through 3.0.0rc8.
What you need
- A Linux x86_64 machine. WSL 2 on Windows counts as Linux. The package declares Linux and
macOS as its platforms. The host, which runs the role agents, supports Linux x86_64 only: on
another platform the setup refuses at the host stage and no role agent starts. - Python 3.14 (
>=3.14,<3.15). The 2.9 line accepted Python 3.11 and later; the 3.0 line does
not. - uv and Git.
- One harness: Claude Code, Codex, Cursor, Hermes, OpenClaw or Pi.
- Two free loopback ports,
8765and8766, for the dashboard and the host.
Docker is not needed.
Install
uv tool install --python 3.14 agents-remember-mcpThen write the tool server's settings file,
~/.config/agents-remember/agents-remember-settings.json. It names the coordination root, the
workspace root and your code repositories. Register the command agents-remember-mcp in your
harness with --config and the full path of that file, restart the harness, and ask the agent for
one call:
role_start(role="bootstrap", request_id="<a new UUID>")
The call creates the coordination root, installs and starts the host, starts the dashboard and
starts one role agent in the role Bootstrap. The dashboard answers at http://127.0.0.1:8765/, and
the setup continues in the chat of that role agent.
Memory as text in Git
The durable memory of record is Markdown, JSON and Git history: cards at paths derived from the
source paths, JSON sidecars holding the code references, realization claims and test proofs, and
shared knowledge records under knowledge/. Everything is versioned, diffable and reviewable.
<code-repository>/src/orchestrator/core_editor.py
<memory-root>/onboarding/src/orchestrator/core_editor.py.md
Because the path is the address, an agent that holds a file reaches its card without a search, and
the cost of reading memory is proportional to the files in a task's scope rather than to the size of
the repository.
The memory lives in a Git repository of its own. Each attributed memory commit names its code commit
in a Code-Commit: trailer, so the pairs of code and memory commits are derived from the commits
themselves; the memory.md table at the memory root is a computed, ignored view of that
attribution. Worktree start, closeout and landing take the mapping from the commits, and a task
whose base commit has no paired memory commit is refused rather than given whatever memory main
holds.
Rules with all their places
- An invariant states one rule. Its card entries name the code that realizes it and the tests
that prove it. A family groups the invariants that give one guarantee together, and a family
route keeps the index from one source path to the records that govern it. - A decision record keeps the alternatives that were rejected or deferred, each with its reason
and the condition under which it should be reconsidered. - An admission rule: a new invariant, family or decision record states an admission criterion
and justifies it in one sentence of words, and the validator refuses a new record without the two. - A per-task history records the Curator's judgments about what a task's changes mean for the
memory. The worklist and the exact-tree knowledge gate check that those judgments answer the
candidate's changes before anything is published.
Checks that measure staleness, and a gate with no waiver
Cards anchor their statements to exact lines and symbols of the code, and the tools answer
current, stale or unverifiable for every anchor, naming the reason. Stale knowledge stays
visible with its state; it never silently becomes current truth. A read reports where a record is
and carries no text, so the agent opens the named file itself.
Closeout compares the changed code with the changed memory before either commit, and no route
commits or lands memory that holds a stale anchor. Landing moves both branches only while each still
stands at the commit it read, and answers with the call to repeat when a branch moved in between.
The knowledge index is a disposable SQLite view derived from the memory text tree. It is rebuilt
when absent and evicted by age and size, and knowledge writers never write or merge it.
Roles, tasks and the host
Work on a repository is done by role agents in eight roles: Architect, Investigator,
Orchestrator, Manager, Worker, Reviewer, Curator and Bootstrap.
- You talk with the Architect, which writes the requirement packets and the task documents and
delegates the work. - A Manager coordinates one master, starting a Worker to build a task, a Reviewer when the
Worker freezes the change, and a Curator after the code review passes. - Only the Curator writes memory. The Worker writes code. The Manager performs closeout and
landing. - An Orchestrator coordinates a sprint when two or more masters run at the same time.
- A question for you travels up through the starting agents and arrives in the Architect's chat.
Every code change belongs to a task: a sub-task of a master, which is one of the sprint's
groups. Each holds a task document — JSON written by the tool task_doc, with a rendered Markdown
copy — carrying the objective, the requirement packets, the steps, the decisions and the review
rounds.
A task normally runs in an enclosure: one worktree of the code repository and one of the memory
repository, each on a private branch, so memory main stays untouched while work is in flight.
Direct execution is the alternative: with a grant, one task's agents work in the master's own
checkouts, and the tool direct_landing lands it with its memory.
The host runs the role agents. It is Paseo, installed at a pinned version and started by
Agents Remember; role_start starts a role agent, and role_message sends a message between them.
The user settings file ~/.config/agents-remember/settings.json records the harness of each role
and nothing else, so each role runs with the defaults of its harness; Bootstrap writes it when it
sets up a repository, and the harnesses reference describes what you can add to it.
The Intent review and the explainer
Before work starts on a new task, the Architect asks you once: "go, or review first?" The answer
is given in the Architect's chat; the dashboard has no control that records it. The task document
carries it in the field intentReview: while the state is pending or review-first, every start
of the task is refused with intent-review-open, and the refusal comes before anything is created —
no enclosure, no contract, no role agent. Go records go, and the task can start. Review
first keeps the task refused while you read its task document and its requirement packets; when
you agree, you tell the Architect, and it records go. A master has no intent review.
Once a task has started, the button "⇄ Intent review" on its page opens the review of the task's
change. A comparison is one recorded pair of states of the task in both repositories: the code
before and after, and the memory before and after. Each recorded comparison has a number, and the
page names it "Comparison #n". The page shows the change by the rules it touches: the invariants and
families the change added, changed or removed, the code and the proofs recorded for each, and the
changed files that no knowledge record covers.
You ask questions on the page. The first request creates the task's explainer, an agent that
answers with a chat reply or with a page of its own; each published page is a numbered revision. On
request the explainer grades the blocks of the change set and the page sorts by those grades. The
explainer changes no code, no memory and no task document.
Publishing a page needs a browser on your machine to load the explainer's draft, and an installation
of Agents Remember brings three things that load needs only in a checkout: the program node on the
search path, the Playwright module, and the browser that Playwright installs. On an installation
from the package, these commands give it the module and the browser, with <folder> a folder of
your choice:
npm install --prefix <folder> playwright
cd <folder> && npx playwright install chromium
export AR_PLAYWRIGHT=<folder>/node_modules/playwright/index.jsThe dashboard's server keeps the environment of its start, so start it from a shell that holds the
variable: agents-remember dashboard --stop, then agents-remember dashboard --daemon. Without
the module, without the browser or without node, the load answers the explainer unavailable
with the reason and nothing is published; the review page says nothing about it, and only the
explainer's answer in the chat tells you. Once the three are in place, the next request publishes.
The dashboard
agents-remember dashboard --daemon starts a local web page with four tabs:
- Chats: the role launcher and the chat of the host.
- Operations: the task list, the task document, and the event river or the chat of the selected
document. The review page opens inside this tab. - Knowledge: the reader of a repository's knowledge.
- File Viewer: a code file beside its card.
Beside the tabs stands the button "Tray (n)", where n is the number of picks in the tray; it is
not a tab. It collects picked lines and files and sends them to a chat, and the page writes the
place of the Knowledge page and of the review page into the address, so a view can be linked and
reloaded.
Repository-owned instructions
The memory repository carries a committed system/ folder with the repository's own instructions:
settings.json and settings.md, tools.md (the build, lint, type-check and test commands),
sources.md, coding-guidelines.md, design-guidelines.md, task-publication.md, the code-quality
report template and the skill-writing guidelines.
Every contributor who resolves that memory repository gets the same rules, and the tool server
serves the same role instructions to every harness, so the harness changes how the tool server is
registered — not what the repository asks of the agent.
Two of the files carry more than code rules. design-guidelines.md is the look of the user
interfaces; the starter ships three example files and Agents Remember prescribes no design of its
own. task-publication.md, when present, makes the Architect create a linked issue when it
registers a task; the Manager assigns the issue and sets it in progress before the task starts, and
closes it after the landing and the pushes. Without the file nothing is published.
Guardrails and extras
- The settings file lists the code repositories the tool server may work on; a call naming another
repository is refused. - Baseline adoption makes an existing memory repository the first attributed baseline, only on
an explicit call. - Branch memory carryover imports richer cards from a source branch only after the matching code
has landed. - Cross-repository context names another repository's code, and its memory when asked for, only
while that repository is on the branch the entry expects. - A benchmark runner prepares paired Codex runs with and without memory, captures their output
and summarizes metrics. - The documentation is a site:
docs/is published at
https://foxfire1st.github.io/agents-remember/, with a summary for machine readers at
https://foxfire1st.github.io/agents-remember/llms.txt. The README carries a short explainer video.
What changed since release candidate 8
- Shared knowledge records. The memory of record now holds shared knowledge records under
knowledge/, beside the cards and their JSON sidecars. All of it is text in Git, and the knowledge
index is a disposable SQLite view derived from the text tree. - Rules, families and decisions. Invariants, families with their routes, decision records with
the alternatives that were rejected, test proofs, admission criteria, a per-task knowledge
history, and the exact-tree knowledge gate. - The review page and the explainer, with the change shown by the rules it touches.
- The intent gate before work:
pending,review-firstandgoin the task document, and
every start of the task refused untilgo. - The dashboard's tabs are four now — Chats, Operations, Knowledge and File Viewer — with the
tray beside them. - The documentation was rewritten to describe the product as it is, with a page for each
harness, a guide to the review page and the explainer, and a roadmap. - Python 3.14: the package requires
>=3.14,<3.15; release candidate 8 required>=3.13,<3.14. - One call starts the setup, and the tool server serves the role instructions from its package.
- Task publication on GitHub through the repository's own
task-publication.md.
Breaking changes since 2.9
The documentation describes a new installation of 3.0.0.
- Python 3.14 is required; 2.9 accepted 3.11 and later. Upgrade the interpreter before the
package. - The former semantic and code-graph providers are retired; setup does not enable them. Docker
is not needed. - The release-candidate caveat is over. This is the final 3.0.0; the contracts listed under
Stability in the README — the skill IDs, the MCP tool names and their inputs and outputs, the
coordination-root and memory-repository layout, and the settings schema — are what the project
holds stable across this line.
The road to 3.0.0
The eight candidates, in one line: rc1 · rc2 · rc3 · rc4 · rc5 (published without a release page) · rc6 · rc7 · rc8.