Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

About

Git-verified memory and intent review for AI coding agents. Anchors invariants, decisions, and proofs to code via tree-sitter and blocks changes when code and memory drift. MCP server for Claude Code, Codex & more.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

44 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,678 Commits

Folders and files

Repository files navigation

Agents Remember

Git-verified records for what your coding agents know. A control plane for what they do.

Version of the package on PyPI Python version that the package requires License of the repository

A coding agent fixes the bug it was shown and misses the other places that hold the same rule, because a search sees only the path it follows. Agents Remember gives the repository a memory in a Git repository of its own: a note at the path of each file, records that tie each rule to all the code that expresses it, and agents in separate roles that let a change land only when code and memory agree. It is for developers and teams who work with coding agents on codebases too large for one context window.

Play the explainer video. Its frame shows three rules that lead to six places in the code and four tests.

The explainer video: 2 min 34 s, with music, no narration.

What goes wrong without it

An agent knows the files it opened, and the rule it breaks can stand in a file it never opened.

Code that belongs together often lies in different folders, under different names, written months apart. An agent that searches from the top of the tree opens some paths and never sees the others. It fixes one place, the tests pass, and three other places still break the same rule.

The rules that make an edit safe are not in the file the agent edits. An instruction file at the top of the repository is read at the start of a session. It is not at hand later, at the moment the agent decides how to change one file deep in the tree.

What Agents Remember does

Agents Remember records the rules of the code where an agent finds them, checks the records against the code, and runs every change as a task that brings code and memory forward together.

Everything in this section is in the product today, and one result is open to read: Agents Remember is developed with Agents Remember, and the memory repository of this repository is public at Foxfire1st/ar-agents-remember. Its folder onboarding/ holds the cards of this repository's files.

  • A card at the path of the file. The memory repository holds a card for a source file at the file's own path. An agent that holds a file reaches its card without a search and without a ranking.
  • Rules with all their places. A knowledge record states one rule, called an invariant, and cards name the code that realizes it and the tests that prove it. From one file an agent reaches the rule, and from the rule every other place that holds it.
  • Checked against the code. Each card anchors its statements to lines and symbols of the code. A check finds every anchor whose code has changed, and a task neither closes out nor lands with memory that holds a stale anchor.

The Knowledge page of the dashboard for the file textkit/slug.py: the card with its purpose and its commentary on the code, and one invariant that the file realizes, marked current.
The Knowledge page of the dashboard for one file: its card and, under it, the rule that the file realizes.

  • Roles with separate duties. An Architect writes the requirement with you, a Worker builds the change, a Reviewer judges it, and a Curator records what the change means for the memory. Each role is filled by a role agent that the host, Paseo, runs in a harness such as Claude Code or Codex.
  • Memory that lands with the code. The memory is a Git repository of its own, outside the code repository, and a task works in a code worktree and a memory worktree side by side. Closeout commits both, after the knowledge gate has compared the changed code with the changed memory, and the gate has no waiver.

The page of a task in the dashboard: the task's name and state, its requirement, the state of its intent review, its objective, and three steps of which two are done.
The page of a task: what the task is to reach, the state of its review, and its steps, two of three done.

  • The intent review. The intent review of a task compares the code and the memory before and after the change and shows the change by the rules it touches: the invariants and families that 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, an explainer agent answers, and nothing starts on a new task until its task document records your go.

The intent review of the same task: the change set with one added invariant, the function that realizes it, the two tests that prove it, and the statement of the invariant.
The intent review of that task: the rule that the change added, the code that realizes it, the two tests that prove it, and the rule's statement.

There is more: decision records that keep each rejected or deferred alternative with its reason and the condition under which to reconsider it, the tabs of the dashboard, the repository's own instructions in the folder system/, and a benchmark runner with one case in this repository. Features gives the tour, and The review page and the explainer is the guide to the intent review.

Try it

Four steps lead from the install of the package to the dashboard in your browser. You need:

  • A Linux x86_64 machine. WSL 2 on Windows counts as Linux.
  • uv and Git. uv supplies Python 3.14 during installation.
  • One harness, installed and logged in: Claude Code, Codex, Hermes or Pi. The host starts role agents with it.
  • Network access during the setup, and the free ports 8765 and 8766 on the loopback address.

Docker is not needed. Getting started gives the details.

Install steps

Getting started tells these four steps in full. The page Install links the page of each harness, which shows what AR's own seats need there. Agents Remember registers no tool server in a harness: every seat is started with its own bound server.

  1. Install the package. Install the published package with one command:

    uv tool install --managed-python --python 3.14 agents-remember-mcp

    Getting started also tells how to build and install the package from a checkout of this repository.

  2. Write the settings file. Create ~/.config/agents-remember/agents-remember-settings.json, the settings file. It names the workspace root, the coordination root and your code repositories:

    {
      "coordinationRoot": "/home/<you>/projects/ar-coordination",
      "workspaceRoot": "/home/<you>/projects",
      "repositories": { "my-repo": {} }
    }
  3. Start the dashboard. Run agents-remember dashboard and open the address it prints, by default http://127.0.0.1:8765/.

  4. Start Bootstrap from the dashboard. On the tab "Chats", choose the role Bootstrap in the role launcher and press "Start". The start creates the coordination root, installs and starts the host, and starts one role agent in the role Bootstrap. Continue the setup in that agent's chat below the launcher.

From there Getting started goes on with the setup of a repository and the first task. The Host gives the commands that start, check and stop the dashboard and the host.

Documentation

The documentation is in docs/, and the documentation site shows that folder as it is on the branch main.

  • Getting started: the install steps in full, the setup of a repository and the first task.
  • Concepts defines every term, and Features tours the product part by part.
  • Roles and role agents and Workflows: who does what, and how a request becomes a landed change.
  • The Host describes the commands, the ports and an update of the install, and The Dashboard describes every tab.
  • The index links every page, among them the guides, the reference and the FAQ.
  • llms.txt is the summary of the site for machine readers.

Status

The version of the package in this repository is 3.3.0. It requires Python 3.14.

Agents Remember is under active development. The contracts of the stability promise below change only with a major version. Everything else may change between versions, so read the notes of a version in GitHub Releases before you install it. Each harness page says what was verified on an installed version of the harness and what is taken from the vendor's documentation.

The stability promise

Following semantic versioning from 1.0.0, these public contracts will not change without a major version bump: skill IDs (e.g. the l-01-agent-lifecycles skill), MCP tool names and their inputs/outputs, the layout of the coordination root and of the memory repositories under memory-repos/ar-<id>/, and the settings schema. Internal modules and prompt wording are not part of this promise and may change in minor releases.

Where it is heading

The model that Agents Remember applies to code can be adapted to other subjects, and three directions lie beyond code: research, model weights and organisations. The product does none of the three today. The Roadmap gives one picture for each direction, names the part of today's product that it builds on, and lists the nearer directions for code. It holds directions and ideas, not commitments.

Contributing

Contributing to Agents Remember describes the development setup, the checks and the rules for a change. The code of conduct and the security policy apply. The license is MIT.

About

Git-verified memory and intent review for AI coding agents. Anchors invariants, decisions, and proofs to code via tree-sitter and blocks changes when code and memory drift. MCP server for Claude Code, Codex & more.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

44 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages