Individual memory and shared memory
| Individual memory | Shared organization memory | |
|---|---|---|
| Examples | Claude Code auto memory, Codex memories, claude-mem | Glen |
| Who writes it | One person's agent | Every teammate's agents, plus connected tools |
| Who recalls it | That same agent on that machine | Any teammate's agent, filtered by permission |
| Survives a new laptop | No | Yes |
| Crosses agent brands | No | Yes |
| Privacy model | Private by default | Searchable across the org, with an incognito mode |
Individual memory is a good fit for personal preferences: your editor habits, the way you like commit messages. It breaks down as soon as two people work in the same code, because what one person's agent learned helps nobody else.
Multi-agent teams
Few teams standardize on one agent. One engineer lives in Claude Code, another in Codex, a third tries Cursor or Grok Build for a week. Without a shared store each agent is an island, and switching tools means starting from zero.
- A bug traced in a Codex session on Monday is recalled when someone opens the same file in Claude Code on Thursday.
- In Cursor, where hooks can't inject context, the agent runs
glen searchand gets the same memory with citations. - Mid-task,
glen takeover <code>moves a live session to a different agent with its full history, so one agent can pick up where another stopped.
Access control in a shared store
A shared memory is only safe if it respects the permissions of the systems it reads from. Glen runs access checks per memory at recall time: an agent surfaces a memory only if its user is already cleared to see the source. Over MCP, organization membership is rechecked on every request. Slack ingestion is limited to public channels, and Glen never returns another organization's data.
| Mode | Recalls team memory | Records to team memory |
|---|---|---|
glen on | Yes | Yes |
glen incognito | Yes | No |
glen silent | No | Yes |
glen off | No | No |
Modes apply account-wide, across every agent. On macOS a menu bar indicator shows which one is on.
What shared memory doesn't replace
Rules that must apply on every task still belong in AGENTS.md or CLAUDE.md, because they load without anyone searching. Shared memory is for the context behind the work. When a recalled decision turns out to be a standing rule, move it into the repo file. The setup guide covers inviting the team.
Frequently asked questions
What is shared memory for AI agents?
A single memory store that multiple agents, run by multiple people, write to and read from. It lets one session recall what a different person's session worked out.
Can Claude Code and Codex share memory?
Their built-in memories don't. With Glen installed in both, they record into and recall from the same organization memory.
Will teammates see my agent sessions?
Recorded sessions are searchable across your organization. Use glen incognito to keep a session out of team memory while still getting recall.
Does shared memory include private Slack messages?
No. Glen reads public Slack channels only, never DMs or private channels.