L2 The agent loop

Loop discipline

One plain loop runs the agent: call the model, run the tools it asks for, and repeat until it answers.

Settled practice

Why it matters

The loop is where every other safeguard hooks in. A hidden scheduler, a swallowed error or a stale message list makes a run hard to follow, resume or trust.

What to build

One explicit loop over a closed outcome type

The default the research recommends. The reasoning and the code behind it are in the app.

What it takes, by kind of agent

  • Conversational assistantMust-have
  • CodingMust-have
  • Deep researchMust-have
  • Browser/GUIMust-have

What these levels mean

How well it is studied

Harnesses checked
31
Checked facts behind it
269

See the 269 checked facts and how each harness does it

The facts, the code lines they come from and the rules for this topic are in the app. Sign in with Google; new accounts are approved by hand.

Also in L2 The agent loop

  • Fresh look each stepSettled practice

    Rebuilds what the model sees from the saved record and a fresh look at the world before every step.

    • Assistant Must-have
    • Coding Must-have
    • Research Must-have
    • Browser Must-have
  • BudgetsOpen problem

    Caps on money, time, tokens and repeated actions that stop a run cleanly when one runs out.

    • Assistant Must-have
    • Coding Must-have
    • Research Must-have
    • Browser Must-have
  • StoppingSettled practice

    Ends a run in a clear, named way, hands back the work done, and checks that "done" really means done.

    • Assistant Must-have
    • Coding Must-have
    • Research Must-have
    • Browser Must-have