Skip to content
STUDY PATHS

Learn the mechanism.
Then defend the design.

Each path strings lessons and worked questions into one sequence. Answer every question out loud before opening its worked answer, then go back to the lesson behind whatever you missed.

Check your starting point
Start here

The core of agent engineering

Fourteen steps through what every agent round checks first: the loop and its exits, tools the model can use and the system can trust, the context window as a budget, and how to measure an agent that answers differently every run.

Bring with you
Comfort with an API call to a model and a little Python.
Work toward
You can build a tool-calling loop that always ends, explain what the model decides and what the code decides, and say which number shows whether the agent is reliable.
A good fit if
You are new to agents, or you have built one and want the reasons behind what worked.
Not in this path
Durable execution, sandboxes, protocols and authority, which the production path covers.
Start this path
EVIDENCE YOU CAN SHOW
  • A loop with a step budget, error results and a named exit, tested against a scripted model.

    Redo if Your loop ends only when the model says it is done.

  • A breakdown of a long run's context into parts, with what you would clear first and why.

    Redo if Your first fix for a degrading agent is a bigger window.

  • pass@k and pass^k computed from repeated runs of one task, with the one your product needs.

    Redo if You report a single run's success rate as the agent's reliability.

  1. The loop
    01
    Lesson · Free

    The Agent Loop

    Trace one run: what the model returns, what the harness runs, and what goes back.

  2. 02
    Worked question · Available

    Write the agent loop on the whiteboard, then list every way a run can end.

    Name every way a run ends and which of them the code controls.

  3. 03
    Lesson · Free

    Stop Conditions and Budgets

    Set step, cost and time budgets that end a run whatever the model believes.

  4. 04
    Lesson · Free

    Workflows and Agents

    Decide when a fixed workflow beats an agent, and say why.

  5. 05
    Lesson · Free account

    The Harness and the Authority Line

    Draw the line between what the model proposes and what the system decides.

  6. Tools
    06
    Lesson · Free

    Tool Contracts

    Write tool definitions with names, schemas and results a model can use.

  7. 07
    Lesson · Free

    Tool Errors as Observations

    Return errors the model can act on, and decide who retries.

  8. 08
    Lesson · Premium

    Idempotent Side Effects

    Make a write safe to run twice with a key derived from the intent.

  9. Context
    09
    Lesson · Free

    The Context Window as a Budget

    Break a context into parts and say how each grows over a run.

  10. 10
    Worked question · Available

    Your agent has a 200k-token window and falls apart at 55k. Why, and what do you change?

    Diagnose an agent that degrades with most of its window still empty.

  11. 11
    Lesson · Free account

    Clearing, Compaction and Notes

    Choose between clearing, notes and compaction, cheapest first.

  12. Measurement and the build round
    12
    Lesson · Free

    pass@k and pass^k

    Pick pass@k or pass^k for a product and compute both from repeated runs.

  13. 13
    Lesson · Free

    Outcome and Trajectory Grading

    Grade end states and path rules instead of one recorded sequence.

  14. 14
    Worked question · Available

    Implement a tool-calling loop with validation, a step budget and error results in 45 minutes.

    Build a tool loop with validation, a budget and tests in under an hour.

HOW TO REHEARSE A WORKED ANSWER
  1. Read the question alone first. Note the questions you would put to the interviewer; the gaps in a prompt are usually deliberate.
  2. Answer by locating the failure first (tool contract, context, plan, runtime or input), then say what the model decides and what the harness must enforce.
  3. Open the worked answer and find the first point where yours goes a different way. That point teaches more than whether you ended up in the same place.
  4. Place your answer on the scoring guide, then redo the part that held it back from the next level.
  5. Change one constraint (the run lasts three days, the API has no idempotency key, there are 400 tools) and predict which part of your design breaks first.
A NOTE ON THE CURRICULUM

Paths reuse lessons and questions already on the site and show what access each one needs. Courses go further, with lessons written for the sequence, exercises and progress tracking.

Explore the courses