Codex Knowledge Base
The Codex CLI Instruction Stack: How Six Configuration Surfaces Shape Agent Behaviour
Codex CLI does not read a single instruction file. It assembles a composite instruction set from six distinct surfaces, each with its own scope, precedence.
Codex CLI Granular Approval Policies and the Auto-Review Subagent: Autonomous Yet Secure Workflows
Every Codex CLI user eventually confronts the same tension: you want the agent to work autonomously, but you also want to sleep at night. The original.
Codex CLI /goal: Persisted Long-Horizon Workflows with Pause, Resume, and Token Budgets
Most Codex CLI interactions follow a prompt-diff-done cadence: you describe what you want, approve the plan, and move on.
Building Custom MCP Servers for Codex CLI: A Practical Guide in TypeScript and Python
Codex CLI ships with powerful built-in tools — shell execution, file editing via apply_patch, and web search — but production workflows inevitably demand.
The Official Codex Subagents Documentation — Architecture, Patterns, and CSV Batch Processing
OpenAI's official subagents documentation page has matured into a comprehensive reference for multi-agent Codex workflows.
GPT-5.5 Instant and chat-latest: Dynamic Model Pointers for Codex CLI Developers
On 5 May 2026, OpenAI replaced GPT-5.3 Instant with GPT-5.5 Instant as the default ChatGPT model and simultaneously shipped a new API model alias.
Debugging Codex CLI Sessions with the OpenAI Traces Dashboard and OTLP Export
When a Codex CLI session produces unexpected results — a hallucinated file path, a tool call that silently fails, or a subagent that takes an inexplicable.
Codex CLI Shell Integration: Completions, Functions, Environment Policies and Productivity Recipes
Codex CLI runs in your terminal, yet most guides skip the glue that makes it feel native: shell completions, wrapper functions, environment variable.
Codex CLI MCP OAuth: Authenticating Remote Tool Servers with OAuth 2.1
Local MCP servers — launched via command and communicating over stdio — need no authentication. The process runs on your machine with your permissions.
Codex CLI External Agent Migration: The Detect/Import API and Cross-Agent Portability
The terminal coding agent landscape in 2026 is crowded: Codex CLI, Claude Code, Cursor, Gemini CLI, Aider, Copilot CLI, and more.