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
## facts
At a glance
- Agents
- Claude Code, Cursor, Codex, claude.ai, and any MCP client that signs in with OAuth
- Setup
npx @erkle/cli initin 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
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.
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.
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 initSign 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.
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.
● 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.
## more-guides
Write a rule once at the scope it's true for, and every agent in those repositories finds it.
A new teammate's agent searches what the team already approved, from the first task.
Proposals, a secret guard, versions, and permissions, so one agent's guess never becomes the team's rule.
Sign in from the terminal, approve on your phone, and give that machine's agents a scoped, expiring API key.
see also: Erkle vs. built-in agent memory · Erkle vs. CLAUDE.md