OpenAI has recently published a detailed architecture description of the Codex App Server, a bidirectional protocol that decouples the Codex coding agent's core logic from its various client surfaces.
Most teams can get an AI agent to look impressive in a demo. The hard part is shipping an agent that stays reliable once it’s exposed to real users, messy data and changing systems.