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.
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
- Free
- Free
- Free
- Free with account
- Premium
- Free
- Free
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
Essential questions, in order
- The Agent Loop and Its ExitsFree
After: The Agent Loop
- Empty Content, Tool Call or Blank AnswerFree
After: What a Model Call Returns to the Harness
- Fixed Workflow or AgentFree
After: Workflows and Agents
- What the Agent Harness OwnsFree
After: The Harness and the Authority Line
- Orphaned Tool Results After TrimmingFree
After: The Message List the Harness Builds
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
- Premium
- Free
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
- Premium
- Free
- Free
- Free with account
- Premium
- Premium
Essential questions, in order
- Tool Definitions for an Order APIFree
After: Tool Contracts
- Tool Failures and Who RetriesFree
After: Tool Errors as Observations
- A Refund Tool Safe to Call TwicePremium
After: Idempotent Side Effects
- Degrading Long Before the Window FillsFree
After: Context Rot · The Context Window as a Budget
- Clearing, Compaction or NotesFree
After: Clearing, Compaction and Notes · The Context Window as a Budget
- Fixing a 120-Tool AgentFree with account
After: Large Tool Surfaces · Tool Contracts
- Cache Hit Rate Collapsed After a ReleaseFree
After: Prompt Caching for Agents
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
- Premium
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Free
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
Essential questions, in order
- Memory vs Context vs RetrievalFree
After: Memory, Context and Retrieval
- Memory Writes and Who Reads ThemFree with account
After: Memory Write and Read Policies · Memory Poisoning and Tenant Isolation
- Picking a Control Pattern for RefundsFree
After: ReAct · Plan-and-Execute and Replanning · Explicit State Graphs
- Deterministic Edges vs Model RoutingFree with account
After: Explicit State Graphs · Workflows and Agents
- Six Months of Memory for One CustomerFree
After: Memory Write and Read Policies · Provenance, Expiry and Correction
- Running an Obsolete PlanFree
After: Plan-and-Execute and Replanning
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
- Free
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
- Premium
- Free
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Free
- Free with account
- Free
Essential questions, in order
- pass@k or pass^k for SupportFree
After: pass@k and pass^k
- Evaluating Agents with Varying PathsFree
After: Outcome and Trajectory Grading · pass@k and pass^k
- Defending Your Agent Framework ChoiceFree
After: Reading Any Agent Framework · Choosing an Agent Framework, or None
- 92% on the Eval, Complaints in ProductionFree
After: pass@k and pass^k · Calibrating an LLM Judge · Evaluating Agents in Production: Signals, Sampled Grading and Drift
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
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
- Premium
- Free
- Free with account
- Premium
- Premium
- Premium
- Free
- Free
- Free with account
- Premium
- Premium
- Premium
- Free
- Premium
- Free
- Premium
- Premium
- Premium
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
Essential questions, in order
- What MCP StandardisesFree
After: The Model Context Protocol
- Where a Forty-Turn Agent's Time and Money GoFree
After: Agent Economics: Prefill, Caching and Routing · Prompt Caching for Agents
- MCP or A2A Between TeamsFree
After: Agent-to-Agent Delegation with A2A · The Model Context Protocol
- REST Endpoints as MCP ToolsFree
After: Tool Contracts · The Model Context Protocol
- Crash Between Payment and SaveFree
After: Durable Execution · Side Effects That Survive Retries
- An Approval That Takes Three DaysFree
After: Waiting for People · Durable Execution
- Workflow Code or Activity?Free
After: Durable Execution
- Choosing a Sandbox for Generated PythonFree
After: Isolation Boundaries · Credentials Outside the Sandbox
- GitHub Access Without the TokenFree
After: Credentials Outside the Sandbox · Isolation Boundaries
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
- Premium
- Free
- Free
- Free with account
- Premium
- Premium
- Premium
- Free
- Premium
- Premium
- Premium
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
- Premium
- Free
- Free with account
Essential questions, in order
- Is a Second Agent Worth It?Free
After: When a Second Agent Pays
- Choosing an Edit FormatFree
After: Applying Edits
- Orchestrator and Workers for ResearchFree
After: Orchestrator and Workers · Cascading Errors
- One Agent's Mistake Became the AnswerFree with account
After: Cascading Errors · Orchestrator and Workers
- Finding Code in a Huge MonorepoFree
After: Repository Context · Building a Ranked Repository Map Under a Token Budget · Just-in-Time Retrieval
- Passing Tests by Deleting AssertionsFree
After: Reward Hacking in Coding Agents · Verification Loops
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
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
- Free
- Free with account
- Premium
- Premium
- Premium
- Premium
- Premium
- Premium
- Free
- Free with account
- Premium
- Premium
- Premium
Essential questions, in order
- What the Model Proposes, What RunsFree
After: Guardrails in Layers · The Harness and the Authority Line
- An Email That Gives OrdersFree
After: Guardrails in Layers · Exfiltration Paths
- Build: A Tool Loop in 45 MinutesFree
After: What the Live Build Round Tests · Testing Agents with a Scripted Model
- Build: An Idempotent Write WrapperPremium
After: Idempotent Side Effects · Side Effects That Survive Retries
- Acting for Alice Without Her Full PowerFree
After: Delegated Identity for Agents · Policy Decision Points
- Design: Support Agent with RefundsFree
After: The Agentic Design Method · Policy Decision Points
- Design: Deep Research with CitationsFree
After: Orchestrator and Workers · Cascading Errors
- A Real Kill Switch and an Agent RegistryPremium
After: The Agent Control Plane: Registry, Autonomy Tiers and a Real Kill Switch · Autonomy Levels · Incident Playbooks for Agents
- Build: A Parallel, Ordered DispatcherFree
After: Parallel Tool Calls · Testing Agents with a Scripted Model
- Design: Background Coding Agent at ScaleFree
After: Isolation Boundaries · Verification Loops