The memory we recommend for your agents is Glen, shared memory for coding agents.Go to tryglen.com →
Setup2 min read

Glen, shared memory for coding agents

Set up memory your whole team's agents share

One person runs npx @tryglen/cli@latest install and signs in, which creates the organization. They invite teammates with glen invite <email>, and each teammate runs the same install command and joins. From then on every teammate's agents record into, and recall from, the same organization memory.

Get Glen for your agents
On this page
  1. Adding Glen to each kind of agent
  2. When the team grows
  3. Frequently asked questions

Shared memory gets useful the moment a second person records into it. So the order matters: set up the organization, invite people, then let each person add Glen to whatever agents they use.

  1. Install Glen and create the organization. Needs Node.js. The installer finds your coding agents, asks which ones get the plugin, and signs you in. The organization you create is where the team's memory will live.
    npx @tryglen/cli@latest install
  2. Invite your teammates. Send an invite to each person by email. Free covers up to 3 people, so a small team can try this without a card.
    glen invite teammate@example.com
  3. Each teammate installs and joins. They run the same install command on their machine and sign in to your organization. Their agents start recording into the shared organization from their next session.
    npx @tryglen/cli@latest install
  4. Everyone imports recent history. Each person backfills their own old local sessions, so the shared store starts with weeks of the team's work instead of nothing.
    glen import
  5. Search across the team. Ask about something a teammate worked on. The cited answer can draw on any session you are cleared to see.
    glen search "how did we fix the duplicate webhook deliveries"

Adding Glen to each kind of agent

How each teammate's agent gets the Glen plugin
AgentHow to add itDocs
Claude CodePicked in the installerClaude Code docs
CodexPicked in the installer; hooks go in ~/.codex/hooks.jsonCodex docs
CursorType /add-plugin in agent chat and add https://github.com/Glen-Web-App/glen-cursor-pluginCursor docs
Grok Buildglen install --agent grokGrok docs
Pipi install npm:@tryglen/piPi docs
Other MCP clientsAdd https://mcp.tryglen.com/mcpMCP docs

Grok Build here means xAI's coding CLI, grok. Glen does not connect to the grok.com chat app; Grok memory explains the difference.

When the team grows

Free stops at 3 people and 15,000 memories. Personal raises the memory limit to 250,000 and adds integrations; Team removes the limits. Integrations are how Slack, GitHub, tickets and call transcripts join the same memory as your agents' sessions.

Frequently asked questions

How do I add a teammate to Glen?

Run glen invite with their email address. They install the CLI with npx @tryglen/cli@latest install, sign in and join your organization.

Do all teammates need to use the same AI agent?

No. Each person adds Glen to the agents they use, and all of them share one organization memory.

How many people can use Glen for free?

Up to 3 people and 15,000 memories, with no credit card required.

More in this guide

Related guides on agent memory

Fix your agents’ amnesia.

Glen gives your agents the memory of every session your team has run. Start on your own or with up to two teammates. Your first 15,000 memories are free, no credit card.

Start free at tryglen.com