Shared memory for your team’s OpenAI Codex CLI
MemScope is a shared memory your team’s Codex CLI sessions read and write over a remote MCP server. Each person’s Codex recalls what other agents saved, limited to what that person is permitted to see.
The problem
Codex runs in a terminal, one session at a time. A session can spend an hour finding why an export misbehaves, and the finding stays in that terminal’s history.
An AGENTS.md in the repository carries conventions to every session, and everyone with the repository reads it. It is a poor fit for a finding meant for one team, and it only changes when somebody edits and commits it.
How MemScope fits
Codex adds MemScope with codex mcp add and signs in with codex mcp login. From then on a session can save a finding and later sessions, including teammates', can search for it, getting back what that person may read. AI suggests labels such as sensitivity and topic, but a deterministic policy decides access. Organization admins get no read bypass, MemScope staff see XXX unless the customer grants time-limited, audited support access, and every change is audited.
Install in OpenAI Codex CLI
Add it with the codex CLI, then log in.
Run in a terminal
codex mcp add memscope --url https://mcp.memscope.ai/mcp codex mcp login memscope
The login command opens the browser for you to sign in.
New to MemScope? Create an account at https://memscope.ai/signup, choose your organization and approve. The same steps, for every client, are on the MCP setup page.
What AGENTS.md does in Codex
Codex reads AGENTS.md files. A global file in your Codex home directory (~/.codex by default) applies to every repository. Project files are collected from the project root down to the current directory and concatenated, and files closer to the current directory override earlier guidance; loading stops at a size limit (32 KiB by default). People write these files by hand. Those docs describe no other persistent memory feature and no per-person access.
Source: OpenAI Codex docs: AGENTS.md, checked November 2026.
Compare: MemScope vs CLAUDE.md and AGENTS.md files · All comparisons
Example: same question, two answers
An illustration. Two memories exist: one shared with the whole organization, one limited to the Data team.
Shared with everyone
The nightly export skips rows marked archived.
Data team only
The archived flag is set by a retention job; ask Data before changing it.
Two people ask Codex in a terminal: “Why does the nightly export skip some rows?”
A teammate on Data
Learns about the archived flag and who owns the retention job.
A teammate on another team
Learns that archived rows are skipped. The Data-only note is not returned.
Who it is for
Teams whose developers run Codex CLI in terminals, often next to an editor agent, and who want what each session learns to be available to the others without opening it to everyone.
Price
$15 per connected user per month after a 60-day trial with 3 connected users. You pay only for people who connect an AI client.