Skip to content
THE LEARNING MAP

Agent engineering, in the order it builds on itself.

Seven stages, from writing the loop by hand to designing an agent that a bank would let move money. Each step says what to read before it. Start with the essential questions, then take the what-if ladders that change one constraint at a time, which is how senior interviewers probe.

Questions
332
Essentials
47
Lessons
136
Free to read now
95

Every title, lesson summary and what-if question is public. The first answers in each topic are open to everyone, a free account opens more, and Premium opens every answer, ladder and lesson. See what Premium includes.

1

The loop

What an agent is in code: the model call, tool dispatch, the growing transcript and the rules for stopping, and when a fixed workflow is the better design.

28 questions · 5 essential · 14 lessons

Start with the lessons

  1. The Agent Loop
    LessonAgent Loops
    Free
  2. Workflows and Agents
    LessonAgent Loops
    Free
  3. Free
  4. Reading a Trace
    LessonAgent Loops
    Premium
  5. What a Model Call Returns to the Harness
    LessonModel API Foundations
    Free
  6. The Message List the Harness Builds
    LessonModel API Foundations
    Free
  7. Free
  8. Streaming Inside the Loop
    LessonModel API Foundations
  9. Premium
  10. Premium
  11. Premium
  12. Choosing a Model for Agent Work
    LessonModel API Foundations
    Premium
  13. Premium

Essential questions, in order

  1. The Agent Loop and Its Exits
    EssentialeasyAgent Loops & the HarnessWhat-if ladder

    After: The Agent Loop

    Free
  2. Empty Content, Tool Call or Blank Answer
    EssentialeasyModel API FoundationsWhat-if ladder

    After: What a Model Call Returns to the Harness

    Free
  3. Fixed Workflow or Agent
    EssentialmediumAgent Loops & the HarnessWhat-if ladder

    After: Workflows and Agents

    Free
  4. What the Agent Harness Owns
    EssentialmediumAgent Loops & the HarnessWhat-if ladder

    After: The Harness and the Authority Line

    Free
  5. Orphaned Tool Results After Trimming
    EssentialmediumModel API FoundationsWhat-if ladder

    After: The Message List the Harness Builds

    Free
Show the other 23 questions in this stage
2

Tools and context

Tool contracts and structured outputs, errors the model can act on, the context window as a budget, caching, compaction and notes.

33 questions · 7 essential · 15 lessons

Start with the lessons

  1. Premium
  2. Tool Contracts
    LessonTool Design
    Free
  3. Free
  4. Parallel Tool Calls
    LessonTool Design
    Premium
  5. Idempotent Side Effects
    LessonTool Design
    Premium
  6. Large Tool Surfaces
    LessonTool Design
    Premium
  7. Premium
  8. Premium
  9. Premium
  10. The Context Window as a Budget
    LessonContext Engineering
    Free
  11. Context Rot
    LessonContext Engineering
    Free
  12. Clearing, Compaction and Notes
    LessonContext Engineering
  13. Prompt Caching for Agents
    LessonContext Engineering
    Premium
  14. Just-in-Time Retrieval
    LessonContext Engineering
    Premium

Essential questions, in order

  1. Tool Definitions for an Order API
    EssentialeasyTool Calling & Tool ContractsWhat-if ladder

    After: Tool Contracts

    Free
  2. Tool Failures and Who Retries
    EssentialmediumTool Calling & Tool ContractsWhat-if ladder

    After: Tool Errors as Observations

    Free
  3. A Refund Tool Safe to Call Twice
    EssentialmediumTool Calling & Tool ContractsWhat-if ladder

    After: Idempotent Side Effects

    Premium
  4. Degrading Long Before the Window Fills
    EssentialmediumContext Engineering & CachingWhat-if ladder

    After: Context Rot · The Context Window as a Budget

    Free
  5. Clearing, Compaction or Notes
    EssentialmediumContext Engineering & CachingWhat-if ladder

    After: Clearing, Compaction and Notes · The Context Window as a Budget

    Free
  6. Fixing a 120-Tool Agent
    EssentialhardTool Calling & Tool ContractsWhat-if ladder

    After: Large Tool Surfaces · Tool Contracts

  7. Cache Hit Rate Collapsed After a Release
    EssentialhardContext Engineering & Caching

    After: Prompt Caching for Agents

    Free
Show the other 26 questions in this stage
3

State and control

Memory and its write rules, planning patterns from ReAct to explicit state graphs, and reflection with an external signal.

33 questions · 6 essential · 15 lessons

Start with the lessons

  1. Premium
  2. Free
  3. Premium
  4. Premium
  5. Premium
  6. Premium
  7. ReAct
    LessonPlanning & Control
    Free
  8. Plan-and-Execute and Replanning
    LessonPlanning & Control
    Free
  9. Explicit State Graphs
    LessonPlanning & Control
  10. Reflection with an External Signal
    LessonPlanning & Control
    Premium
  11. Search over Trajectories
    LessonPlanning & Control
    Premium
  12. Premium
  13. Premium
  14. Premium

Essential questions, in order

  1. Memory vs Context vs Retrieval
    EssentialeasyAgent Memory & StateWhat-if ladder

    After: Memory, Context and Retrieval

    Free
  2. Memory Writes and Who Reads Them
    EssentialmediumAgent Memory & StateWhat-if ladder

    After: Memory Write and Read Policies · Memory Poisoning and Tenant Isolation

  3. Picking a Control Pattern for Refunds
    EssentialmediumPlanning & Control PatternsWhat-if ladder

    After: ReAct · Plan-and-Execute and Replanning · Explicit State Graphs

    Free
  4. Deterministic Edges vs Model Routing
    EssentialmediumPlanning & Control PatternsWhat-if ladder

    After: Explicit State Graphs · Workflows and Agents

  5. Six Months of Memory for One Customer
    EssentialhardAgent Memory & StateWhat-if ladder

    After: Memory Write and Read Policies · Provenance, Expiry and Correction

    Free
  6. Running an Obsolete Plan
    EssentialhardPlanning & Control PatternsWhat-if ladder

    After: Plan-and-Execute and Replanning

    Free
Show the other 27 questions in this stage
4

Measurement

Outcome and trajectory grading, pass@k against pass^k, calibrated judges, traces, and debugging a system that varies from run to run.

36 questions · 4 essential · 19 lessons

Start with the lessons

  1. pass@k and pass^k
    LessonAgent Evals
    Free
  2. Free
  3. Calibrating an LLM Judge
    LessonAgent Evals
  4. Tracing Agents
    LessonAgent Evals
    Premium
  5. Premium
  6. Premium
  7. Premium
  8. Premium
  9. Premium
  10. Reading Any Agent Framework
    LessonAgent Frameworks
    Free
  11. LangChain and LangGraph
    LessonAgent Frameworks
    Free
  12. Premium
  13. CrewAI: Crews and Flows
    LessonAgent Frameworks
    Premium
  14. Premium
  15. Premium
  16. Anatomy of an Agent Harness
    LessonAgent Harnesses
    Free
  17. AGENTS.md and Agent Skills
    LessonAgent Harnesses
    Free

Essential questions, in order

  1. pass@k or pass^k for Support
    EssentialmediumAgent Evals & ObservabilityWhat-if ladder

    After: pass@k and pass^k

    Free
  2. Evaluating Agents with Varying Paths
    EssentialmediumAgent Evals & ObservabilityWhat-if ladder

    After: Outcome and Trajectory Grading · pass@k and pass^k

    Free
  3. Defending Your Agent Framework Choice
    EssentialmediumAgent Frameworks & SDKsWhat-if ladder

    After: Reading Any Agent Framework · Choosing an Agent Framework, or None

    Free
  4. 92% on the Eval, Complaints in Production
    EssentialhardAgent Evals & ObservabilityWhat-if ladder

    After: pass@k and pass^k · Calibrating an LLM Judge · Evaluating Agents in Production: Signals, Sampled Grading and Drift

    Free
Show the other 32 questions in this stage
5

Production runtime

Durable execution and idempotent side effects, human approvals, budgets, sandboxes and credentials, and the MCP and A2A protocols.

86 questions · 9 essential · 32 lessons

Start with the lessons

  1. Durable Execution
    LessonDurable Execution
    Free
  2. Side Effects That Survive Retries
    LessonDurable Execution
  3. Waiting for People
    LessonDurable Execution
    Premium
  4. Budgets, Loops and Termination
    LessonDurable Execution
    Premium
  5. Long-Horizon Coherence
    LessonDurable Execution
    Premium
  6. Event-Driven and Background Agents
    LessonDurable Execution
    Premium
  7. Premium
  8. Premium
  9. Isolation Boundaries
    LessonAgent Runtime
    Free
  10. Premium
  11. Premium
  12. Premium
  13. The Model Context Protocol
    LessonAgent Protocols
    Free
  14. Free
  15. Long-Running Tool Calls
    LessonAgent Protocols
    Premium
  16. Gateways and Registries
    LessonAgent Protocols
    Premium
  17. Premium
  18. Free
  19. Premium
  20. The Agent Protocol Map
    LessonAgent Protocols
    Free
  21. Premium
  22. Premium
  23. Premium
  24. Free
  25. Premium
  26. Premium
  27. Premium
  28. Premium
  29. Premium

Essential questions, in order

  1. What MCP Standardises
    EssentialeasyMCP, A2A & InteroperabilityWhat-if ladder

    After: The Model Context Protocol

    Free
  2. Where a Forty-Turn Agent's Time and Money Go
    EssentialmediumAgent Runtime & SandboxesWhat-if ladder

    After: Agent Economics: Prefill, Caching and Routing · Prompt Caching for Agents

    Free
  3. MCP or A2A Between Teams
    EssentialmediumMCP, A2A & InteroperabilityWhat-if ladder

    After: Agent-to-Agent Delegation with A2A · The Model Context Protocol

    Free
  4. REST Endpoints as MCP Tools
    EssentialmediumMCP, A2A & InteroperabilityWhat-if ladder

    After: Tool Contracts · The Model Context Protocol

    Free
  5. Crash Between Payment and Save
    EssentialhardLong-Running & Durable AgentsWhat-if ladder

    After: Durable Execution · Side Effects That Survive Retries

    Free
  6. An Approval That Takes Three Days
    EssentialhardLong-Running & Durable AgentsWhat-if ladder

    After: Waiting for People · Durable Execution

    Free
  7. Workflow Code or Activity?
    EssentialhardLong-Running & Durable AgentsWhat-if ladder

    After: Durable Execution

    Free
  8. Choosing a Sandbox for Generated Python
    EssentialhardAgent Runtime & SandboxesWhat-if ladder

    After: Isolation Boundaries · Credentials Outside the Sandbox

    Free
  9. GitHub Access Without the Token
    EssentialhardAgent Runtime & SandboxesWhat-if ladder

    After: Credentials Outside the Sandbox · Isolation Boundaries

    Free
Show the other 77 questions in this stage
6

Specialised systems

Multi-agent topologies and their token bill, coding agents and their verification loops, computer use, and agents with deterministic domain rules.

55 questions · 6 essential · 21 lessons

Start with the lessons

  1. OpenTelemetry for Agents
    LessonAgent Evals
    Premium
  2. Reading Agent Benchmarks
    LessonAgent Evals
    Free
  3. When a Second Agent Pays
    LessonMulti-Agent Systems
    Free
  4. Orchestrator and Workers
    LessonMulti-Agent Systems
  5. Handoffs and Agents as Tools
    LessonMulti-Agent Systems
    Premium
  6. Shared State and Conflicts
    LessonMulti-Agent Systems
    Premium
  7. Cascading Errors
    LessonMulti-Agent Systems
    Premium
  8. Deep Research Agents
    LessonMulti-Agent Systems
    Free
  9. Premium
  10. Premium
  11. Premium
  12. Repository Context
    LessonCoding & Computer Use
    Free
  13. Applying Edits
    LessonCoding & Computer Use
  14. Verification Loops
    LessonCoding & Computer Use
    Premium
  15. Reward Hacking in Coding Agents
    LessonCoding & Computer Use
    Premium
  16. Grounding Computer-Use Agents
    LessonCoding & Computer Use
    Premium
  17. Premium
  18. Premium
  19. Premium
  20. Optimise an Agent in the Right Order
    LessonAgent Optimisation
    Free

Essential questions, in order

  1. Is a Second Agent Worth It?
    EssentialmediumMulti-Agent SystemsWhat-if ladder

    After: When a Second Agent Pays

    Free
  2. Choosing an Edit Format
    EssentialmediumCoding & Computer-Use AgentsWhat-if ladder

    After: Applying Edits

    Free
  3. Orchestrator and Workers for Research
    EssentialhardMulti-Agent SystemsWhat-if ladder

    After: Orchestrator and Workers · Cascading Errors

    Free
  4. One Agent's Mistake Became the Answer
    EssentialhardMulti-Agent SystemsWhat-if ladder

    After: Cascading Errors · Orchestrator and Workers

  5. Finding Code in a Huge Monorepo
    EssentialhardCoding & Computer-Use AgentsWhat-if ladder

    After: Repository Context · Building a Ranked Repository Map Under a Token Budget · Just-in-Time Retrieval

    Free
  6. Passing Tests by Deleting Assertions
    EssentialhardCoding & Computer-Use AgentsWhat-if ladder

    After: Reward Hacking in Coding Agents · Verification Loops

    Free
Show the other 49 questions in this stage
7

Authority and design

Delegated identity, policy outside the model, approvals and audit; then the full system design round and the live build round.

61 questions · 10 essential · 20 lessons

Start with the lessons

  1. Guardrails in Layers
    LessonGuardrails & Policy
    Free
  2. Delegated Identity for Agents
    LessonGuardrails & Policy
  3. Policy Decision Points
    LessonGuardrails & Policy
    Premium
  4. Approvals People Read
    LessonGuardrails & Policy
    Premium
  5. Exfiltration Paths
    LessonGuardrails & Policy
    Premium
  6. Premium
  7. Audit Logs for Agent Actions
    LessonGuardrails & Policy
    Premium
  8. The Agentic Design Method
    LessonAgentic System Design
    Free
  9. Autonomy Levels
    LessonAgentic System Design
  10. Designing for Failure
    LessonAgentic System Design
    Premium
  11. Premium
  12. Premium
  13. Premium
  14. Incident Playbooks for Agents
    LessonAgentic System Design
    Premium
  15. Premium
  16. What the Live Build Round Tests
    LessonBuild-an-Agent Rounds
    Free
  17. Testing Agents with a Scripted Model
    LessonBuild-an-Agent Rounds
  18. AI-Assisted Build Rounds
    LessonBuild-an-Agent Rounds
    Premium
  19. Premium
  20. Premium

Essential questions, in order

  1. What the Model Proposes, What Runs
    EssentialmediumGuardrails, Identity & PolicyWhat-if ladder

    After: Guardrails in Layers · The Harness and the Authority Line

    Free
  2. An Email That Gives Orders
    EssentialmediumGuardrails, Identity & PolicyWhat-if ladder

    After: Guardrails in Layers · Exfiltration Paths

    Free
  3. Build: A Tool Loop in 45 Minutes
    EssentialmediumBuild-an-Agent Coding RoundsWhat-if ladder

    After: What the Live Build Round Tests · Testing Agents with a Scripted Model

    Free
  4. Build: An Idempotent Write Wrapper
    EssentialmediumBuild-an-Agent Coding RoundsWhat-if ladder

    After: Idempotent Side Effects · Side Effects That Survive Retries

    Premium
  5. Acting for Alice Without Her Full Power
    EssentialhardGuardrails, Identity & PolicyWhat-if ladder

    After: Delegated Identity for Agents · Policy Decision Points

    Free
  6. Design: Support Agent with Refunds
    EssentialhardAgentic System DesignWhat-if ladder

    After: The Agentic Design Method · Policy Decision Points

    Free
  7. Design: Deep Research with Citations
    EssentialhardAgentic System DesignWhat-if ladder

    After: Orchestrator and Workers · Cascading Errors

    Free
  8. A Real Kill Switch and an Agent Registry
    EssentialhardAgentic System DesignWhat-if ladder

    After: The Agent Control Plane: Registry, Autonomy Tiers and a Real Kill Switch · Autonomy Levels · Incident Playbooks for Agents

    Premium
  9. Build: A Parallel, Ordered Dispatcher
    EssentialhardBuild-an-Agent Coding RoundsWhat-if ladder

    After: Parallel Tool Calls · Testing Agents with a Scripted Model

    Free
  10. Design: Background Coding Agent at Scale
    EssentialexpertAgentic System DesignWhat-if ladder

    After: Isolation Boundaries · Verification Loops

    Free
Show the other 51 questions in this stage