Shared Project Memory for Multi-Agent Coding

Record a decision once. Let every coding agent find it.
Ask Claude Code or Codex to record the decisions you approve in MemoryLake. Every connected agent can search them in its next session.

Claude Code · api
> add rate-limit errors↳ search MemoryLake: problem+json
Codex · web
> show API errors on signup↳ search MemoryLake: problem+json
Claude Code · infra
> add the error proxy↳ search MemoryLake: problem+json
MemoryLake
Team workspace Memories
Recorded decisionAPI errors return problem+json with type, title and detail.
Change historyAdded · Nov 12, 2026, 10:24
Every connected agent searches the same MemoryLake workspace. You keep its decisions accurate in one place.

How to share a decision across parallel coding agents

Use case demo

You run Claude Code in the api repo and Codex in the web repo. In the api session you settle on problem+json for every error. Ask Claude Code to record that decision in MemoryLake, then start a fresh Codex session and check that it finds the decision when it searches.

01Ask Claude Code to record it

Claude Code api session

Record this in MemoryLake: API errors return problem+json with type, title and detail.

↳ POST /memories/facts · 200

ClaudeRecorded to Team decisions.

Give Claude Code the AI-ready prompt from your workspace’s API tab and keep your key in an environment variable. It can then record the decisions you approve through the MemoryLake API.

02Check it in Memories

Team workspace Memories

API errors return problem+json with type, title and detail.

Change history

Added · Nov 12, 2026, 10:24

Open Memories and select the fact to confirm its wording before other agents rely on it. Change history shows when it was added and every edit since.

03Search from a fresh session

Codex web · new session

Show the API error message on the signup form.

CodexI’ll read detail from the problem+json response.

Search result from MemoryLake

API errors return problem+json with type, title and detail.

Your AGENTS.md tells Codex to search MemoryLake before it starts, so the new session follows the decision without you repeating it.

04Change it in MemoryLake

Team workspace Memories

Editing the API error memory

API errors return problem+json with type, title, detail and code.

Save
When the decision changes, edit the fact in MemoryLake. The next search from any agent returns the new wording. If a new note contradicts it, the pair appears under Conflicts for you to choose.

Why keep shared decisions in MemoryLake?

Record a decision once

Ask your agent to record it through the MemoryLake API, or add it in the Playground. Every connected agent can then search it.

Search from any agent

Claude Code, Codex, Cursor and VS Code search the same workspace over MCP.

Correct it in one place

Edit a fact or resolve a conflict once. Every agent searches the version you approved.

See how it changed

Each fact shows when it was added and every edit since.

Connect your first two agents.

Record one decision, connect two agents and check that both find it.

  1. Step 1

    Let agents record decisions

    Create your free account and an API key under API Keys. Copy the AI-ready prompt from your workspace’s API tab.

  2. Step 2

    Connect two agents

    Add MemoryLake’s MCP server to Claude Code and Codex. When asked to authorize, choose the same workspace for both.

  3. Step 3

    Record one, then test

    Add the instructions below to CLAUDE.md or AGENTS.md. Record a decision in one agent, then ask the other about that area in a new session.

claude mcp add --transport http --scope user memorylake https://app.memorylake.ai/memorylake/mcp/v2

Then run /mcp in a Claude Code session to sign in, and confirm with claude mcp list.

Agent instructions · CLAUDE.md or AGENTS.md
## Shared decisions (MemoryLake)
- Before starting a task, search MemoryLake for decisions about the area you're changing.
- If a decision you find conflicts with this repo, ask me before following either one.
- When we agree on something other repos will need, confirm the wording with me, then record it with the MemoryLake API. The key is in $MEMORYLAKE_API_KEY.
- Before we end a session, list the decisions worth recording.
- Never include secrets, tokens or local ports in a decision.

[Paste the AI-ready prompt from your workspace's API tab here.]

Keep your key out of the repo: run export MEMORYLAKE_API_KEY=sk-… in the shell you start your agents from.

Already using MemoryLake with one agent? Connect a second agent to the same workspace and add the instructions above. Then ask it about a decision the first agent recorded.

How to Fix Common Shared-Memory Problems with MemoryLake

Use MemoryLake to check what was recorded, where it came from and what your agents can find when they search.

ProblemWhat to checkHow MemoryLake helps
A new session ignores a decisionIs the agent connected to the right workspace? Do its instructions tell it to search first?Find the fact in Memories, add the search instruction and retest in a fresh session.
Two notes say different thingsWhich one matches the latest agreement?Review the pair under Conflicts and choose which fact applies.
An agent follows an old conventionWas the decision updated after it changed?Edit the fact once in Memories. The next search from any agent returns the new wording.
Teammates’ agents find different decisionsAre they authorized for the same workspace?Share the workspace with your team and set each member’s role for its projects.

Frequently asked questions

How do decisions get into MemoryLake?

Ask your agent to record them through the MemoryLake API, tell the Playground to remember them, or add a Markdown note to your project. Your connected agents then find them when they search. If you use OpenClaw, the MemoryLake plugin captures memories from each conversation automatically.

Which agents can connect, and do I need an API key?

Claude Code, Codex CLI, Cursor, VS Code, Claude Desktop and any MCP client that supports remote servers with OAuth. Searching over MCP needs no API key: you authorize in your browser. To let an agent record decisions through the MemoryLake API, create a key and keep it in an environment variable, not in your repo.

Who can see our team’s decisions?

Only the people you give access to. Team workspaces use Owner, Admin and Member roles, and you can create custom roles scoped to a workspace or a single project, such as a curator who can resolve conflicts but can’t invite members. Each agent reaches only the workspace you choose when you authorize it.

How is our data stored and protected?

Data is encrypted at rest with AES-256 and in transit with TLS 1.3, with keys held in hardware security modules and rotated regularly. MemoryLake is audited for SOC 2 Type 2, certified for ISO 27001 and complies with GDPR. Enterprise customers can also set data residency and use end-to-end encryption. See Security.

Can MemoryLake edit Claude Code’s or ChatGPT’s own memory?

MemoryLake manages the memories in your MemoryLake workspace. A client’s built-in memory stays in that client’s own settings.

Does it work alongside CLAUDE.md, AGENTS.md and git worktrees?

Yes. Keep repo-specific rules in your instruction files and run agents in their own worktrees. MemoryLake holds the decisions that apply across repos and tools.

What does it cost?

The Free plan includes 300,000 tokens a month. See pricing for paid plans.