Marks / Product integration / Embedding interfaces
codex · Embedding interfaces
Full lifecycle, approvals and several transports exist, but app-server is labelled [experimental] (codex-rs/cli/src/main.rs:177), which the L2 anchor names
Level
Criteria for this column
- 0
Interactive UI only
- 1
Non-interactive CLI with text or JSON output only (scraping)
- 2
One supported programmatic interface (library or protocol) with an event stream, marked experimental or covering only part of the session lifecycle
met - 3
Supported programmatic interface with typed events and session lifecycle control (start, follow-up/steer, interrupt, resume)
- 4
Level 3, plus host callbacks for approvals or host-executed tools and two or more transports or bindings (e.g. in-process plus network protocol)
What the source review found
Built in: codex app-server JSON-RPC (about 200 methods plus typed notifications and server-to-client approval requests) over stdio by default [opt: unix socket, WebSocket]. Non-loopback WebSocket refused without auth. Python SDK wraps app-server; TypeScript SDK wraps codex exec --experimental-json. Some fields are experimental. Not an MCP server. I1I2I3I4I5I6
Pinned evidence
Cited by the mark
- I1
transports
Stdio | UnixSocket | WebSocket | Off; default stdioopenai/codex codex-rs/app-server-transport/src/transport/mod.rs L84-L89
- I3
client request method table (threads, turns, steer, interrupt, fork, fs, plugins, MCP, config); server→client requests and notifications follow at :1956-1998, :2102-2224
openai/codex codex-rs/app-server-protocol/src/protocol/common.rs L531-L1677
- I4
Python SDK: typed JSON-RPC client for
codex app-serverover stdioopenai/codex sdk/python/src/openai_codex/client.py L215-L272
Also cited by the review finding
- I2
refuses non-loopback WebSocket listener without
--ws-authopenai/codex codex-rs/app-server-transport/src/transport/websocket.rs L160-L175
- I5
TypeScript SDK spawns
codex exec --experimental-json - I6
some app-server workflows require
experimentalApi: true
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 4 / 4
- Final
- 2 / 2
Adjudicated · disagreement; literal anchor
Full lifecycle, approvals and several transports exist, but app-server is labelled [experimental] (codex-rs/cli/src/main.rs:177), which the L2 anchor names