Zed memory: instructions, threads, and the end of the thread
Zed’s agent is fast and careful with context, and its memory is exactly as deep as the instructions you give it plus the thread you are in.
Zed Industries. Sources checked 2026-09-25.
How Zed handles memory today
Zed documents agent instructions as always-on context, with personal instructions in the config directory and project instructions from the first matched file among .rules, .cursorrules, .windsurfrules, .clinerules, .github/copilot-instructions.md, AGENT.md, AGENTS.md, CLAUDE.md, and GEMINI.md.
Zed also supports MCP context servers, which is how a durable, cross-tool vault connects to the agent panel.
What Zed forgets
Instructions carry what to do. Threads carry what happened. Only one of them persists.
- Thread history when you move on. A new thread starts from instruction files, so the discussion that produced the code is not in the room.
- Cross-tool continuity. Zed instructions are read-only files, and nothing Zed learns flows to another assistant.
- Reasoning behind conventions. The .rules file states the standard; it does not carry the incident that set it.
- Anything decided in the middle of a long thread once it is compacted or abandoned.
The fix with MemoryRouter
Add MemoryRouter as a remote context server and Zed’s agent gains recall and store tools backed by your vault.
- 1
Add the context server to settings.json
Zed settings.json
{ "context_servers": { "memoryrouter": { "url": "https://mcp.memoryrouter.ai/mcp" } } } - 2
Authenticate
Open Settings, then AI, then MCP Servers. Confirm memoryrouter shows a green status dot, and finish the OAuth sign-in Zed opens.
- 3
Name the server in the prompt
Mentioning memoryrouter in a prompt makes the model more likely to call the right tool, the same way naming a file gets it read.
Settings block, sign-in steps, and verification on the Zed page. 14-day free trial.
Related
Full Zed guide
Settings block, sign-in steps, and verification on the Zed page. 14-day free trial.
Cursor memory
Connect the vault as a remote MCP server so new chats open with project decisions.
Continue memory
Rules for behavior plus a shared vault over MCP for agent sessions.
Aider memory
Drop-in OpenAI-compatible endpoint that recalls and stores automatically.
Zed memory FAQ
Sources
Sources checked 2026-09-25. Tool behavior changes; check the vendor docs before relying on a detail.