Speaker Notes

Ryan Lopopolo: OpenAI's Framework for Shipping Code at 70 PRs/Week

OpenAI's Ryan Lopopolo explains how harness engineering, zero human-written code, and multi-agent asynchronous loops enable engineering teams to scale to 70 PRs per week.

AI Native Dev · 55:29 · YouTube ↗

Podcast · 2 hosts and guest  Advanced · harness engineering and agent workflows

Highlights

5 clips · 9 min of 55 min
    • Combine context provisioning and tool design to guide agents effectively.
    • Use prose error messages instead of mechanical logs to guide agent corrections.
    • Automate reviews, tests, and lints to help agents close the feedback loop.
    • Banning human-written code forces developers to build robust tools for the agent.
    • Initial friction reveals exact agent failure modes and operational bottlenecks.
    • Automating manual terminal interventions creates reusable leverage for future tasks.
    • Supervise headless agent PRs during a dedicated on-call rotation to build trust.
    • Feed human review feedback back into subsequent automated runs to prevent regressions.
    • Generate markdown artifacts so agents learn and adapt from past mistakes.
    • Build a working prototype first as a straw man for complex system designs.
    • Use multi-agent pipelines to generate, implement, and judge derived specifications.
    • Extract clean specifications from information-dense code artifacts rather than starting abstractly.
    • Intelligence extraction scales linearly with high test-time compute and token consumption.
    • Move beyond pair programming to asynchronous parallel agent loops across the organization.
    • Invent new organizational patterns to make massive token usage productive and safe.

Questions this video answers

8 · every answer cites the moment it was said
01 What is harness engineering? 2 sources · 3:16

Harness engineering combines prompt context management and tool definitions to guide coding agents toward high-confidence, autonomous software production. It involves surfacing nonfunctional requirements and prose error messages so agents can fix their own mistakes without human intervention.

02 Why enforce a strict no human-written code rule? 2 sources · 7:30

Banning human-written code forces developers to viscerally experience agent failures and friction points. This direct engagement helps engineers build custom tools and paved roads that systematically remove repetitive tasks and improve agent capability.

03 How do you onboard new hires when code is agent-generated? 2 sources · 12:26

New hires are onboarded directly through the accumulated context and tools embedded in the repository. Instead of spending months absorbing team best practices, new team members immediately leverage the agent's pre-configured guardrails and shared knowledge.

04 How does code review work when agents write everything? 2 sources · 15:10

Traditional line-by-line code review is largely replaced by upstream planning and asynchronous guardrails. Teams review the exec plans and high-level architecture upfront, relying on automated loops to catch and correct minor implementation issues post-merge.

05 How can you derive specifications from prototypes? 2 sources · 28:21

Developers can rapidly build a working prototype first to capture complex decisions, and then use multi-agent pipelines to distill and refine specifications from the code. A first agent generates a spec from the prototype, a second re-implements it, and a third judges misalignments to improve the final spec.

06 How do model iterations impact PR throughput? 2 sources · 37:47

Successive model upgrades drastically increase engineering velocity and pull request throughput by improving core reasoning and tool use. On OpenAI's team, PR output scaled from three and a half PRs per engineer per week on early models up to 70 PRs with newer iterations.

07 Why should engineering teams consume a billion tokens a day? 2 sources · 48:41

Consuming a billion tokens a day forces teams to move beyond single-player pair programming into parallel, asynchronous agent workflows. This high token consumption unlocks massive automated leverage, scaling intelligence across entire organizations rather than isolated developers.

08 How does software engineering shift when code is cheap? 2 sources · 52:35

As code production becomes essentially free, developers shift their focus from writing code to systems thinking, harness design, and product validation. Engineers spend less time on implementation and more time talking to users, defining requirements, and deciding what not to build.

Section-by-section summary

8 parts

Harness engineering bridges context and tooling

Harness engineering combines context provisioning and tool design to guide coding agents effectively. By structuring prose error messages and verification loops, teams ensure agents produce high-confidence code.

Banning human-written code exposes agent friction

Imposing a strict zero human-written code rule forces developers to experience agent failures firsthand. This friction highlights where tooling is missing, driving the creation of better developer workflows.

Onboarding new hires through shared agent context

New team members quickly reach high velocity because the codebase already embeds team best practices via the agent. Instead of months of manual learning, new hires immediately leverage collective repository context.

Asynchronous anti-slop loops maintain code quality

When PR throughput surges, teams use weekly cleanup and automated CI loops to eliminate code slop. Human feedback on PRs is ingested into subsequent runs so agents continuously self-correct.

Deriving specifications from working prototypes

Rather than starting with abstract specs, teams build a rapid prototype first to establish viable patterns. A multi-agent pipeline then extracts, reimplements, and audits a refined specification from that code.

Rapid model iterations unlock massive PR throughput

Continuous improvements in model reasoning, background tool calling, and computer use drastically reduce the need for brittle hacks. Team PR velocity scales from a few per week to seventy per week.

Consuming a billion tokens a day demands async workflows

Extracting maximum intelligence from models requires moving past single-player pair programming into parallel execution. Teams must invent new asynchronous patterns to burn tokens productively across entire repositories.

Engineering shifts from code production to systems thinking

As agents handle code generation, developer roles evolve toward systems thinking, interface design, and defining functional requirements. Success depends less on writing code and more on directing agent teams effectively.

0:00 / 55:29
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • Harness engineering9× · first 2:17

    The practice of setting up context, tools, and feedback loops to enable agents to do complex autonomous software engineering.

  • Codex23× · first 0:00

    OpenAI's coding agent model and tool used for autonomous software development.

  • MCP2× · first 0:06

    Model Context Protocol used initially to connect tools and apps to agents.

  • Symphony4× · first 27:06

    A ghost library and specification-driven project built to manage agent workflows.

  • GPT-53× · first 8:01

    OpenAI model series powering advanced coding and reasoning capabilities.

  • Computer use3× · first 35:47

    A native feature allowing models to interact directly with graphical user interfaces and browsers.