Project memory
Decisions and small memories shared by every agent in a project
该插件的概览尚未翻译为你的语言,因此以英文显示。
Project memory gives every agent in a project the same picture: what was decided and why, what's going on right now, and the traps to avoid. It works across providers, so Claude, Codex and Pi agents in the same project all see it.
How it works
When an agent's session opens, the plugin adds the project's memory to its system prompt and gives it three tools: project_memory_read, project_memory_save and project_memory_remove. Each save shows up in that agent's chat with Undo and Edit.
Setup
- Paseo 0.17.4 or newer, with plugins enabled.
- Codex agents need Codex 0.121 or newer.
What it holds
- Decisions: a choice you settled, with a one-line reason and optional details.
- Memories: small notes. Each one is a context fact, the status of unfinished work, or a gotcha an agent ran into.
- Rules (how to build, test, commit or deploy) don't go here. Agents add them to the project's
AGENTS.md, where every tool and teammate sees them. If the project has noAGENTS.md, agents are told to create one, plus aCLAUDE.mdthat imports it for Claude Code. That's the only change to your repo the plugin asks for, and it shows up like any other file change.
How agents use it
- When a session opens, the agent gets up to 3 recent status notes in full, a one-line index of the other memories, and the newest decisions with their reasons. A few older decisions follow by title only. Entries with more to read are marked "(+ details)", and the agent reads them with
project_memory_readbefore it works on their topic. - Notes and decisions can link each other with
[[id]]. Reading an entry also lists what it links to and what links to it. - Agents save decisions you settle (unless the project keeps its own decision records, then they write them there), facts they verified, the state of work they stop halfway, and gotchas they actually hit.
- Similar entries are caught before saving, so agents update a note instead of adding a second one.
- After a save, agents get short hints, for example when a description names a topic instead of stating the fact, or a link points to nothing. Hints never block a save.
- Subagents can read the memory but can't change it.
Staying small
- What's loaded every time is limited to 12 KB, and a project's memory files to 64 KB. Past that, saves that add more are refused until something is merged, shortened or removed.
- Status notes not updated for 7 days are marked "not confirmed" but still shown in full. After 30 days they're stale and only listed in the index. Context notes and gotchas not updated for 90 days are marked "not confirmed since" their month on their index line, but are never hidden. The panel lists all of these for review, and "Still true" keeps one current.
Panel
The Project memory panel shows memories by type and the decisions, with edit and delete, recent changes with Undo, and the budget.
Settings
- Save policy. Careful (default): agents save only the things listed above. Liberal: agents save anything they find useful.
- Turn off Claude Code's own memory. On by default. Claude agents that get project memory have Claude Code's auto-memory turned off, so the project keeps one memory that every provider sees. Claude Code run outside Paseo isn't affected.
- Give memory to background agents. On by default. Agents Paseo hides from the UI get memory too.
- Refresh open agents when memory changes. Off by default. See the limits below.
- Limit to some projects. Optional. A
rollout.jsonfile in the plugin's data folder can limit memory to listed projects or folders, which is useful for trying the plugin out first. Without it, every project gets memory. The plugin reads it at start, so reload the plugin after changing it. The README shows the format.
Data
- One folder per project in
plugin-data/project-memory/inside the Paseo home on the daemon machine (~/.paseounlessPASEO_HOMEis set):decisions.mdand one Markdown file per memory. All workspaces and worktrees of a project share the same folder. The plugin never writes to your repo itself, and you can edit the files by hand. - Memory is sent to the agent's provider as part of its system prompt and in tool results.
Limits
- ACP providers don't support added system instructions, so they only get the tools (tested with GitHub Copilot). Claude Code, Codex and Pi get both.
- Running agents see changes at their next session start. The refresh setting reopens idle agents right away instead. A reopen reloads the chat from the provider's history, so plugin rows such as the Undo rows disappear, and it can stop background work the provider doesn't report to Paseo, for example Claude Code subagents.
- "Open folder" runs on the daemon machine and doesn't work on Windows.
- Moving a non-git project folder starts a new memory, because the key includes the path.



