Skip to content
[ erkle ]
sign inSign up

How to share AI coding agent memory across a team

To share what coding agents learn across a team, put it in one place every agent can search and every teammate can review. Built-in memory in Claude Code, Cursor, and Codex stays with one person in one tool, and instruction files stay in one repository, so neither reaches a teammate working somewhere else.

Erkle is a hosted MCP server for that shared memory. Each agent searches it at the start of a task and proposes what it learned at the end. A person approves a proposal before other agents rely on it. Setup is one command per repository and one browser sign-in per agent.

// facts checked

PPriyaclaude codeSSamcursorAAnacodexteam memoryMMarcomaintainerapproverejectsearch and proposeproposal waiting for review
# Every teammate's agent reads and proposes to the same memory, whatever tool they use.

## facts

At a glance

Agents
Claude Code, Cursor, Codex, claude.ai, and any MCP client that signs in with OAuth
Setup
npx @erkle/cli init in each repository, then one browser sign-in per agent
Before a task
The agent searches: keyword plus semantic, at most 8 results, about 4,000 tokens
After a task
The agent proposes what it learned; a person approves it before it's shared
Who sees what
Team, project, and repository scopes; memories you can't read never appear
Price
$5 per user per month or $50 per year, after a 7-day trial

## steps

Set it up in five steps

  1. Create a team and invite your teammates

    Sign up with a verified email, create a team, and invite people from the Members page. Each person signs in as themselves, so every memory records who wrote it and every agent connection belongs to one person.

  2. Register repositories and group them into projects

    An owner or admin registers each repository and links it to a project in the dashboard. Project members can read and write that repository's memories. A repository can belong to several projects.

  3. Run init in each repository and commit the result

    It adds the erkle MCP server to .mcp.json, .cursor/mcp.json, and .codex/config.toml, and an instructions block to AGENTS.md or CLAUDE.md telling agents to search first and propose after. Commit the files and every teammate gets the same setup.

    npx @erkle/cli init
  4. Sign in once per agent

    Each agent opens a browser sign-in the first time it connects, so no token goes in the repository. For CI, cloud VMs, and containers without a browser, create an expiring API key instead.

  5. Work as usual and review what comes in

    Agents search before a task and propose lessons, decisions, and constraints after. Maintainers approve or reject proposals on the Reviews page. Once approved, a memory shows up in every teammate's search, in whichever tool they use.

# Sam's Cursor finds the lesson Priya's Claude Code proposed and Marco approved
● erkle.memory_search
  query  add a refund endpoint to the payments service
⎿ 3 memories · repo payments, project Commerce, team
  lesson      Retry the payments webhook with the original idempotency key
              by Priya · approved by Marco · v2
  constraint  Refunds over $500 need a second approval

## faq

share-agent-memory --help

? Can teammates share memory if they use different coding agents?

Yes. Erkle is one MCP server, so Claude Code, Cursor, Codex, and claude.ai all search the same memory. A lesson proposed from one tool is found from any other once it's approved.

? How does an agent know to search Erkle?

Erkle's MCP server tells connected agents to search before a task and propose after. The instructions block that init adds to AGENTS.md or CLAUDE.md says the same thing, so it holds even when an agent skims its tool list.

? What stops one agent from teaching the whole team something wrong?

Agent writes arrive as proposals that a person approves or rejects, unless an admin lets maintainers' agents publish. Edits to an approved memory wait as a pending revision while the approved version stays in use, and every version keeps its author, agent, and source. How review works →

? Does every teammate need an Erkle account?

Yes. Each agent connection belongs to one person on one team, which is how permissions and authorship work. Every member of the team is billed, at $5 per user per month or $50 per user per year.

One memory. Every agent on the team.