WhoBuilt

Claude for Long-Horizon Tasks

Jul 22, 2026· 25 min· 20K views·Watch on YouTube

Speaker

Lance Martin of Anthropic discusses how to build reliable long-horizon agents at the AI Engineer conference.

Longer task horizons change the product

Martin describes models progressing from roughly 10 to 20 minutes of autonomous work in the Opus 3 era to about an hour for synchronous coding agents. He argues that async agents become useful when models can work longer, and outlines a progression from the Messages API to the Agent SDK and Managed Agents, which include deployment infrastructure.

Separate the harness from execution

Managed Agents separates the harness, or “brain,” from execution containers, or “hands.” The harness talks to a persistent, append-only session log, while credentials stay in a separate vault. If a harness or container fails, the session remains available, and the model can retrieve earlier context rather than relying only on a compacted summary.

Use independent verification loops

Martin recommends giving a separate verifier its own context, goal, and rubric to check the work of a build agent. The loop continues until the verifier confirms a measurable outcome. In a Parameter Golf experiment, he used this approach to have models complete 20 iterations and satisfy the benchmark’s experimental criteria.

Let memory improve during and between tasks

Martin distinguishes in-band memory, which an agent writes while working, from an offline “dreaming” process that reviews sessions and corrects stored memories. He describes Claude’s progress in writing strategic memory across model generations, including a Pokémon example where an incorrect location note caused repeated backtracking in five out of five runs; dreaming corrected it. He advises using a flexible memory substrate, such as files or a database, rather than prescribing a rigid schema.

Build shared, proactive agent harnesses

Martin describes Claude Tag as an organization-level harness that multiple people can use, with its own identity, credentials, and access to shared context. He says this can help teams check work, reduce duplicate findings, and give new employees a configured starting point. He expects async agents to become more proactive and to support concurrent direction from multiple users.

Takeaways

  • Design async agents around task horizons long enough to make unattended work worthwhile.
  • Keep session state durable and separate credentials from the agent’s execution environment.
  • Use a separate verifier context with a measurable outcome to guide repeated work.
  • Let agents write flexible memory, then use offline review and evaluations to correct it.
  • Consider shared harnesses when teams need common context, proactive updates, and access across users.

Mentioned in this talk

Search inside this talk

What was claimed 12

  • works at
    Engineer (agents)
    “our view of async agents at Anthropic”
    YouTube
    Verified2 sources· Talk, Web· archived
  • metric
    METR: Opus 3-era models could do about 10 to 20 minutes of autonomous work
    “models could only do maybe 10 to 20 minutes of autonomous work”
    YouTube
    Unverified1 source· Talk
  • metric
    Claude Code: Coding agents could do about an hour of work
    “models could then do maybe an hour of work”
    YouTube
    Unverified1 source· Talk
  • feature
    Claude Managed Agents: Packages the agent harness and managed deployment infrastructure
    “packages both the harness and all the managed deployment infrastructure”
    YouTube
    Unverified1 source· Talk
  • feature
    Claude Managed Agents: Decouples the harness from execution containers; session state is backed by an append-only log and credentials are stored separately
    “the session is always backed up in this append-only log, and credentials are never actually added to the sandbox”
    YouTube
    Unverified1 source· Talk
  • feature
    Claude Managed Agents: Supports one harness managing multiple execution containers
    “one harness access to many different containers”
    YouTube
    Unverified1 source· Talk
  • feature
    loop stacking: Uses an independent verifier context to assess work against a goal or rubric until the desired outcome is verified
    “The verifier has a goal or rubric and verifies the result or work of the build agent”
    YouTube
    Unverified1 source· Talk
  • built
    “a benchmark set up by OpenAI”
    YouTube
    Unverified1 source· Talk
Show all 12 facts

Related talks