Building on the Codex Harness — Dominik Kundel, OpenAI
Source
youtube.com
Author
AI Engineer
Date
Why it matters
Instead of building a harness, you can embed the Codex App Server and control instructions, tools, models and sandboxAn isolated environment where AI-generated code or agent actions run without being able to touch anything real.Full definition → per thread. Users can sign in with their ChatGPT subscription.
Key takeaways · AI-distilled
The Codex App Server is an open-source JSON-RPC protocol wrapping the Codex agent harnessThe scaffolding around a model that turns it into a working agent — the loop, the tools it can call, and the rules for when to stop.Full definition →. It powers the Codex app, the IDE extensions and third-party clients in Xcode and JetBrains, and is not tied to one model provider.
Kundel says clients get more than 120 messages to work with, plus developer instructions layered on top of the system promptThe standing instructions a model receives before any user input — defining its role, rules, tools, and tone for the whole conversation.Full definition → and dynamic and deferred tools.
To integrate it you ship the binary and generate bindings or use the Python SDK; the talk also covers when the simpler codex exec is the better fit.
Terms in this piece · Glossary
agent harness — The scaffolding around a model that turns it into a working agent — the loop, the tools it can call, and the rules for when to stop.
sandbox — An isolated environment where AI-generated code or agent actions run without being able to touch anything real.
system prompt — The standing instructions a model receives before any user input — defining its role, rules, tools, and tone for the whole conversation.