← Back to KHAO

Codex ·

Unlocking the Codex harness: how we released the App Server

2 min read

Compiled by KHAO Editorial — aggregated from 1 outlet. See llms.txt for citation guidance.

★ Tier-1 Source

Diagram titled “App server process flow.” A client sends JSON-RPC messages to a stdio reader, which dispatches requests to a Codex message processor. The processor interacts with a thread manager and core thread via lookup threads, thread handles, submitted requests, and events/updates, then returns.

By Celia Chen, Member of the Technical Staff.

Key facts

Summary

OpenAI’s coding agent Codex exists across many different surfaces: the web app , the CLI , the IDE extension , and the new Codex macOS app. In this post, they'll introduce the Codex App Server; they'll share their learnings so far on the best ways to bring Codex’s capabilities into your product to help your users supercharge their workflows. Before diving into architecture, it’s helpful to know the App Server’s backstory. Codex CLI started as a TUI (terminal user interface), meaning Codex is accessed through the terminal. Instead, they introduced a JSON-RPC protocol that mirrored the TUI loop, which became the unofficial first version of the App Server.

Read full article at OpenAI →

#codex