Machinery Learning

Part 2: Agents · Chapter 4 of 5

Agents at work: code, computers and long tasks

Agents do best where every step can be checked. What they handle today, how long a job you can hand over, and why benchmark results and real work disagree.

About 13 minutesUpdated November 2026

After this chapter you can

  • Predict where agents do well: tasks where each step can be checked
  • Read a time-horizon number correctly
  • Explain why benchmark scores and everyday results disagree

The first three chapters of this part explained how an agent is put together. This one asks what it actually gets done, which depends less on how clever the model is than on one property of the task: can anyone tell, cheaply and right away, whether a step worked?

Why code came first

Programming is the clearest case of a task that answers back. A coding agent reads the project, makes a change, runs the tests and reads the result, as the agent loop chapter showed step by step. A failing test is a spirit level: precise, cheap and outside the model. That’s why coding agents became the first agents many people use every day, and why their weak spots sit where tests are missing: design decisions, unclear requirements, code nobody wrote tests for.

The evidence on whether they make developers faster keeps shifting. In METR's 2025 randomised trial, experienced developers were 19% slower with AI tools while believing they were about 20% faster; a 2026 follow-up hints at a speed-up with newer tools, on weak evidenceNov 2026. Other evidence points the other way. Three field experiments with software developers at Microsoft, Accenture and a Fortune 100 company found about 26% more completed tasks with an AI assistant, with the biggest gains for less experienced developersNov 2026. Speed isn’t the only measure either: surveys link AI tools to more output and to less stable software, and many developers describe answers that are almost right.

Computers and browsers

Computer-use agents work an ordinary screen. Each step, they get a screenshot (and sometimes the page’s underlying structure), decide where to click or what to type, and the harness carries it out. That opens every application with a screen, but the feedback is much weaker than a test result: a click can land, a page can change, and nothing tells the agent whether it’s closer to the goal.

The usual test is OSWorld, a set of everyday computer tasks. Its first version used short tasks, so researchers built a harder successor with long, realistic workflows. On OSWorld 2.0 (June 2026), whose workflows take people a median of about 1.6 hours, the best model at launch completed only 20.6% of tasks, despite a partial-credit score of 54.8%; by October an outside tracker of mostly vendor-reported results listed 32.0% as the best strict score, with partial scores above 75%Nov 2026. Partial credit and finished work are very different numbers. The reasons are telling: its authors found that agents lose track of constraints, miss information that arrives mid-task, and guess instead of askingNov 2026. Those are failures of keeping track and knowing when to ask.

How long a job can you hand over?

The most quoted measure of agent progress comes from METR, an independent evaluation group. Its time horizon asks: how long a task, measured by how long a skilled person needs, can an agent complete at a given success rate? METR reported in November 2026 that the length of tasks frontier agents can finish half the time now doubles roughly every 3.6 months, though it sees no obvious acceleration across all public modelsNov 2026. Its estimates come with very wide error bars, which is one warning. The gap between success rates is another:

How long a task can you hand over?

    Task length is how long a skilled person needs, not how long the agent runs. Point estimates from METR's public data (task suite 1.1; GPT-2 and GPT-3.5 come from the earlier suite); the uncertainty around each value is wide. The newest models, measured on METR's harder 2026 suite, are not in this file.

    At 50% success, the newest model in this data handles tasks of about seventeen hours. Demand four successes in five and the same model manages about three. Most real work needs the second kind of number, or better. METR itself warns that a time horizon is not how long an AI can work on its own, and that it does not mean tasks under that length can be handed overNov 2026.

    Where experts disagree checked Nov 2026

    Do time-horizon charts show agents racing towards doing real work on their own?

    The chart that doubles every few months is the most quoted evidence about agent progress.

    Yes, the trend is real and fast

    METR

    • The task length agents finish half the time has doubled roughly every 3.6 months since 2024.
    • Models saturated METR's earlier task suite within a year, forcing a harder one.
    • At 50% success, the best agents now take on tasks that take skilled people days.

    Sources: metr.org · arxiv.org

    It measures difficulty, not independence

    METR's own limitations note; Rabanser, Kapoor, Narayanan and colleagues; Epoch AI

    • A time horizon is task difficulty in human hours, at 50% success; it is not how long an agent can work alone.
    • Reliability has improved far less than headline capability.
    • Graded on real research work, no model met the standard expected of staff on any task.

    Sources: metr.org · arxiv.org · epoch.ai

    What would settle it: Time horizons at high reliability (80% and above) on messy, real tasks, tracked over time.

    Why the benchmarks keep dying

    Agent benchmarks wear out fast, for four recurring reasons: the best models max them out; their tasks leak into training data; some tasks turn out to be broken; and agents learn to game the scoring. In February 2026 OpenAI stopped reporting the SWE-bench Verified coding benchmark: every frontier model it tested had seen some answers in training, and most audited failures had flawed testsNov 2026.

    The deeper problem is that a score measures success on a fixed set of tasks, not dependability. A 2026 study of agent reliability (Rabanser, Kapoor, Narayanan and colleagues) found that recent capability gains have brought only small improvements in reliabilityNov 2026. Judge agents on your own tasks, at the reliability you actually need.

    Engineer depthEvaluating an agent for your own work

    Vendor tables and leaderboards tell you little about your use case. Build a small evaluation of your own before you rely on an agent.

    Use your tasks, held out. Collect twenty to fifty real tasks with known good outcomes, and keep them out of prompts and examples. Public benchmarks leak into training data; yours shouldn’t.

    Score completion, not effort. Partial credit flatters. Decide what “done” means per task, check it automatically where you can and by hand where you can’t, and report the binary rate next to any partial score.

    Run each task several times. Report how often an agent succeeds on every run, not just once. If a task must work 95% of the time, measure at that level. Time-horizon charts at 50% won’t tell you.

    Include cost and time. Record tokens, money, wall-clock time and the human time spent reviewing. An agent that saves an hour of writing but needs an hour of careful review hasn’t saved anything.

    Look at the transcripts. Scores hide how a result was reached. Read samples of successful runs as well as failed ones: agents sometimes reach the right answer for the wrong reason, or quietly work around the test. The next chapter is about those failures.

    Hold the harness constant. A score belongs to a model, a harness, its tools and its settings together. Change one at a time, and re-run when any of them changes. More on the productivity evidence. Google's DORA 2025 survey linked AI adoption to higher software delivery throughput, but still to lower stabilityNov 2026. In Stack Overflow's 2026 survey, 48% of developers said they trust AI output when they can easily verify it, and only 6.6% trust it for important work decisions; a year earlier, 66% had cited AI answers that are almost right, but not quiteNov 2026.

    Baselines and error bars. On OSWorld, a widely used test of everyday computer tasks, people succeed about 72% of the timesource. In that update, the two best models reach a 50% time horizon of about 40 hours, with 95% intervals that run from about 12 hours to well over a thousandNov 2026. METR says it is increasingly concerned that its easy-to-run test tasks overestimate what agents can do in the real worldNov 2026.

    Benchmarks versus real work. Gaming can be blunt: one large evaluation of agents caught them searching for the benchmark online instead of solving the taskNov 2026. And when evaluators move from benchmarks to their own messy work, the picture changes again: when Epoch AI graded six frontier models on its own research tasks in November 2026, none met the standard it expects of its staff on any taskNov 2026.

    Recall. An agent's 50% time horizon is about seventeen hours. What can you safely conclude?

    Apply it. Which of these is the best first job to hand to an agent?

    Spot the mistake. A manager reads that an agent tops a coding benchmark and concludes it can clear the team's backlog on its own. What is wrong?

    Remember this

    • Agents do best where the world answers back at every step. A test suite is the clearest example.
    • A time horizon at even odds is not a promise. At higher reliability, the same agent manages much shorter tasks.
    • A benchmark score describes fixed tasks. Judge agents on your own work, at the reliability you need.

    Further reading

    Spotted a mistake? Report it on GitHub. Every fix is listed in the monthly field notes.

    Contents

    In this chapter

    Agents at work: code, computers and long tasks

      Part 1: Language models

      1. 1Start here6 min
      2. 2Tokens10 min
      3. 3Attention10 min
      4. 4The stack9 min
      5. 5Generating12 min
      6. 6Training11 min
      7. 7Beyond autocomplete15 min
      8. 8Strengths & limits12 min

      Part 2: Agents

      1. 1The agent loop12 min
      2. 2Context and memory13 min
      3. 3Around the model12 min
      4. 4Agents at work13 min
      5. 5Agent failures13 min

      Part 3: Trust & security

      1. 1Prompt injection14 min
      2. 2Agents and permissions13 min
      3. 3Supply chain12 min
      4. 4Your data12 min
      5. 5Patch gap12 min
      6. 6Judging claims15 min

      Part 4: Looking ahead

      1. 1Frontier11 min
      2. 2On one page4 min

      Guide

      Settings

      Engineer boxes
      Text size
      Theme