II.
MemorySystem overview
Reference · livememory-system:codex-agents-md
Codex AGENTS.md overview
Codex CLI's instruction-file memory system. AGENTS.md is the sole persistent knowledge file, read at session bootstrap and injected into the system prompt. There is no auto-memory extraction, no background consolidation, and no user-level memory scope. Knowledge must be manually authored and maintained. The simplicity is intentional — Codex runs in a sandboxed environment where filesystem writes outside the sandbox boundary are prohibited, making auto-memory extraction architecturally difficult.
Attributes
displayName
Codex AGENTS.md
description
Codex CLI's instruction-file memory system. AGENTS.md is the sole
persistent knowledge file, read at session bootstrap and injected into
the system prompt. There is no auto-memory extraction, no background
consolidation, and no user-level memory scope. Knowledge must be
manually authored and maintained. The simplicity is intentional — Codex
runs in a sandboxed environment where filesystem writes outside the
sandbox boundary are prohibited, making auto-memory extraction
architecturally difficult.
memoryKind
file-based
persistence
project-scoped
autoExtraction
false
consolidation
none
storageFormat
markdown
privacyFilter
false
deduplication
none
Outgoing edges
realizes1
- layer:12-knowledge-fabric·LayerKnowledge Fabric
Incoming edges
uses_memory_system5
- knowledge-fabric-impl:codex.knowledge@current·KnowledgeFabricImplCodex Knowledge Fabric — AGENTS.md
- agentVersion:codex:ge-0-0-0-lt-0-119-0·AgentVersionCodex CLI (pre-0.119)
- agentVersion:codex:ge-0-119-0·AgentVersionCodex CLI
- agent-version:codex-sdk@current·AgentVersion
- agent-version:codex-websocket@current·AgentVersion