Evolution of AI Agents: From Manual Workflows to End-to-End Training

openai · Tech · 2024 · source Agentic: yes · promotional bias: low · 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: agent model training and productized agent systems

OpenAI's agents team describes the shift from human-designed LLM workflows toward end-to-end trained agents because multi-step workflows suffer compounding errors and oversimplify messy real-world task processes.

Constraints:

Architecture

OpenAI's direction is to train models end-to-end with reinforcement learning on complete workflow-like tasks, then expose those capabilities through products such as Deep Research, Operator, and Codex CLI. The architecture increasingly moves task decomposition and recovery into the trained model, while product surfaces add clarification loops, browser or filesystem tools, sandboxing, site-specific instructions, repository customization, and open-source community feedback.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  end-to-end-trained-model["End-to-end trained model"] --> deep-research["Deep Research"]
  deep-research --> clarification-loop["Clarification loop"]
  clarification-loop --> end-to-end-trained-model
  end-to-end-trained-model --> operator["Operator"]
  operator --> site-specific-instructions["Site-specific instructions"]
  site-specific-instructions --> operator
  end-to-end-trained-model --> codex-cli["Codex CLI"]
  codex-cli --> network-sandbox["Network sandbox"]
  network-sandbox --> codex-cli
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
End-to-end trained model Learns complete task trajectories and failure recovery through reinforcement learning. Deep Research, Operator, Codex CLI
Deep Research Agentic research product that searches, asks clarifying questions, and produces detailed reports. Clarification loop
Clarification loop Asks follow-up questions or accepts refined prompts to improve research output. End-to-end trained model
Operator Browser-based agent that navigates websites and completes tasks in a virtual browser. Site-specific instructions
Site-specific instructions Custom instructions that make repeated browser tasks faster and more repeatable. Operator
Codex CLI Open-source local coding agent that explores repositories, patches files, and runs tests. Network sandbox
Network sandbox Limits network access while the local coding agent works on a user's machine. Codex CLI

Data flow

A user delegates a research, browser, or coding task; the agent uses model reasoning and tools to explore the environment, recover from failed steps, ask clarifying questions when useful, execute actions in a browser or local codebase, and return a report, completed task, or code patch.

“the key is really like um reasoning models uh powered that are trained end to end to solve the kinds of tasks that users need them to solve”transcript, stated
“this agent um is able to use your computer um to you know navigate the file system, find the relevant files, understand how they work”transcript, stated

Why this architecture

The team argues that training agents on full trajectories is more robust than manually wiring many LLM calls because trained models can see failures, recover, and generalize beyond the workflow structure a human would have guessed in advance.

“small errors at one step um compound as you take multiple steps.”transcript, implied
“models um are able to learn how to use tools really effectively to achieve their goals.”transcript, stated

Models used: Reasoning models · Reinforcement learning trained agents · Deep Research · Operator · Codex CLI · o3 · o4-mini

Scale

Alternatives considered (roads not taken)

Human-designed multi-agent workflows.

Rejected because: They suffer compounding errors and may oversimplify how real expert workflows proceed.

“a human designs a system and that system kind of breaks the problem down into multiple steps. um it assigns each of those steps to an LLM.”transcript, stated

Single-shot answers instead of Deep Research.

Rejected because: Some tasks need a much more thorough answer and benefit from clarification before research begins.

“you just really want a much more thorough answer than you get out of the box with chat GBT.”transcript, stated

IDE-only AI coding assistance.

Rejected because: The CLI agent is positioned for delegated de novo or separable chunks of work rather than inline suggestions only.

“these agentic tools um are better for like um or at least I find myself and a lot of folks find themselves using them more for like denovo type work”transcript, stated

Patterns

eval-driven-development (RL trajectory training)

Agent models are trained against complete task success so they encounter and learn recovery from failures during training.

“they see failures during their training and they learn to recover from those failures.”transcript, stated

tool-use-orchestration (agent tools)

Operator uses a browser, while Codex CLI uses filesystem and command-line tools to complete delegated tasks.

“the agent kind of navigate to the web page uh kind of click around the web page and uh do the task that you asked it to do.”transcript, stated

human-in-the-loop-gate (research clarification)

Deep Research asks follow-up questions and can return interim findings for user feedback during long-running work.

“in deep research, there's this phase in the beginning where it'll ask you a few follow-up questions.”transcript, stated

context-compaction (codebase exploration)

Codex CLI is described as contextless at task start, forcing it to explore only the files and information it needs.

“codec cli you can almost think of it as like a contextless tool.”transcript, stated

Tradeoffs

Train agents end-to-end.

Chose RL-trained trajectory models over Manual multi-agent workflows around API calls.

Rationale: End-to-end training lets the model learn recovery and task-specific process control instead of relying on brittle human decomposition.

“we um need to directly train these agents end to end to do these workflow like tasks.”transcript, stated

Launch Operator as an early product surface.

Chose Technology preview with power users over Waiting until every user could rely on it daily.

Rationale: The product gives users value and a feel for the direction even though it is not yet for everyone.

“it was meant to be kind of like a an you know an early launch of this technology so that people um could find could get value from it”transcript, stated

Run Codex CLI locally with sandboxing.

Chose Local code execution with network sandbox over Unrestricted remote automation.

Rationale: The agent can work on the user's laptop while limiting network access for safety.

“it's able to do it in a um in a network sandboxed way. um meaning that it can just go and kind of work for you in a way that is it is safe”transcript, stated

Gotchas (what bit them)

Small step errors compound across agent trajectories.

Root cause: Most LLMs were historically not trained for full agentic workflows.

Resolution: Train agents end-to-end so they encounter failures and learn recovery strategies.

“historically have not been trained to do agentic work.”transcript, stated
“as you run a process that requires many steps, the small errors at one step um compound as you take multiple steps.”transcript, stated

Human-specified workflows can be too simple for real-world tasks.

Root cause: The real world is messy and expert processes do not always fit a planned decomposition.

Resolution: Let models learn complete processes through reward and trajectories instead of hand-designing every step.

“the the real world is messy and your that model that you built the that model that you built that sort of that workflow that you built might be an oversimplification”transcript, stated

Deep Research output quality depends on framing.

Root cause: The model follows the initial research framing closely, so vague questions can produce less useful reports.

Resolution: Use follow-up questions or a smaller model to help flesh out the research question before the run.

“you get better results if you put time up front into thinking about what you really want to see at the end.”transcript, stated

Evaluation

The talk frames evaluation as full-task reinforcement learning, product usage feedback, user interaction observation, and practical success of products such as Deep Research, Operator, and Codex CLI.

Metrics: Complete task success · Failure recovery during trajectories · User value and adoption · GitHub stars and contributors · Research result quality · Repeatability of site-specific instructions

“learn how to do the process by being rewarded um for succeeding at the process”transcript, stated
“people at OpenAI use it a ton. Um there's like more than 20,000 stars on GitHub, which is amazing to me.”transcript, implied

Outcomes

The talk cites products used for business, research, scientific, travel, shopping, and programming workflows; Codex CLI had more than 20,000 GitHub stars and around 100 contributors.

“Zoya operator deep research and codec cli I think are all good examples of agentic systems.”transcript, stated
“there are power users who love it um but it's not for everyone yet.”transcript, stated