WhoBuilt

Future-Proof Coding Agents

Dec 5, 2025· 18 min· 8.8K views·Watch on YouTube

Speakers

Bill Chen and Brian Fioca of OpenAI’s startups team explain how coding agent harnesses work, what they learned building Codex, and how teams can use its SDK and tools to build their own agents.

The parts of a coding agent

Bill describes an agent as three parts: a user interface, a model, and a harness. The harness connects the model to users and tools through prompts and an agent loop. The focus is on how that layer shapes an agent’s work across multiple turns.

Why harnesses take work

Brian explains that harnesses must help models use tools, interpret requests, and work over many turns. Teams need to evaluate new tools, tune prompts for each model, handle latency and context limits, and keep up with changing APIs. Bill says a model’s learned habits matter: prompts that force GPT-5 to inspect every file, for example, could make it slower than necessary.

Codex as a computer agent

Bill says Codex combines a model and harness and is available through a VS Code plugin, CLI, and cloud workflows. It can navigate repositories, edit files, run commands, review pull requests, and respond to tasks from places like Slack. Because it operates through tools and the terminal, he says it can also organize photos or analyze CSV files, not just write code.

Building on the harness

Bill presents the harness as an abstraction that can reduce the work of retuning prompts and tools with each model upgrade. Codex can be called programmatically through TypeScript and Python, integrated into GitHub Actions and the Agents SDK, or connected to product tools through MCP. He points to Zed’s IDE integration and says Cursor aligned its tools with the model’s training and its harness with the open-source Codex CLI.

What comes next

Bill expects models to handle longer tasks with less supervision and says future coding work will involve sprawling codebases, unusual libraries, and closed-source environments. He says the SDK will evolve to give agents more room to learn from mistakes and use terminal tools to solve problems. His closing advice is that teams can use Codex off the shelf or inspect its source while focusing on their own product.

Takeaways

  • Treat the harness as a core product layer: it governs how models interact with users, code, and tools.
  • Tune prompts to a model’s learned habits; overly broad instructions can slow it down.
  • Evaluate new tools with each model because familiarity with a tool affects how well the agent uses it.
  • Consider using an existing agent SDK or harness to spend more effort on product-specific value.
  • Design for longer tasks and varied codebases as models become more capable.

Mentioned in this talk

Search inside this talk

What was claimed 11

  • built
    “infrastructure that helps run untrusted code ... as part of ChatGPT and Codex web”
    0:19inFrom fork() to Fleet: Designing an Agent Sandbox CloudYouTube
    Verified26 sources· Talk, GitHub, Job posting, Web· archived
  • works at
    Engineer, startups team (applied AI, coding agents, frontier-model evaluations)
    “I work with Bill on the OpenAI startups team.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • works at
    Bill Chen works at OpenAI
    Applied AI Startups team
    “I work on the applied AI startups team at OpenAI.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    GPT-5.1-Codex-Max: Handles compaction and context-window management out of the box
    “Codex Max, which does that out of the box for you.”
    YouTube
    Unverified1 source· Talk
  • feature
    Codex: Navigates repositories, edits files, runs commands, executes tasks, and can review pull requests
    “It navigates your repo to edit files, runs commands, executes tasks”
    YouTube
    Unverified1 source· Talk
  • feature
    Codex: Available as a VS Code plugin and CLI, with cloud access through the plugin or ChatGPT
    “It's a VS Code plugin and a CLI. You can call it in the cloud”
    YouTube
    Unverified1 source· Talk
  • uses
    Codex uses MCP
    “All the plumbing you have to build for MCP support into the harness.”
    YouTube
    Unverified1 source· Talk
  • feature
    Codex: Can be used as a computer agent for tasks expressible through command-line tools and files
    “if you can express your tasks in the command line, as well as in files, Codex will be able to know what to do.”
    YouTube
    Unverified1 source· Talk
Show all 11 facts

Related talks