Extreme Harness Engineering: Building Production Systems with Zero Human-Written Code

openai · Tech · 2026 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Agentic production-system development

OpenAI Frontier explored whether an internal production system could be built and operated with zero human-written code by making Codex agents responsible for implementation, review, merge flow, observability, and repository evolution.

Constraints:

Architecture

The system combines Codex, repository skills, text-first tooling, observability, fast build/test loops, agent review, worktrees, GitHub/CI automation, and Symphony. Humans define goals and encode constraints, agents author and review code, Symphony coordinates many concurrent tasks and rework loops, and release promotion remains gated by human smoke tests. The broader Frontier framing extends the same principles to observable enterprise agents.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  human-product-driver["Human product driver"] --> codex-harness["Codex harness"]
  codex-harness --> coding-agent-workers["Coding-agent workers"]
  agent-readable-repository-context["Agent-readable repository context"] --> codex-harness
  text-first-tooling["Text-first tooling"] --> codex-harness
  local-observability-and-dashboards["Local observability and dashboards"] --> text-first-tooling
  coding-agent-workers --> fast-build-and-ci-loop["Fast build and CI loop"]
  coding-agent-workers --> pr-automation-skill["PR automation skill"]
  review-agent-workers["Review-agent workers"] --> pr-automation-skill
  pr-automation-skill --> worktree-execution-pool["Worktree execution pool"]
  worktree-execution-pool --> symphony-coordination-service["Symphony coordination service"]
  symphony-coordination-service --> release-smoke-test-gate["Release smoke-test gate"]
  release-smoke-test-gate --> human-product-driver
  review-agent-workers --> knowledge-distillation-loop["Knowledge distillation loop"]
  knowledge-distillation-loop --> agent-readable-repository-context
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Human product driver Supplies product goals, constraints, review judgment, release approval, and missing context rather than writing code. Codex harness, Release smoke-test gate, Knowledge distillation loop
Codex harness Provides shell, files, containers, file attachments, skills, scripts, and model context for coding agents. Coding-agent workers, Agent-readable repository context, Text-first tooling
Coding-agent workers Implement product code, tests, scripts, dashboards, docs, and internal tooling. PR automation skill, Review-agent workers, Fast build and CI loop
Agent-readable repository context Contains skills, core beliefs, docs, trackers, quality scores, and non-functional requirements. Codex harness, Knowledge distillation loop
Text-first tooling Exposes CLI wrappers, scripts, logs, traces, and compact outputs that agents can consume efficiently. Codex harness, Local observability and dashboards
Fast build and CI loop Keeps agent feedback fast and enforces reliability via tests and CI. Coding-agent workers, PR automation skill
Local observability and dashboards Provide traces, metrics, pages, logs, and dashboard definitions that agents can inspect and modify. Text-first tooling, Coding-agent workers
Review-agent workers Review PRs and produce bounded, priority-scored feedback that authoring agents can answer, defer, or reject. Coding-agent workers, PR automation skill, Knowledge distillation loop
PR automation skill Handles PR creation, reviews, CI, flakes, upstream merges, conflicts, merge queue, and final merge. Coding-agent workers, Review-agent workers, Worktree execution pool
Worktree execution pool Allows many branches of agent work to run concurrently with disposable code and merge-conflict resolution. PR automation skill, Symphony coordination service
Symphony coordination service Elixir/Beam orchestration layer that supervises task daemons and restarts failed PR attempts from scratch. Worktree execution pool, Release smoke-test gate
Knowledge distillation loop Turns agent trajectories, session logs, review comments, and failed builds into updated repository guidance. Agent-readable repository context, Review-agent workers, Human product driver
Release smoke-test gate Keeps a human-approved checkpoint before promoting the native application to distribution. Human product driver, Symphony coordination service

Data flow

Tasks enter as tickets, specs, or prompts; Codex agents read repository skills and context, run scripts and local observability, change code, open PRs, receive agent/human review, fix CI and merge conflicts, enter merge queues, or get restarted by Symphony's rework state. Feedback from PR comments, failures, and trajectories is distilled back into skills, docs, tests, and repository context.

“Put in the ticket that you expect it to file as on follow up work”article, stated
“everybody benefits from everybody else’s behavior for free. Same for like PR comments, right? These are all feedback.”article, stated

Why this architecture

The team optimized the whole production system for agent autonomy: if a failure showed missing capability, context, or structure, they encoded it into tools, docs, tests, skills, observability, or orchestration rather than asking humans to supervise more. Symphony exists because PR context switching became taxing once agent throughput reached multiple PRs per engineer per day.

“where are the humans spending their time? They’re spending their time context switching between all these active tmox pains to drive the agent forward.”article, stated
“let’s again, build something to remove ourselves from the loop.”article, stated

Models used: Codex CLI · Codex Mini · Codex · GPT-5.2 · GPT-5.3 · GPT-5.4 · Symphony · Elixir · Beam · Review agents · GitHub CLI · Playwright shim CLI

Scale

Alternatives considered (roads not taken)

Let humans remain the primary code authors.

Rejected because: The experiment's purpose was to discover whether agents could do all the things the human engineer did.

“if we’re trying to make agents that can be deployed into end to enterprises, they should be [00:03:00] able to do all the things that I do.”article, stated

Monitor every agent run synchronously.

Rejected because: The team wanted to build systems that went the right way without humans babysitting agents.

“No don’t monitor it. Just you want to build it so it’s that it, it goes the right way.”article, stated

Keep failed generated code and patch around it.

Rejected because: Symphony treats code as cheap and can restart failed PR work after diagnosing the missing context.

“if it’s garbage. I can just throw it away and not care too much about it.”article, stated

Expose broad MCP tools directly.

Rejected because: The source reports that broad tool schemas cost too many context tokens and could interfere with auto-compaction.

“They mess with auto compaction. The agent can forget how to use the tool.”article, stated

Build an off-policy scaffold that constrains Codex output.

Rejected because: The preferred guardrails are native to code and tests, so they do not fight model progress.

“If we were building an entire separate rust scaffold around Codex to restrict its output, that I think would be like additional harness that would be prone to being scrapped.”article, stated

Patterns

multi-agent-orchestration (PR and task coordination)

Symphony coordinates many coding-agent tasks, worktrees, reviews, rework loops, and PR lifecycle steps.

“So let’s again, build something to remove ourselves from the loop. And this is what frantic sprinted adapt here to find a way to remove the need for the human to sit in front of their terminal.”article, stated

durable-execution (Elixir process supervision)

The orchestration service uses Elixir/Beam process supervision to represent each active task as a daemon that can be driven to completion.

“the process supervision and the gen servers are super amenable to the type of process orchestration that we’re doing here.”article, stated

observability-tracing (agent-debuggable production systems)

Agents can inspect traces, metrics, logs, dashboard definitions, and alert context, then fix missing instrumentation.

“it knows exactly which dashboards are defined and what alerts.”article, stated

tool-use-orchestration (text-first agent operations)

Agents use token-efficient CLIs, scripts, and shims rather than human-oriented GUIs or giant logs.

“the CLI are nice ‘cause they’re super token efficient and they can be made more token efficient really easily.”article, stated

agent-memory (team knowledge distillation)

Agent trajectories and session logs are distilled into a team-level knowledge base and reflected back into code and repository guidance.

“collecting all the agent trajectories from Codex to slurp them up and distill them.”article, stated

human-in-the-loop-gate (release governance)

Humans approve smoke tests and release promotion even when code authorship and review are heavily delegated.

“So there’s still a human in the loop for cutting the release branch.”article, stated

Tradeoffs

How to get production-system leverage from agents.

Chose Encode taste into context, tools, observability, tests, and orchestration over Manual code authorship or one-off prompting.

Rationale: Durable context lets many agents reuse team knowledge and improves future runs rather than only fixing one task.

“I have not only made a point in time fix, but also like durably encoded this process knowledge around what good looks like.”article, stated

How to handle concurrency across many agents and humans.

Chose Deep decomposition, sharding, and interface boundaries over Small-team repository structure.

Rationale: When each human controls many agents, team size behaves like a much larger engineering organization.

“we have to find ways to carve up the space so people are not trampling on each other.”article, stated

How much code review detail the human should own.

Chose Representative sampling and system-level inference over Deep review of every PR.

Rationale: The human acts more like a group tech lead for a large organization, using samples to identify systemic problems.

“It’s as if I’m. Group tech leading a 500 person organization.”article, stated

How to distribute Symphony-like software.

Chose Ghost-library/spec-driven distribution over Shipping all internal implementation source.

Rationale: A high-fidelity spec can let a coding agent reassemble a complex system locally.

“specifying as much as is required for a coding agent to reassemble it [00:30:00] locally.”article, stated

Gotchas (what bit them)

The first month and a half was slower than human work.

Root cause: Early Codex versions and the initial harness lacked enough primitives for the agent to assemble product features.

Resolution: Invest in tools, building blocks, and the assembly station for agent work instead of reverting to manual coding.

“we built the tools, the assembly station for the agent to do the whole thing.”article, stated

Build time became an agent-productivity constraint.

Root cause: Background shells changed the model's patience for blocking scripts and long-horizon work.

Resolution: Switch build systems until the inner loop completed in under a minute.

“we went from a bespoke make file build to Basil, to turbo to nx and just left it there because builds were fast at that point.”article, stated

Review feedback can create non-convergent agent loops.

Root cause: The authoring agent followed reviewer-agent comments even when they over-expanded scope.

Resolution: Instruct reviewer agents to bias toward merging and authoring agents to defer or push back where appropriate.

“we also gave it the flexibility to either defer or push back against review feedback”article, stated

Human-oriented debugging tools can keep engineers unnecessarily in the loop.

Root cause: A human built a trace visualization app even though Codex could answer directly from the trace tarball.

Resolution: Prefer agent-readable artifacts and ask Codex to inspect raw debug material when possible.

“none of this was necessary. Because you could just spin up codex and give it the tar ball and ask the same thing”article, stated

Current models still struggle with zero-to-one products and gnarly refactors.

Root cause: Translating whitespace product intent and deep interface shape into context still requires human steering.

Resolution: Use harnesses and scaffolds to extract missing context, and expect humans to spend time on the hardest white-space/refactoring problems.

“They’re definitely not there on being able to go from new product idea to prototype single”article, stated

Evaluation

The system is evaluated through throughput, build speed, CI, tests, review-agent output, merge success, post-merge sampling, smoke tests, observability gaps, and whether failures turn into better repository context.

Metrics: Five to ten PRs per engineer per day · Inner loop under one minute · CI green status · Merge conflict handling · Review-agent feedback priority · Human-approved smoke tests · Agent trajectory distillation

“Fix the flakes if there are any merged upstream. If the PR comes into conflict, wait for everything to pass. Put it in the merge queue.”article, stated
“running tests is a good part of what it means to write reliable software.”article, stated

Outcomes

The source reports a five-month, million-line, roughly 1,500-PR experiment; five to ten PRs per engineer per day; a roughly 500-package repository; and billion-token-per-day operation.

“The future starts taking shape as one where coding agents stop being copilots and start becoming real teammates anyone can use”article, stated
“The codebase grew to over one million lines of code across more than 1,500 pull requests, all authored, reviewed, and merged by AI agents.”summary, stated