The Loop, By Hand
Understand what an agent is before a framework hides it from you.
$108
this phase
- Open1.1
The Loop Is Ten Lines
Free previewWrite the while loop yourself: model call, tool call, append the result, check the stop condition.
- 1.2
Tool Schemas That Work
Naming, descriptions, enums, and the JSON Schema fields a model actually pays attention to.
- 1.3
Errors the Model Can Read
Bad arguments, hallucinated tool names, and error text written for a model instead of a human.
- 1.4
Plan or React
ReAct, upfront plans, replanning, and the tasks where planning costs more than it saves.
- 1.5
Budgets and Stop Conditions
Turn caps, wall clock, token and dollar ceilings enforced in code, not asked for in the prompt.