AI Engineer Europe 2026

Harness Engineering: How to Build Software When Humans Steer, Agents Execute

Read the talk

Harness Engineering: When Humans Steer and Agents Execute

Ryan Lopopolo explains how to turn coding agents into reliable software-engineering collaborators by making requirements explicit, delivering context when it matters, and converting recurring human feedback into durable guardrails.

From a talk by Ryan Lopopolo

At a glance

Ideas worth remembering

  • Treat human attention, model attention, context windows, compute, and token budgets as the practical constraints; organize engineering work around delegation rather than manual implementation. 1:54

  • Convert tacit quality standards into documentation, lint rules, structural tests, and specialized review agents that detect and remediate recurring failures. 9:16

  • Provide just-in-time context through the development workflow instead of overwhelming agents with every requirement in the initial prompt. 24:04

  • Use clear package boundaries, canonical shared utilities, and consistent repository patterns to conserve context and reduce merge conflicts. 21:26

  • Start by expanding test coverage and automating the places where humans repeatedly wait, review, or fix the same problems. 30:28

  • Extend agent support beyond code generation only by supplying the necessary tools, process documentation, and acceptance criteria for QA, operations, support, and production safeguards. 43:35

The scarce resource is no longer implementation

Selected presentation frame from Harness Engineering: How to Build Software When Humans Steer, Agents Execute — Ryan Lopopolo, OpenAI at 385 seconds
The scarce resource is no longer implementation

Ryan Lopopolo frames harness engineering around a fundamental change in how software gets built: when agents can produce, refactor, maintain, and delete code, typing out an implementation stops being the principal constraint. In his account, the limiting factors become human time, human and model attention, and the model context window. The engineering challenge shifts from personally executing every task to deciding how to deploy available model capacity effectively. 1:54

This changes the shape of engineering work. Instead of treating lower-priority improvements as permanently unaffordable, a team can delegate several candidate implementations and select one that solves the problem. Lopopolo gives localization and internationalization of internal tools as an example: capabilities that previously competed for scarce engineering attention become easier to incorporate when implementation can be delegated. This argument depends on available compute and token budgets; agent capacity is not presented as literally unconstrained. 1:54

The new role looks less like managing a personal queue of coding tasks and more like acting as a staff engineer for a mixed team of people and agents. Engineers still determine which problems matter, what acceptable software looks like, and which structures enable sustained execution. The objective is not to abandon engineering judgment, but to apply that judgment to systems design, delegation, and orchestration rather than to each individual line of code. 1:54

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

1:54 · section reference included

Make quality legible and enforceable

Selected presentation frame from Harness Engineering: How to Build Software When Humans Steer, Agents Execute — Ryan Lopopolo, OpenAI at 774 seconds
Make quality legible and enforceable

An agent cannot reliably reproduce a team’s standards if those standards exist only as tacit knowledge. Lopopolo points to documentation, architecture decision records, historical tickets, code reviews, and persona-oriented descriptions of successful work as the context that originally shaped a codebase. Harness engineering makes that context legible to agents, especially the many underspecified nonfunctional decisions involved in producing maintainable, reliable code. 6:56

The practical mechanism is to turn recurring expectations into durable guardrails. Security and reliability reviewer agents can inspect proposed changes during CI; repository-specific lint rules can require retries and timeouts around network calls; source-level tests can enforce architectural properties or keep files below a chosen length so they fit more comfortably within model context. When a failure occurs, its error message should explain the expected pattern and the remediation, giving both humans and agents a concrete next action. 11:21

A particularly important tradeoff is that building these safeguards can reduce short-term delivery speed. Lopopolo argues that teams should nevertheless investigate repeated mistakes, encode the missing requirement, and then step back once the problem has been addressed systematically. Team members with different strengths can contribute specialized standards once, allowing future agent executions to benefit from shared expertise in areas such as frontend architecture, reliability, scalability, and QA. 9:16

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:56 · section reference included

Deliver the right context at the right moment

Selected presentation frame from Harness Engineering: How to Build Software When Humans Steer, Agents Execute — Ryan Lopopolo, OpenAI at 998 seconds
Deliver the right context at the right moment

For Lopopolo, a useful harness is not an elaborate substitute for the underlying coding agent. Its essential job is just-in-time context delivery: presenting task requirements and quality expectations when they become relevant. Putting every rule into the initial prompt can overwhelm the agent, while long-running sessions and automatic compaction mean earlier instructions may eventually leave active context. Review comments, lint failures, test results, and skills can therefore refresh the relevant guidance throughout execution. 11:21

His React example makes the sequencing concrete. An agent can first explore and prototype the desired interface without being burdened by every structural requirement. Later, linting or testing can require the implementation to decompose components into smaller, more stateless pieces and follow the team’s preferred dependency patterns. The agent then revises the existing patch against those newly surfaced constraints, preserving room for exploration while still enforcing the final standard. 24:04

The workflow starts with a ticket and a limited set of skills that let Codex launch the application, start local observability, and attach browser tooling. Rather than maintaining a sprawling catalog, Lopopolo says his team concentrates leverage in roughly five to ten skills, improving those interfaces while allowing underlying development infrastructure to evolve. He also favors integrating with first-party harnesses, arguing that their tools and invocation conventions benefit from being included in model post-training, while repository owners focus on steering observable behavior. 20:16

How it fits togetherJust-in-time React implementation

Explore and experiment with the UI.

Structural requirements arrive after exploration, when automated checks can guide revision.

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

11:21 · section reference included

Design the repository and review process for agent throughput

Selected presentation frame from Harness Engineering: How to Build Software When Humans Steer, Agents Execute — Ryan Lopopolo, OpenAI at 1330 seconds
Design the repository and review process for agent throughput

Repository structure is part of the prompt. Lopopolo describes moving from an initially simple application repository to a PNPM workspace with 750 packages, organized around business domains and stack layers. The goal was to give agents concrete filesystem boundaries, enforce package privacy and dependency edges, and make most changes understandable within a limited subtree. Custom ESLint rules and structural checks also enforce shared utilities, deduplicated Zod schemas, and canonical implementations of common helpers. 21:26

Consistency reduces the amount of fresh context an agent must acquire in each part of the codebase. Lopopolo recommends standardizing recurring choices, such as bounded-concurrency helpers, instrumented commands, the ORM, programming language, CI scripts, and mechanisms for adding lint rules. In this framing, large-scale migrations become worthwhile because uniform patterns make the desired output easier for agents to predict and apply across the repository. 6:56

High implementation throughput also changes code review. When engineers were producing several pull requests per day, large overlapping changes created merge conflicts, and waiting for human review kept pull requests open longer. The team responded by separating code more clearly and dedicating a weekly garbage collection day to converting recurring review complaints into documentation, automated checks, and specialized reviewer agents. Persona-specific reviewers examine changes on each push and surface sufficiently serious issues, reducing repeated synchronous human intervention. 36:46

However, automation should not turn review into an inflexible obstacle course. Lopopolo describes GitHub pull requests and repository Markdown files as the shared collaboration surface for humans and agents, with implementation agents allowed to acknowledge, defer, or reject feedback. Requiring every comment to be addressed can overwhelm the coding agent and optimize for minutiae instead of accepted, useful changes; the desired balance is meaningful enforcement without perfectionism. 28:32

How it fits togetherTurn review feedback into durable guardrails

Identify recurring problems that obstruct merges.

Recurring review problems become documented standards and automated checks that reduce repeated failures.

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:56 · section reference included

Start with confidence, then expand beyond code generation

Selected presentation frame from Harness Engineering: How to Build Software When Humans Steer, Agents Execute — Ryan Lopopolo, OpenAI at 2543 seconds
Start with confidence, then expand beyond code generation

For teams beginning the transition, Lopopolo offers two practical entry points. First, ask agents to write tests for existing behavior, improving confidence in the current system while making the codebase easier for agents to navigate safely. Second, inspect where human time actually goes—manual implementation, slow CI, flaky tests, or waiting for review—and automate those bottlenecks incrementally. The purpose is to move people toward defining, prioritizing, sequencing, and delegating work. 30:28

He estimates his own token use as roughly split among planning and ticket or documentation work, implementation, and CI activity. Importantly, he does not treat an automatically generated plan as inherently useful: approving an unread plan can lock an agent into bad instructions. If a plan materially governs execution, he recommends treating it as a separate, carefully reviewed artifact with human approval; otherwise, a sufficiently well-specified ticket should let the agent proceed directly. Spending model capacity in CI matters because generated code becomes valuable only when it can be accepted and move the product forward. 40:01

The longer-term vision extends beyond writing and reviewing code. Lopopolo describes discovering that artifact-level QA and smoke testing were initially weak because agents lacked the necessary documentation and tools to download, launch, and inspect built software. He broadens the target to user-feedback triage, operational incidents, preventing PII leakage in production logs, support runbooks, and critical user journeys. The limitation is explicit: each newly encountered part of the software lifecycle requires its own tools, process documentation, and acceptance criteria before agents can handle it reliably. 43:35

His final mental model is the LLM as a fuzzy compiler: specifications, documentation, tests, review standards, and architectural constraints determine which generated implementations are acceptable. Different models may produce different code, just as different compiler backends produce different machine instructions, but the surrounding structure should preserve the required properties. In that model, durable value resides less in any particular generated implementation than in the human-defined objectives and constraints that guide repeated execution. 41:55

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

30:28 · section reference included

Read the complete timestamped transcript
  1. 0:00

    [upbeat music] Our next speaker is here to speak about Harness engineering: how to build software when humans steer and agents execute.

  2. 0:24

    Please join me in welcoming to the stage Member of Technical Staff at OpenAI, Ryan Lopopolo. [upbeat music] [audience applauding]

  3. 0:40

    Good morning, London. [audience applauding] I'm super excited to be here today. I'm Ryan Lopopolo, and for the last nine months, I have had the privilege of building software exclusively with agents.

  4. 0:56

    Uh, I am a token billionaire, and I believe that in order for us to get into our AGI future, we want everybody to be token billionaires, to use the models to do the full job.

  5. 1:08

    And what that means is to lean into the idea that the models are capable of being a full software engineer. And I've lived that experience by banning my team from even touching their editors, to have to work through the models in order to get the job done.

  6. 1:25

    And, uh, today I'm gonna talk to you a little bit about what it means to lean into that and operationalize the way you work, the codebases you live in, and the processes on your teams in order to get the agents to do the full job.

  7. 1:40

    I believe I'm preaching to the choir here when I say that the way we build software has changed. In the last six months, we have seen coding agents take over the world, and capability has continually advanced at a super fast pace to have these models and the harnesses within which they live take more complex actions, do more

  8. 2:01

    complicated work with higher reliability over longer time horizons. And the place we've gotten to here is that implementation is no longer the scarce resource of what it means to do the job of software engineering.

  9. 2:15

    Code is free. We have an abundance of code to solve the problems that we come across in our day-to-day as we run our teams, build software, and solve user problems.

  10. 2:27

    Hiring the hands on the keyboards as part of our teams is only constrained by GPU capacity and token budgets. And each engineer today in this room has access to five, 50, or 5,000 engineers' worth of capacity, twenty-four/seven, every day of the year.

  11. 2:47

    The only thing that needs to happen, our roles, is to figure out how to productively deploy these resources into our code and into our teams to make use of this new capacity.

  12. 2:59

    And in this world, skill sets are shifting more towards systems thinking, system design, and delegation in order to make use of this abundant capacity to produce code to solve problems.

  13. 3:12

    And there are three reasons that this happened, all of which happened in late 2025.

  14. 3:19

    For me, the magic moment was GPT-5.2, which, when it came out, was able to do the full job of a software engineer. The models at this point are good enough where they're isomorphic to you and I in terms of the ability to produce code at high quality that solve real user problems in real code bases.

  15. 3:39

    Code is free, and I know this is maybe a scary thing to hear because code carries maintenance burden, but it's free pr- to produce, free to refactor, and it is not a thing to get hung up on anymore.

  16. 3:54

    We think of code as burden because it, it's a synchronous attention drain on the human engineers on our team. But the models are incredibly patient. They are infinitely parallel, so the ability to produce, maintain, refactor, and delete code is no longer a forcing function on figuring out how to allocate resources on your engineering teams.

  17. 4:16

    So the sort of the AGI pill here is to believe that the models are capable of producing every line of code we could ever possibly need, figuring out when to delete them, figuring out when to refactor them or make them more reliable, and it's your role as software engineers to figure out how to unblock your team of

  18. 4:35

    agents and humans driving those agents from being able to drive them over long-horizon work to do the full job.

  19. 4:44

    The idea here is that every one of you is a staff engineer. You have as many team members as you can possibly drive concurrently and have tokens to support, and you need to look one day, one week, six months into the future to figure out what structures you need to put in place to productively harness this infinite

  20. 5:05

    capacity to produce code. The scarce resources in this world that we see today are three things: human time, human and model attention, and model context window.

  21. 5:22

    And in the world where human time and attention is scarce, the role is to think about where that time is going, figure out ways to productively automate it, and move that synchronous human time into higher leverage activities.

  22. 5:40

    In a world where human time is scarce and human time is required to produce code, we have a stack rank. Things are either P0s or P2s. Those P3s will never get done.

  23. 5:53

    However, in a world where code is free and infinitely abundant, all those P3s get kicked off immediately, maybe 4X in parallel. We pick one that solves the problem, and in it goes.

  24. 6:07

    I've had the privilege of building a ton of agents internally at OpenAI to improve the productivity of my coworkers. And when code is free, all these internal tools can have good localization and internationalization from day one.

  25. 6:23

    I can make tools that my colleagues in London, Dublin, Paris, Brussels, Zurich, and Munich are able to experience in their native languages without really having to trade against any of my other team's capacity in order to make high quality tools.

  26. 6:40

    We should be working with the assumption that the best parts of software engineering that we all know, live, and breathe are available in any product that we could ever build all the time.

  27. 6:52

    Humans no need-- no longer need to concern themselves with implementation. The important thing is not the code, but the prompt and the guardrails that got you there. This is why leaving breadcrumbs, documentation, ADRs, persona-oriented documentation around what a good job looks like, all the historical logs of tickets and code reviews, this is the process that got you

  28. 7:14

    and your teams to the code and products that you have today, and this is what is need-- needs to happen in order to get your agents there as well.

  29. 7:23

    Your job is to build systems, software, and structures that enable your team to be successful. And to do that, we need to make them legible to those agents that are driving the implementation.

  30. 7:36

    That means structuring them in a way that's native to the agents, writing them in a way that is respecting of scarce context, which is this other scarce resource here, and figuring out ways to make the tokens that are required to do the job easy to predict.

  31. 7:51

    That means making things the same as much as possible so we can limit the amount of attention the model needs to activate in order to do the job.

  32. 7:59

    Large scale refactoring in this world is free, so making things the same is something that you are all able to do. There's never gonna be a migration that hangs open for six months now that you can't get the last parts of the code base to do, because you can just fire off 15 agents to drive that work

  33. 8:16

    to completion. This is what it means to have a migration, right? We can finish them now. Come on. That's good. That's good. Clap. [clapping]

  34. 8:28

    There's sort of this, like, meta epistemological question here about, like, what it means to do a good job. And doing a good job as a software engineer is hard.

  35. 8:38

    It requires us years of being in the industry to fully internalize what it means to write high quality, maintainable, reliable code that our teammates are able to build on top of that is going to accrue leverage to the code base.

  36. 8:52

    To do a single patch well probably requires 500 little decisions along the way around the underspecified non-functional requirements that go into producing good code. The agents, the models during their training, have seen trillions of lines of code that make every possible choice of those non-functional requirements that you could ever imagine.

  37. 9:16

    So it's our job to specify those non-functional requirements, to write them down in a way that the agents can see this is what it is to do a good, acceptable job that's gonna produce a merge patch.

  38. 9:28

    And if the agents aren't doing that, it's our job to figure out ways to refine and restrict their output such that the code they write is acceptable. You can just simply say, "Do not produce slop."

  39. 9:41

    Don't accept slop. You won't get slop in your code base. But to do that requires taking short-term velocity hits in order to back up or double-click into a task to figure out what it is the agents are struggling with in your environment, put the guardrails in place so they stop making those mistakes,

  40. 10:00

    and then figure out ways to step back and spend your time on higher leverage activities once you solve some of the blockers in the short term.

  41. 10:09

    When I think about empowering my team in this way, everyone is an expert in what it is they bring. I have a diverse full stack team that is experts in front-end architecture, back-end scalability, being product-minded.

  42. 10:23

    And each one of those different personas fleshes out the skill set of my team by bringing a different understanding, a different set of solves for those non-functional requirements. Getting teammates to write those down actually means that every engineer driving agents gets the best of every single person on my team.

  43. 10:42

    I don't need to block on low signal code review in order to learn what it means to write a good QA plan. To have one engineer on my team document that in a durable way means every agent trajectory is going to get a good QA plan, and we can do this once in a high leverage way that

  44. 11:01

    we're able to stack on top of. So how can we get the agents to do a good job? What are some of the tools and techniques we have in order to essentially prompt inject our agents and continually remind them of what it means to make those specific choices that we expect around those non-functional requirements?

  45. 11:21

    And there's a bunch of ways we can do this. We can write good AGENTS.md files. However, with auto compaction, which is a thing that has continued to improve, GPT-5.4 and Codex is fantastic at auto compaction, I essentially never have to write /new anymore.

  46. 11:38

    I've got some pictures on my Twitter of me strapping my laptop into the back of my car so I can continue do-- running inference while I'm commuting to and from work.

  47. 11:46

    And in this world, you have to kind of build for that expectation that context will get paged out over time. We need to be continually refreshing context as the agent goes about doing a task.

  48. 12:00

    And the ways we can do that are by having reviewer agents look at the code along the way through the lens of what it means to be successful, right?

  49. 12:09

    We have security and reliability review agents in our code base that are continually running as part of every push in CI that look at those documentations and the proposed patch and do simple things like say, are there timeouts and retries on this bit of network code?

  50. 12:26

    Has the code that has been introduced have a secure interface that is impossible to misuse?

  51. 12:32

    I'm sure everyone here has been paged at some point for network code that failed in production causing an outage that could have been remediated by a retry and a timeout.

  52. 12:42

    And I know I'm guilty of putting that retry and timeout in, merging the bug fix, and otherwise ignoring that. I am not a reliable reviewer or author of code with respect to this non-functional requirement.

  53. 12:56

    However, taking the time to write some docs, write a lint that is bespoke to my code base that is gonna look at every time I call fetch to make sure that there's a retry and a timeout wrapped around it, means I've durably solved this problem, and I'm able to do it 'cause I lean on this axiom that

  54. 13:14

    code is free, that the agents are able to do a good job, that I can completely migrate the code base to solve this problem durably once and for all.

  55. 13:23

    And in order to kind of operate in this way, we need to step back and look at the durable classes of failures that the agents and the humans in the code base are making time after time, figure out why we're spending time on it, devise a solution to systematically eliminate this class of misbehavior, and then continue to

  56. 13:45

    observe, refine, and make additional choices on those non-functional requirements. One really neat trick I use here is that you can write tests about the source code as well that are separate from lints, right?

  57. 14:00

    If we know that context is limited, we can write a test that limits the fact that files are no longer than 350 lines. We're adapting our code base to the harness, to the models, to do a little bit of engineering to be context efficient and squeeze more juice out of the model capability that we have today.

  58. 14:22

    The other things we can think about are providing good error messages that give actual remediation steps to the model and to humans for how to proceed next. It's not enough to say we've got a lint failure because we're awaiting in a loop, or that we have an unknown at this deep part of the code base, and why

  59. 14:43

    is the model writing a function called isRecord? What we need to do is provide a prompt via a lint or a test failure that says, "No, no, no, you shouldn't have an unknown here at all because we parse, don't validate at the edge, and you certainly have a type here which was derived from Zod load-bearing infrastructure

  60. 15:03

    for our AI future." You can just prompt things. Everything I've talked about here today is a prompt. You can do this without touching the model weights at all.

  61. 15:19

    Kind of a funny digression here is it seems like each advancement we've had in the complexity of the way we write code to interact with these models comes from both increasing capability in the models and increasingly niche ways for injecting prompts into those models.

  62. 15:37

    Prompts, I'm sure you're aware, are prompts. Powers, prompts. Rules files, prompts. Skills, prompts. These lint error messages that I am talking about, prompts. Review agents that inject comments onto the PR that we require the agent to address before it is able to propose it for merge, prompts.

  63. 15:57

    You're gonna find lots of ways to insert prompts into your code, and one way you can do that is by embedding agent SDKs into your tests that are gonna review the code base for acceptability using prompts that get embedded into the code.

  64. 16:13

    And if I find myself spending a ton of time writing prompts, we can actually shell out to the agent for that as well. Uh, I've pointed Codex at all of the prompting cookbooks we have on the OpenAI developer guide and told it to synthesize a skill out of them for how to write prompts, which means when I

  65. 16:31

    find a need to write prompts in order to improve my agent performance locally in the code, I use the skill to write prompts that I wrote with the agent looking at the prompts to write the prompts [laughs]

  66. 16:42

    . All the leverage that you're encoding in, in to your repository, your team, and the agents in this way stacks incredibly well. To kind of pull back to this idea that a single product-minded engineer on my team was able to give us a big lift.

  67. 17:03

    They know what it means to write a good QA plan. To write a good QA plan, though, you have to document all the features that you have, the critical user journeys, and how users engage with your applications, web apps, APIs, and services.

  68. 17:17

    Once you write those down on how to write a good QA plan with the expectation that all user-facing work has a QA plan, now a review agent is able to assert expectations around what it means to prove that you have effectively written the feature.

  69. 17:33

    A QA plan indicates what media should be attached to the PR for the humans and agents to know that you've done a good job, which has the consequence of me trusting the output more, needing to shoulder surf the agent less, and removing myself from the loop even more to delegate more and more of the work to agents.

  70. 17:53

    And all of this is just making sure the agents have the tools and tokens and context to do the full job, to remove myself from the need as a synchronous driver.

  71. 18:07

    The models crave tokens. We can operationalize our code base to give them tokens to drive them forward using sub-agents and all these other techniques to refine the agent output.

  72. 18:20

    I'm excited to let you all know today, in the way you all do, that you can just go build things. Do not hesitate to remove yourselves from the loop by getting the agents to do the full job, because they can.

  73. 18:32

    Thank you.

  74. 18:34

    Very excited to bring on our guest. We've got Ryan Lopopolo today. He just gave the keynote. Um, very exciting speaker. The [REDACTED:gender] is full send hyper engineering at OpenAI.

  75. 18:46

    So, uh, a little bit of background. We did a Latent Space episode with him. We shipped it the other day. The, the story, he wrote this great article called Harness Engineering, and we're like, wow, this is pure gold.

  76. 18:57

    We have him on the podcast. He's a token billionaire spending over a billion output tokens a day. That's like over $1,000. So, you know, [REDACTED:gender] is really living it.

  77. 19:07

    Uh, we wanna keep this exciting, ask good questions, ask interesting stuff, ask things that people can learn from. But, you know, let's welcome Ryan onto the stage. [claps]

  78. 19:20

    Hi, folks. How's it going? Excited to be here. Uh, London has been fantastic and, uh, excited to kinda walk through what it is, uh, that we do and how we work here.

  79. 19:29

    I think you gotta come on this way.

  80. 19:30

    Oh, I do. I do.

  81. 19:31

    The camera is just here, so-

  82. 19:32

    I got blinded by the QR code

  83. 19:33

    ... it will be close to us.

  84. 19:33

    So we're good. [laughs]

  85. 19:35

    Okay. So background, we have about an hour. Um, scan this QR code. You should get Slido. Slido will let you ask questions. If you see interesting stuff, you can thumbs them up and we'll try to get through them.

  86. 19:48

    Unfortunately, the first one, I can't super do, but let's just kick it off. Ryan, can you show us your actual working setup- [laughs] ... with no laptop? Um, so-

  87. 19:57

    Uh, yeah, uh, here. Beach. [laughs] Margarita. Linear, right? [laughs]

  88. 20:04

    Oh, wow. Um, I'll say watch, watch the podcast we put out. We go through some of the work. But if you wanna talk about it, I guess, without actually showing us what's your, what's your workflow like, what's your setup?

  89. 20:14

    How do you, how do you approach a task?

  90. 20:16

    Sure. So, uh, the way me and my team work is to start with tickets, right? We have chunks of work that we want to do, features we want to add to our apps, reliability work that we want to do.

  91. 20:30

    Uh, we give that ticket to an agent along with a couple of skills that enable it to manipulate our app. Uh, we want the entry point to the development process to be Codex, not an environment which we build around it.

  92. 20:44

    So we kinda do things, um, outside in, right? Like Codex is the entry point, the same way you would be, and we give it tools, we give it instructions on how to cook.

  93. 20:53

    So rather than, like, creating a shell that our app and Codex gets spawned into, we have a skill that teaches Codex how to launch the app, that teaches Codex how to spin up that local observability stack to give it logging and telemetry.

  94. 21:06

    We give it a skill that enables it to, uh, boot up Chrome DevTools and attach to the application with a, you know, local CLI that will connect via some daemon that we have.

  95. 21:19

    So the whole way we have set up the repository and all of the local dev tools is for Codex to invoke them first. Um, that means we have kind of like a bunch of little mini harnesses within the code base that make it really easy for us to slot in additional guardrails.

  96. 21:34

    Uh, you know, a big package of custom ESLint rules which get wired into every pnpm package in the workspace. We have another sort of local dev harness that allows us to add sort of like higher level wholesome tests that assert the structure of the code itself rather than, like, either the syntax or the behavior of the code.

  97. 21:55

    Things like, you know, package privacy, dependency edges between different layers of our stack, these sorts of things. Uh, making sure that, you know, across multiple files, Zod schemas are deduplicated, that there's a single canonical implementation of like our async helpers, uh, these sorts of things.

  98. 22:14

    Because, you know, the way we have seen the agents work is to sometimes optimize for local coherence of a package rather than using like our shared utilities and things like that.

  99. 22:24

    So having observed that behavior, we kinda have built a bunch of little pseudo linter source code verification things that shake out some of that bad behavior, so the humans don't get distracted paying attention to that in reviews, stuff like that.

  100. 22:39

    But, uh, the setup optimizes for the agent to do the job and for the humans to not have to keep track of the high churn in the code base.

  101. 22:48

    Um, we kinda centralize our leverage around 5 to 10 skills. Uh, we don't go super wide on skills, preferring to make the existing skills better, because at least I find that the infrastructure within the repository, all the local developer tools, change super frequently, uh, and I don't really have the bandwidth to keep track of this.

  102. 23:10

    So we hide all that complexity beneath the skills that the human has to invoke and let the agent just kinda figure it out. One, one kinda neat thing here is, um, when we moved from using, uh, Chrome DevTools Protocol directly to having this like daemon thing, like I didn't know that had happened for like three weeks.

  103. 23:28

    Uh, it was like totally fine because Codex was able to do the thing, uh, you know, with the documentation and things that we had in place.

  104. 23:35

    And part of this you can get more detail in your article. So some background, you wrote a great piece called Harness Engineering. There's a whole section in there on how you thought about skills, thousands of skills versus simplifying it to just quite a few.

  105. 23:48

    But okay, uh, continuing on, how do you stop yourself from over-engineering harnesses? And a little bit of a similar follow-up is, do you often build small tools for yourself, if ever?

  106. 24:01

    Uh, do you, do you build custom tools?

  107. 24:04

    Yeah. So, uh, I think this is kinda gesturing in the direction of the bitter lesson here, right? Which is, how do I make sure the work that I do isn't like completely obsoleted by an increase in model capability?

  108. 24:15

    And the way I have thought about that is doing sort of the bare minimum amount of context management to kind of pull in requirements, uh, for the agent to do an acceptable job over the course of its work.

  109. 24:28

    And context is a thing that I don't think will ever be obsoleted, right? Like the, the models must be told, like- The requirements of the task, which guardrails to pay attention to, these sorts of things.

  110. 24:40

    So a good harness is really operationalized around giving the model text at the right time so it can look at the work it has done and the information around what a good job looks like.

  111. 24:51

    And, you know, fundamentally, the models are trained to follow instructions. All the harness should do is surface instructions to the model at the right time. So we do wanna minimize that too, right?

  112. 25:03

    You don't wanna front load all those instructions because then you kind of like overwhelm the agent, but all of these sort of requirements around what a good job do need to be paid attention to over the entire course of a PR, right?

  113. 25:15

    So figuring out ways to either defer or just-in-time surface those instructions is kind of what a, a good harness should do, right? If you know that, uh, you want your React components, right, to be decomposed so that they make good snapshot tests for individual, more stateless pieces, right, you don't need to load that up front.

  114. 25:37

    Instead, you should kind of let the agent cook and prototype and experiment with the UI you wanna build, and then at lint or test time say, "Okay, you've done the work.

  115. 25:46

    In order to finish it, you have to break this apart so that your components are small and as stateless as possible, and have local dependencies on hooks instead of prop drilling," or whatever it is that you want, uh, the code to look like.

  116. 25:57

    And then the agent will say, "Oh, this is a new instruction for me. Let me take the patch as written, modify it to make sure that it adheres to the instructions," and then up it goes to GitHub.

  117. 26:06

    And this sort of thing is not gonna be obsoleted by increases in model capability. It's really just about getting that right text, that right context to the agent at the right time.

  118. 26:17

    Can we talk about an example of a good harness? So a lot of people are asking about the Codex model, the Codex harness. How does that compare to other harnesses?

  119. 26:26

    So Claude Code, OpenCode, uh, how do you guys take these decisions into play? You don't work directly on Codex, but if there's you can-- if there's stuff you can speak about, about the Codex harness, what you guys see as you architect it out.

  120. 26:40

    Yeah. So one thing that I think is super powerful is this notion that the labs are not just post-training the models, but post-training the models in the context of the harness in which they are primarily deployed in, right?

  121. 26:53

    Like, the apply_patch tool or, like, the specific quoting semantics of how to invoke the bash tool are, like, in the loop for the post-training process for the harnesses from the labs, which means, like, there is leverage to be had by depending on these sort of, like, first party harnesses directly.

  122. 27:10

    At least this is what I believe. Uh, and as such, kind of being able to direct through them via things like the SDK or manipulating the Codex app server directly means you kind of get to ride the wave of all that leverage in post-training.

  123. 27:26

    Instead, focus on the parts that you care about, which is, like, what correct code looks like. Um, I kind of have high confidence that things like Claude Code and Codex will continue to get better.

  124. 27:38

    Uh, that is the responsibility of, like, the teams working on these coding agents. So in my role, where I don't really want to focus on the coding harness at all, is figuring out ways to plug into them in ways that, um, kind of, like, steer the agent.

  125. 27:55

    That means my job can k- sort of, like, move up to thinking about differences in model behavior between releases rather than deeply understanding the nuts and bolts of the harness.

  126. 28:05

    Instead, I can think about what it means to, you know, drive the behavior that I want verse, uh, based on the observed behavior rather than, like, the inner mechanics of the thing.

  127. 28:14

    It's a perfect follow-up to the next question, which is, uh, do you have any recommendations for collaboration platforms? So when you're in the software development life cycle, is there any platform that you use for agents, engineers, developers, all to collaborate on working on anything?

  128. 28:29

    Any tips? Any tools?

  129. 28:32

    Yeah. So in this world, it has largely been just markdown files in the repository and GitHub. They have been the primary sort of hub and spoke sort of thing.

  130. 28:46

    If you think about collaborating on a document, like you open Google Docs, you write something, you ask for feedback, people comment, you apply suggestions, these sorts of things, this is kind of like a little clean room environment just for this work artifact that you're producing.

  131. 29:01

    Like a PR kind of has a similar purpose, so we kind of treat that as a big hub and spoke broadcast domain where all of the agents and humans collaborate together.

  132. 29:12

    Uh, and because we optimize for throughput, we don't block on any sort of, like, contribution to that. Like, folks can either review or not, agents can either review or not.

  133. 29:21

    The implementation agent can acknowledge, defer, or reject any feedback that it gets, uh, really allowing each participant in the production of diffs to kind of make their own judgments around what it means to deliver, receive, respond to feedback.

  134. 29:37

    Uh, and this has the nice property of, like, not putting the model in a box in a bunch of places. We want them to use their good reasoning sort of thing.

  135. 29:47

    So being super prescriptive around, like, every bit of feedback must be addressed can kind of have this, like, catastrophic failure mode of your coding agent being bullied by all of the reviewers when really we want a bias toward code being accepted, not perfect, not drowning in minutia and these sorts of things.

  136. 30:06

    How should people get started with using coding agents? People that have been using a lot of-- doing a lot of manually written code, how, how do they start to transition?

  137. 30:15

    What should they offload? How do they kind of come over that barrier of, "Okay, I'm still checking every PR, I'm copy pasting from Codex"? W- How should, like, the average engineer start to use these tools?

  138. 30:28

    I think there's two ways to approach this problem. One is to start using the coding agents to improve your confidence in the code itself as it is written today, right?

  139. 30:39

    I think we would all agree that, like, more tests is probably a good thing, right? To assert the... Our programs are well specified and behave correctly as our users interact with them is a good thing.

  140. 30:51

    Uh, and the agents are super good at looking at the existing code with some context around how it is meant to be used, and writing tests, uh, that assert that behavior.

  141. 31:00

    So kinda using this to improve your confidence in the quality of the code will also increase the agent's ability to successfully navigate it, which means you don't have to worry as much around doing super detailed review of the agent output.

  142. 31:16

    The other way to think about this is to look at how you are spending your time. Is it, you know, staring at your editor writing code? Is it waiting for tests to run?

  143. 31:26

    Is it waiting for human review feedback? Is CI slow and you're, like, waiting on that? Maybe you have a ton of flaky tests. And using the agents to incrementally automate the parts where you are spending your time.

  144. 31:40

    'Cause ultimately, the high leverage parts of our jobs is to define the work that must be done, prioritize and schedule that work, and then effectively empower folks on our team to do that work.

  145. 31:52

    Uh, and the more and more we can delegate and move into sort of this, like, sequencing and orchestration role, even if, if you just think about, like, managing your teams, right?

  146. 32:02

    The more parallel and the more, like, deeper individual executions of those delegations we're able to do, right? If I put primitives in place that make it super easy to, like, spin up ways to res- respond to events on my Kafka queue, right?

  147. 32:16

    Like, I don't really need to be in the weeds with every engineer making sure they, like, implement a consumer correctly, right? And these same sort of, like, building block style techniques apply really well to the agents and stack really well, too.

  148. 32:29

    A fun one. How do you work with agents in your car? [laughs]

  149. 32:34

    Um, so I have not used the new, uh, voice mode that launched in CarPlay, uh, recently. Uh, not ready for that. But, uh, usually what I'll do is kick off, um, a task, uh, right before I leave the office, uh, tether my laptop to my phone, buckle it into the backseat, and kinda let it cook in the

  150. 32:54

    30 minutes it takes me to get home. Uh, most of the time, with the skills we invoke that tell the agent, you know, you're operating on a task, you go until the tests are green, uh, you know, I don't have to reach back there and poke yes, continue onto the thing.

  151. 33:06

    Uh, and I'm basically able to more fully saturate, you know, my day with token consumption. Um, the dream here is that I actually have 50 agents running 24/7, and I don't have to interact with them at all.

  152. 33:21

    Uh, and the way to do that is to define the work well, figure out ways for it to automatically be scheduled, and remove myself from having to click the button, right?

  153. 33:30

    Every time I have to type continue to the agent is, like, a failure of the harness to provide enough context around what it means to continue to completion.

  154. 33:39

    Wow. Good, good statement at the end there. [laughs] Every time you have to interact with the agent is a failure. Okay, so the following question kind of scales this out, right?

  155. 33:47

    As your org knowledge map scales, what practical steps do you have to, like, enable progressive disclosure? So as you have a larger and larger code base, as you have more people, how do you scale your agents to work better with this?

  156. 34:01

    Yeah. So when I sort of initially started this project that I was working on, blank repository, create Electron app, right? You know, VEAP, single package, all this sort of stuff, and eventually ended up with a mess, right?

  157. 34:16

    Because there's no package privacy that allows me to enforce invariants around what APIs are public versus which ones are not. The agent didn't have, like, concrete hooks in the file system to determine which domains were separate from the other ones.

  158. 34:31

    So we ended up going, like, full 10,000 engineer organization heavy on the architecture, 750 packages in the pnpm workspace, isolated by business logic domain or layer of the stack, individual small util packages that encapsulate reusable functionality that we lint on being used, that we can encode leverage in.

  159. 34:53

    And I do think that, like, in this world, even if you don't actually have microservices, structuring your repositories in ways that you can actually scope, like, the directory subtree you are looking in to be able to do most of the change helps.

  160. 35:09

    Uh, and, you know, code in the file system is also text, which means it's effectively prompts that you're giving to your coding agent. Uh, so making the code as much the same as possible kind of makes it so that regardless of where in the repository your agent is looking, it develops a ton of transferable context, right?

  161. 35:30

    Like, you should have one way to, like, do a bounded concurrency helper. You should have one way to construct a observable and instrumented side effectful command. You should have one ORM, right?

  162. 35:44

    Like, you should have one programming language. You should have one way of writing CI scripts. You should have one way of adding additional lint rules, these sorts of things.

  163. 35:50

    Because it means that, like, the tokens that you want the model to produce are easier to predict and more consistently predicted regardless of where it looks. Um, so I would say figure out ways to structure the code so it is local to a subtree in the repository for most of the ways you would interact with that system,

  164. 36:08

    and then figure out a way to use these agents to completely migrate the code base to be the same. You know, empower someone on your team to be a dictator, to say, "This is the way it must be done," right?

  165. 36:17

    Or, you know, figure that out together. And, you know, write it down, wr- m- evolve the code so that it reflects that reality, these sorts of things.

  166. 36:26

    We've got a few questions on code review.

  167. 36:28

    Sure.

  168. 36:29

    How do you approach code review now that you have such high velocity? Uh, do you just not read the code? Do you just test, trust the test coverage? Uh, how do you write good tests?

  169. 36:38

    How do you offload that stigma of, like, you know, you have a mental blocker, I need to manually check everything before I merge PRs?

  170. 36:46

    So that same sort of idea where you have to look at where you're spending your time and figure out ways to spend less of it. Uh, you know, when we started, right, the first thing to do was figure out how to get the agent reliably producing code that we would accept.

  171. 37:02

    And a big challenge we ran into is with each engineer producing three to five PRs per day, even on a team of three, merge conflicts were super miserable, right?

  172. 37:13

    Because these PRs tended to be pretty big. We were working on the same parts of the code base. So that's where we moved in two directions. One was to, like, tree out the code a bit more to minimize these merge conflicts, but also minimize the amount of time PRs were open, so that we were, uh, reducing the

  173. 37:30

    likelihood of a merge conflict actually occurring. And the reason PRs were staying open so long was because we needed code review, uh, because humans were being the blocker in this scenario.

  174. 37:43

    So in order to do that piece automatically, I essentially asked every engineer on the team to take one day a week, Fridays, we called it Garbage Collection Day, where our entire job was to take every bit of slop we had observed over the course of the week that was making a PR difficult to merge, and figure out

  175. 38:06

    ways to categorically eliminate it from ever happening in the first place, which is where we kind of started closing this loop between the feedback that humans were giving on the PR indicates some context failure on behalf of the agent, getting that into the repository, and then figuring out ways to automatically prompt inject the agent so that it

  176. 38:24

    would self-heal when it produced this bad behavior. And this is kind of how you go from synchronous human time spent giving feedback as code review comments, to documentation in the repository, to automatically surfacing this documentation either via a failing test or a reviewer agent who is primed to review the code as written in the context of these

  177. 38:44

    docs. But all of that happens by putting those docs in a single place that all these processes are able to attach to. Um, you know, we kind of asked folks to basically bucket the types of review feedback they were giving into, like, um, like the persona they were operating as.

  178. 39:01

    Like front end architect, you know, reliability engineer, scalability sort of thing. And then basically for each of those personas, we spun up a review agent that gets triggered on every push that says, "Is this code good?

  179. 39:13

    Surface any P2s or above that would block this PR from merging based on these documentation that says what good looks like." Uh, and with that, and just continuously appending to these files, we started to see slop reduced, reduced, reduced.

  180. 39:28

    People have questions about your billion tokens. Where do you think those are split up? So how much of it is on code review? Where, where is the majority of that usage coming from?

  181. 39:38

    And a follow-up, for people that are just getting started, say they have- they've jumped and done a $200 pro plan, right? If you had to cut your usage by a fifth, how should people maximize their usage, right?

  182. 39:51

    You run into usage limits. Um, you know, you don't want to just copy paste a million lines of code every six hours, no prompt hit- prompt cache hit. But how should we, how should we think about that?

  183. 40:01

    Yeah. So I would say probably a th- it's probably a third, a third, a third between, like, planning, ticket curation, documentation, implementation, and stuff that runs in CI.

  184. 40:18

    Do you use plan mode?

  185. 40:20

    Uh, we- uh, I've used ExecPlans, which was kind of like an early version of this that we published, which is sort of like a proto skill that says, "This is how you should structure a plan with milestones and acceptance criteria."

  186. 40:32

    Um, haven't really used plan mode as part of the harness at all. My, my sort of expectation here is that I should be able to drop a ticket in and have it do the job anyway without diverting through a plan.

  187. 40:43

    Uh, because most of the time I'm never gonna read it anyway. [laughs] Uh, so I find that if you do use a plan and you approve it without reading it at all, you're actually encoding a bunch of instructions that you don't necessarily want followed.

  188. 40:55

    Uh, so if you are gonna use plans, my recommendation is to push those up as single PRs with just the plan, where you actually have human review every line of it and, like, block on human approval before they get merged and then kicked off.

  189. 41:10

    Uh, because it's- you're effectively potentially wasting your time on a rollout with instructions that, like, are bad. Uh, so you wanna kind of, like, minimize the time that happens.

  190. 41:20

    But I do think that, uh, kind of getting tokens to be spent in CI is a necessary part here because writing code no longer is the hard part. Like, getting code accepted and advancing the code and product forward is, like, what it takes to make that written code be valuable.

  191. 41:38

    And, you know, we kind of have all heard the aphorism that, like, you know, senior engineers give good code reviews. Like, we expect our senior engineers as agents to do the same. [laughs]

  192. 41:49

    Uh, someone asked, "Is code a disposable build artifact?"

  193. 41:53

    Yes.

  194. 41:53

    Yes. [laughs]

  195. 41:55

    Uh, I think we, we touch on this with, uh, Symphony, which is sort of this agent orchestrator that we released. This idea that, you know, we can publish a library that's actually a super well-defined spec that the code is a compiled artifact of.

  196. 42:11

    And I think, like, using LLM as fuzzy compiler is, like, an interesting mental model to have, right? Like, all of the context that we're putting in the code base for Harness engineering is effectively, like, constraints and optimization passes on which code is acceptable to build in the first place.

  197. 42:31

    Uh, and this is pretty similar to, like, the static analysis and optimization passes that something like LLVM would do in the process of compiling Rust code. Uh, and sort of- Swapping out one model for another is sorta like changing your code generation backend from, you know, LLVM to Cranelift in the Rust compiler.

  198. 42:52

    And you would expect that all of the sort of rules around what acceptable Rust code looks like produce valid, sound machine code out the back, even if the generation process is different and you end up with different x86 instructions.

  199. 43:07

    So same sorta mindset for LLMs swapping out different models sorta thing. We want the structure around the code to basically limit

  200. 43:17

    how it is written to things that would be acceptable to us.

  201. 43:21

    At a high level, can you give us a picture of what future you're building for? Does context still matter? How do people do engineering? Harness engineering, context engineering. What does the future look like?

  202. 43:35

    Sorta the, the future that I wanna build toward here is where

  203. 43:40

    I'm able to take a token budget and a

  204. 43:45

    quarter, a half, or a year's worth of work,

  205. 43:50

    take the human input to rank what is most important, success metrics, reliability metrics, give it to the machines, and have them continually work and advance my product forward, uh, without sort of, you know, my hands explicitly on the wheels at all.

  206. 44:06

    We ... As we have gone through, like, very early prototyping to internal alpha, internal beta, external alpha, I kinda have felt that, like, new parts of the software engineering process have kinda, like, started from zero, and we've had to build up capability.

  207. 44:23

    Kinda like these, like, you know, pentagonal, like, personality charts, right? Where, like, I spike in this direction. Maybe I'm weak over here. And, you know, when we get to deployed software for the first time, right, the agent's ability to do, like, QA smoke testing on our built artifacts before they're promoted to distribution was weak.

  208. 44:44

    We hadn't invested any time in this. There were no docs. There were no tools that the agents could use to, like, download the built artifact, launch it, poke around to make sure that our, like, most critical user journeys were well-validated and tested.

  209. 44:56

    So because I don't wanna be touching the computer, we needed to figure out, like, ways for the agents to build themselves tools to do that part. Uh, and

  210. 45:07

    there's a whole universe of software engineering outside of writing code, right? Like, I am triaging user feedback. I'm triaging pages. I am making sure that we don't have any PII leaking in the logs in production.

  211. 45:20

    I'm making sure that, like, the Twitter vibes are good and people are enjoying my software, that, uh, our user operations staff are supported with well-written runbooks that allow them to triage and mitigate high-volume user issues.

  212. 45:35

    And then moving that into the code itself so they don't happen in the first place. And

  213. 45:40

    as I no longer have to produce code, like, my mind can shift to these other higher level or more squishy activities, but the agents are good enough to do these things, too.

  214. 45:49

    And figuring out how to, like, write down the processes and the acceptance criteria becomes, like, the sort of, like, meta programming part of the job using these agents.

  215. 45:57

    I think that's a great way to end it. What an exciting future. Give it up for Ryan, guys.

  216. 46:01

    Thank you, folks. [audience applauds] [upbeat electronic music]