Open Studio
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-07-21 3 primary sources
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
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