OpenAI Codex (cloud agent)

https://developers.openai.com/codex/memories

Memory under ~/.codex/memories/ : summaries, durable entries, recent-input logs, supporting evidence — generated in background after sessions go idle. Chronicle (opt-in macOS preview) uses screen-capture to seed memory. Off by default; opt-in via config.toml .

Active · Verified 2026-10-29 · fresh as of 2026-10-29 · 49 cited facts, 2 with a third-party source · 2 recorded changes · Suggest a correction

At a glance

Tier
T1
Created
searched not found fix
Freshness
2026-10-29 fix
Layer
agent-infra repo fix
Licensing
commercial vendor fix
Deployment locus
hybrid vendor fix
Platform vs product
product vendor fix
SDK languages
python, typescript vendor fix

Memory taxonomy

storage
file
retrieval
injection
persistence
long-term
update
consolidation
unit
summary
governance
inspectable
conflict
none

When to use

Optimised for: file-backed memory under ~/.codex/memories

Anti-fit: not for non-coding tasks

Pros & cons

Pros

Tight integration with the OpenAI model + tool-use roadmap; benefits directly from frontier model improvements.

Cons

Memory is shallow — primarily session-scoped; no long-running project memory yet.

Claims & capabilities

User-scoped across sessions on the same machine. Not available in EEA/UK/Switzerland.

Technical surface

API surface
REST (OpenAI Responses API; Codex CLI wraps it)
Backend storage
custom
Deployment
Both (cloud agent via ChatGPT platform + CLI tool local)
Embedding model
locked
Multi-tenancy
hard-isolation
MCP
native (first-party)
A2A
searched not found
OpenTelemetry
searched not found

Compare OpenAI Codex (cloud agent) with…

Similar systems

Other coding-agent memory in the catalog, ranked by inbound references.

  • Devin (Cognition) T1

    Structured Knowledge items stored server-side. Three-tier scope: repo-pinned (always injected), global (recall by relevance), org/enterprise (visible to org members). Auto-generates Repo Knowledge from repo structure each session; reads past session trajectories for self-improvement; writes notes for recurring scheduled tasks.

  • Aider T2

    Appends conversation turns to .aider.chat.history.md in project root. restore_chat_history defaults to false — no automatic replay into new sessions. Community /session save command for JSON state snapshots. .aider.conf.yml carries static preferences.

  • Augment Code T1

    Real-time knowledge graph indexed from connected repos + commit history + CI/CD + tickets + docs. Separate Agent Memory layer (Sept 2025) captures session decisions/corrections/goals as discrete items with developer review/approval UI. MCP endpoint exposes the graph. Acquired by Harness (2026-10-08): Harness bought select Augment Code assets, including Cosmos, the Auggie CLI and the Context Engine, and the team joined Harness. augmentcode.com now leads with Cosmos, a software-factory agent platform.

  • Letta Code T3

    Letta's stateful coding-agent harness: agents rewrite their own memory blocks and skills, version context in git via MemFS (syncable to GitHub) and reflect via a periodic /sleeptime 'dreaming' process. from Letta (MemGPT) team. letta-ai/letta-code is now the main Letta source (harness, terminal UI, App Server, channels); the Letta V1 API server was retired to the archive branch of letta-ai/letta.

  • Replit Agent T1

    No documented built-in persistent semantic memory store. Session duration expanded to 200 min (Agent 3); Agent 4 shifts toward persistent runtimes. Temporal used for orchestration durability, not semantic memory. Cross-session memory relies on filesystem + agent-written notes.

  • agentmemory (rohitg00) T3

    Self-hosted persistent memory layer that captures coding-agent activity and recalls it in later sessions, positioned on public benchmark results. #7 in TeleAI Awesome-Agent-Memory

Sources (48 cited facts, 2 third-party)

Each fact links to the page it came from; the badge says who published it (how to read sources).

What changed

Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)

  1. 2026-10-29
    • Latest release “0.161.0 (2026-10-07) (Codex CLI)” → “0.165.0 (2026-10-27) (Codex CLI)” source
    #338
  2. 2026-10-22
    • License “not applicable — not OSS” → “Apache-2.0 (Codex CLI; cloud agent proprietary)” source
    • Latest release “not applicable — not OSS” → “0.161.0 (2026-10-07) (Codex CLI)” source
    • Funding / ownership “OpenAI $57B+ raised; $300B+ valuation” → “total n/a; latest round $122B committed at $852B post-money (2026-04)” source
    #195