Agent Cowork Memory

Official registry Developer tools

Shared memory and delegation for Codex, Cursor, Claude Code, and OpenCode.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package agent-cowork-memory
Claude Code
claude mcp add agent-cowork-memory -- npx -y agent-cowork-memory@0.3.1 mcp
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "agent-cowork-memory": {
            "command": "npx",
            "args": [
                "-y",
                "agent-cowork-memory@0.3.1",
                "mcp"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Agent Cowork Memory (ACM)
  2. Demo
  3. Install
  4. Use
  5. Benchmark
  6. MCP tools
  7. CLI

Agent Cowork Memory (ACM)

 █████╗  ██████╗███╗   ███╗
██╔══██╗██╔════╝████╗ ████║
███████║██║     ██╔████╔██║
██╔══██║██║     ██║╚██╔╝██║
██║  ██║╚██████╗██║ ╚═╝ ██║
╚═╝  ╚═╝ ╚═════╝╚═╝     ╚═╝

Hit your Codex limit mid-task? Open Cursor, say "continue from Codex", and keep going. ACM gives Codex, Claude Code, Cursor, and OpenCode one shared memory, so you never paste context again, and any agent can put the others to work.

Verified by benchmark: on 38 held-out tasks, a new chat continuing with ACM finished 223 of 228 runs, against 130 with a pasted summary.

Codex · Claude Code · Cursor · OpenCode

Demo

More demos on the ACM official site

Install

With Node 24 or newer:

npx agent-cowork-memory setup

Setup adds ACM to Cursor, and to Codex, Claude Code, and OpenCode when they are installed; Installed one later? Run setup again. Restart your agents, and ACM is available in every project.

Tested for real on Linux and WSL. macOS and Windows pass CI; real runs welcome.

Use

Memory Sharing

Open the same project in Codex and Cursor. To pick up a chat in the other agent, ask:

Use ACM to continue from Cursor.

Or, in Cursor:

Use ACM to continue from Codex.

Every agent can see every chat in the project. If there is more than one, the agent lists them (agent, time, thread, first message, and whether ACM started it for a delegated job) and asks you which one to continue. You can also name it:

Use ACM to continue the Codex chat about the trip.

Related work goes together in a thread: continuing a chat, or delegating from it, keeps the work on one thread, and a new chat can join one of the project's open threads. ACM keeps each thread's timeline as things happen (chats joining, jobs starting and finishing, notes added), so any agent can see where the work stands.

Ask your agent to remember a decision, and every agent in the project sees it. Notes stay true.

Delegate to other agents

Any agent can hand work to the others:

Tell codex to write plan.md, and claude to write packing.md.

Each agent gets a brief, joins the thread it was sent from, claims the files it edits so they don't collide, and reports back. Agents run in the background. With herdr installed, each one gets its own pane you can watch (herdr session attach acm).

Benchmark

What it evaluates

  • How much of earlier chats' context survives when a new chat continues the work.
  • Each task is a small Python repo in two steps: earlier chats do step 1 and leave step 2's details in the chat.
  • The details sit in one short or long chat, spread over two chats, changed later, corrected mid-chat, or against a README that still says the old thing.
  • A run counts only if every hidden check passes, existing tests still pass, and no old or replaced value is implemented.

What we tested

  • Codex (gpt-6-luna, medium effort) continuing the work five ways:
    • no ACM;
    • ACM ("Use ACM to continue from my last Codex chat…");
    • the summary the earlier chat writes when asked;
    • a careful handoff note;
    • every earlier chat pasted in.
  • 38 held-out tasks, written, and the analysis fixed, before any run.
  • Two independent histories, 3 runs per way each.
No ACMACMSummary pastedHandoff note pastedFull history pasted
Finished0/76223/228130/228214/228222/228
Implemented an old value13/760/2287/2280/2280/228
What you type or paste80 chars957532,7401,940

Result

  • ACM loses far less context than a pasted summary: it finished 41 points more often (p < 0.001). It was ahead on 29 of 38 tasks and behind on none.
  • It matches pasting the whole history and a careful note pasted in full, from one sentence, with nothing to find or copy.
  • On the 60 development tasks the same holds: ACM finished 176/180 runs, the summary 124/180.
  • Limits: the tasks are built so the details live in earlier chats; one agent, one model.
npm run bench        # offline checks, free
npm run bench:live   # the live benchmark; spends your Codex quota

MCP tools

ToolWhat it does
contextYour thread and its timeline, the project's notes (after the first call, only what's new), open threads, recent jobs, who is working, and held files. Pass hold to claim files before writing, thread to join one, done to close yours. stale lists notes whose files changed, to re-check.
note_addSaves a note every agent sees, and shows notes it may contradict. tier: short (default, kept 7 days) or long; supersedes: the note it replaces.
note_searchFinds notes and delegated jobs' results.
chatsLists recent chats from every agent in the project, and marks the ones ACM started.
resumeAsks you which chat to continue when there are several, then reads it, with what you said in its thread's other chats, and joins its thread.
delegateStarts other agents with a brief, in herdr panes or in the background, and waits for them.
delegate_waitKeeps waiting on this chat's delegated agents.

ACM tells which chat it is in on its own; no tool needs a session or, from the project folder, a path (every tool takes an optional repo_path).

CLI

CommandWhat it does
acm setupAdds ACM to your agents.
acm mcp --harness <agent>Runs the MCP server; agents start it themselves.
acm status [--repo <dir>] [--chat <id>] [--harness <agent>]The project's jobs, held files, and a chat's thread, as JSON.
acm doctorChecks the install: Node, the database, herdr, and which agents are on PATH.
acm backup [--to <file>]Copies the database.

--home <dir> (or ACM_HOME) moves ACM's state folder from ~/.agent-cowork-memory. Run them with npx -y agent-cowork-memory <command>, or acm once it's installed globally.

Frequently asked questions

What is Agent Cowork Memory?

Shared memory and delegation for Codex, Cursor, Claude Code, and OpenCode.

How do I install Agent Cowork Memory?

It runs on your machine. In Claude Code: claude mcp add agent-cowork-memory -- npx -y agent-cowork-memory@0.3.1 mcp. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Agent Cowork Memory need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is Agent Cowork Memory open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Agent Cowork Memory?

It is published by rxthlessbeats. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.