Shared Memory for Your AI Coder and AI Reviewer

Your reviewer sees the diff. It also needs to know how the decision was made.
MemoryLake gives your coder and reviewer agents the same decisions, each traced to where it was made.

Reviewer agent This diff retries every 2 seconds. It breaks the sprint decision.
MemoryLakePayments Service Demo
Saved decision Exponential backoff, max 5 retries. Decided in sprint review: the provider rate-limits at 10 req/s.
MD sprint-review-notes.md
The reviewer reads how the decision was made, then flags the diff that breaks it.

How to set up a coder agent and a reviewer agent on one memory

Use case demo

A team runs one AI agent to write code and a second agent to review it. In sprint review they decided payment webhooks retry with exponential backoff, at most five times, because the provider rate-limits. Here is how the reviewer learns that decision, and why it was made, without reading the coder’s chat.

01Connect both agents

Both agents MCP setup

Coder agent · MCP server URL

https://app.memorylake.ai/memorylake/mcp/v2

Reviewer agent · MCP server URL

https://app.memorylake.ai/memorylake/mcp/v2

Add the same MemoryLake MCP server to each agent, then sign in from each one. On the consent screen, pick the same workspace and memory boundary for both.

02MemoryLake saves the decision

Payments project Memories

Extracted from sprint-review-notes.md

Payment webhooks retry with exponential backoff, at most 5 attempts.

MemoryLake Source Trace · Sprint review

“We agreed to cap retries at 5. The provider rate-limits at 10 requests per second.”

Add your sprint or design notes to the project, or talk it through in the Playground. MemoryLake extracts each decision and its reason on its own, with a Source Trace to where it was decided.

03Coder reads before it writes

Coder agent Instructions

Instruction for the coder

Before changing a module, search MemoryLake for decisions about it and follow them.

search_memory · webhook retries

Payment webhooks retry with exponential backoff, at most 5 attempts.

The coder calls search_memory, finds the retry rule, and writes the handler to match it.

04Reviewer checks the reason

Reviewer agent ReviewExample review

Review the diff in webhooks/retry.ts.

Searched MemoryLake · 1 memory

Payment webhooks retry with exponential backoff, at most 5 attempts.

Payments project sprint-review-notes.md

Open in MemoryLake

This diff retries every 2 seconds. The saved decision says exponential backoff, at most 5 attempts.MemoryLake

In the reviewer’s instructions, tell it to look up the decision behind each changed area, flag code that contradicts it, and skip choices a decision already explains.
Set Up Shared Memory

Free to start · Works with any MCP-compatible agent

Why share the reason through MemoryLake?

Review the real reason

The saved decision and its source show why the code looks this way, so the reviewer stops flagging deliberate choices as bugs.

Keep an outside view

The reviewer reads saved decisions, not the coder’s chat. It gets the facts without the coder’s justifications, so it stays an outside voice.

Protect the record

MCP tools only read and analyze. Changing a saved decision takes a person with edit permission, so no agent rewrites the record to fit its code.

Settle a changed decision

When a new decision contradicts an old one, MemoryLake raises a conflict. A person picks which fact applies, and both agents retrieve it.

Try your first shared decision in the Playground.

Start with one decision and its reason, then check that both come back in a fresh chat.

  1. Step 1

    Open the Playground

    Create your free account and open the Playground in your MemoryLake workspace.

  2. Step 2

    Save a decision with its reason

    Say “Remember that payment webhooks retry with exponential backoff, at most 5 attempts, because the provider rate-limits at 10 requests per second.” Open Memories to inspect the saved fact.

  3. Step 3

    Ask from a fresh chat

    In a new chat, ask “How do payment webhooks retry, and why?” Check that the reply includes the reason, not only the rule.

Already have a workspace? Open your workspace, then connect both agents to the same project as shown in step 01 above.

Coder–Reviewer Workflow: Before and After MemoryLake

What changes when your coder and reviewer share decisions and the reasons behind them.

Coder–reviewer workflowBefore MemoryLakeWith MemoryLake
Reviewer contextSees only the diffSees the decision and why it was made
Deliberate choicesFlagged as bugsExplained by a saved decision
Earlier decisionsForgotten between sessionsRetrieved before the coder writes
Decision historyLost in old chatsTraced to where it was decided
Changed decisionsOld and new rules both usedConflict raised; a person picks one
Edits to the recordRationale rewritten to fit the codeAgents read only; people approve edits

Frequently asked questions

Can the coder or the reviewer write memories directly?

Not over MCP. MemoryLake’s MCP tools read and analyze; they don’t modify or delete memories. MemoryLake extracts decisions on its own from the notes, documents, and Playground chats you add to the project, or you can send them through the API. That keeps write access away from the agents doing the work.

Can I give the coder and the reviewer different permissions?

Permissions belong to team members, not to individual MCP connections. An API key inherits the permissions of the member who created it. If you script memory writes through the API, create the key under a member whose role can add memories but can’t edit, delete, or resolve conflicts.

Why not just let the reviewer read the coder’s conversation?

A transcript carries the coder’s reasoning and self-justification, which pulls the reviewer toward agreeing. Saved decisions with sources give the reviewer the facts it needs while its judgment stays its own.

Which agents can take the coder and reviewer roles?

Any MCP-compatible client can take either role. The coder and the reviewer can be two different tools or two separate sessions of the same tool, as long as both connect to the same workspace and memory boundary. The same setup works when a lead agent writes the plan and subagents carry it out: each one reads the same saved decisions. For a Codex and Claude Code setup with exact commands, see Share Memory Between Codex and Claude Code.

How do I see what changed in a decision?

Open the fact under Memories and check its Source Trace. For the full record, the fact change history lists each add, update, and forget with the old and new wording. Forgetting a fact does not erase its history.

What if the reviewer retrieves a different decision than the coder?

Check that both clients were authorized to the same workspace and memory boundary. Then ask both the same question in a fresh session and compare which record each one retrieved.