System breakdown
Inside OpenAI Codex: TUI, App Server, and Execution Boundaries
A commit-pinned examination of the documented Codex rich-client protocol, terminal event loop, approval exchange, and platform sandbox boundary.
14 min read Verified 2026-11-25 3 primary sources
Architecture Quick Summaryrust-v0.95.0 · 5 layers · 3 verified claims
A commit-pinned examination of the documented Codex rich-client protocol, terminal event loop, approval exchange, and platform sandbox boundary. The app-server exposes a bidirectional JSON-RPC protocol over streaming JSONL and organizes work as threads, turns, and items.
Canonical System Breakdown
OpenAI Codex rust-v0.95.0 architecture evidence
RELEASE rust-v0.95.0
2 CHAPTERS · 8 NODES · 7 EDGES
Ingress Security
HMAC SHA256
Constant-time verify (<50ms)
Async Queueing
Sidekiq + Redis
Multi-queue priority isolation
Real-time Fanout
ActionCable Pub/Sub
Redis backplane state broadcast
AI Action Engine
ActionService LLM
Streaming copilot replies (SSE)
Core Stack:Rails 7.1•Sidekiq 7•Redis 7.2•PostgreSQL 16•Vue.js 3
3 Verified Architectural Claims
Press1-6to switch views
Archify Interactive Mapv2.16.0
Inside OpenAI Codex: TUI, App Server, and Execution Boundaries — Archify Interactive System Map
Hotkeys:R Route ProbeL Role LensP Play StoryS Visual StyleT ThemeF Stage
Source Pinned & GroundedRelated Systems Course
Free · Verifiable Credential
FS-301Agentic Systems Engineer
Engineer bounded tool-using systems with explicit workflows state protocols evaluation observability security and human control.
27 concepts~29h self-paced
Start Free CourseWeekly Engineering Dispatch
Get the weekly systems teardown
One technical note per week covering inference bottlenecks, retrieval harnesses, and commit-pinned teardowns.