By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: OpenAI Publishes Codex App Server Architecture for Unifying AI Agent Surfaces
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > OpenAI Publishes Codex App Server Architecture for Unifying AI Agent Surfaces
News

OpenAI Publishes Codex App Server Architecture for Unifying AI Agent Surfaces

News Room
Last updated: 2026/02/17 at 8:44 AM
News Room Published 17 February 2026
Share
OpenAI Publishes Codex App Server Architecture for Unifying AI Agent Surfaces
SHARE

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. The App Server now powers every Codex experience, including the CLI, the VS Code extension, the web app, the macOS desktop app, and third-party IDE integrations from JetBrains and Apple’s Xcode, through a single, stable API.

The post, written by OpenAI engineer Celia Chen, is part of an ongoing series detailing the internals of the open-source Codex CLI. The central challenge, as Chen describes it, is that agent interactions are fundamentally different from simple request/response exchanges:

One user request can unfold into a structured sequence of actions that the client needs to represent faithfully: the user’s input, the agent’s incremental progress, artifacts produced along the way.



The Codex App Server’s internal architecture: the stdio reader and Codex message processor translate client JSON-RPC requests into Codex core operations and transform internal events back into stable, UI-ready notifications (Source)

To model this, OpenAI designed three conversation primitives. An Item is the atomic unit of input or output with an explicit lifecycle of “started”, optional streaming “delta” events, and “completed”. This can be a user message, an agent message, a tool execution, an approval request, or a diff. A Turn groups the sequence of items produced by a single unit of agent work, initiated by user input. A Thread is the durable container for an ongoing session, supporting creation, resumption, forking, and archival with persisted event history so clients can reconnect without losing state.

The protocol also supports server-initiated requests. When the agent needs approval before executing a command, the server sends a request to the client and pauses the turn until it receives an “allow” or “deny” response. Communication uses JSON-RPC streamed as JSONL over stdio, and OpenAI has designed it to be backward compatible so older clients can safely talk to newer server versions.

Notably, OpenAI tried and rejected the Model Context Protocol (MCP) before arriving at this design. Chen explains that when building the VS Code extension, the team initially experimented with exposing Codex as an MCP server, but “maintaining MCP semantics in a way that made sense for VS Code proved difficult.” The richer session semantics required for IDE interactions, such as streaming diffs, approval flows, and thread persistence, did not map cleanly onto MCP’s tool-oriented model. OpenAI still supports running Codex as an MCP server for simpler workflows, but recommends the App Server for full-fidelity integrations.



Protocol message flow for tool execution with optional approval. The server pauses the turn and sends a request to the client, which must respond with ‘allow’ or ‘deny’ before the agent can proceed (Source)

The article describes three deployment patterns used by clients to embed the App Server. Local clients like the VS Code extension and desktop app bundle a platform-specific binary, launch it as a child process, and keep a bidirectional stdio channel open. Partners like Xcode decouple release cycles by keeping the client stable while pointing to a newer App Server binary, allowing them to adopt server-side improvements without waiting for a client release.

The Codex Web runtime takes a different approach: a worker provisions a container, launches the App Server inside it, and the browser communicates via HTTP and Server-Sent Events — keeping the browser-side UI lightweight. At the same time, the server remains the source of truth for long-running tasks.

The App Server’s evolution parallels broader industry efforts to standardize agent-editor communication. The Agent Client Protocol (ACP), initiated by Zed Industries and now supported by JetBrains, takes a complementary approach: where OpenAI’s App Server is a protocol specific to the Codex harness, ACP aims to be a universal standard for connecting any coding agent to any editor, drawing a direct analogy to how the Language Server Protocol standardized language tooling a decade ago. Codex CLI itself is listed among ACP-compatible agents. The coexistence of these approaches reflects an industry still determining the right abstraction boundaries for agent integration — a space OpenAI acknowledges is “evolving quickly.”

All source code for the Codex App Server is available in the open-source Codex CLI repository, and the protocol documentation includes schema generation tools for TypeScript and JSON Schema to facilitate client bindings in any language.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Tesla Korea hiring AI Chip Engineers amid push for high-volume AI chips Tesla Korea hiring AI Chip Engineers amid push for high-volume AI chips
Next Article 12-hour days, no weekends: the anxiety driving AI’s brutal work culture is a warning for all of us 12-hour days, no weekends: the anxiety driving AI’s brutal work culture is a warning for all of us
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Snapchat Is Adding Creator Subscriptions for Exclusive Content
Snapchat Is Adding Creator Subscriptions for Exclusive Content
News
Western cyber alliances risk fragmenting in new world order | Computer Weekly
Western cyber alliances risk fragmenting in new world order | Computer Weekly
News
How AI can predict social media trends before they go viral |
How AI can predict social media trends before they go viral |
Computing
This backup camera cleaner hides behind your license plate
This backup camera cleaner hides behind your license plate
News

You Might also Like

Snapchat Is Adding Creator Subscriptions for Exclusive Content
News

Snapchat Is Adding Creator Subscriptions for Exclusive Content

4 Min Read
Western cyber alliances risk fragmenting in new world order | Computer Weekly
News

Western cyber alliances risk fragmenting in new world order | Computer Weekly

7 Min Read
This backup camera cleaner hides behind your license plate
News

This backup camera cleaner hides behind your license plate

2 Min Read
Best cheap laptop deal: Save 0 on the Dell 15 DC15250 Laptop
News

Best cheap laptop deal: Save $150 on the Dell 15 DC15250 Laptop

3 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?