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
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
- What Is an AI AgentFree
After: The Agent Loop · Workflows and Agents
- One Model Call, End to EndFree
After: What a Model Call Returns to the Harness · The Message List the Harness Builds
- Is Temperature Zero DeterministicFree
After: Determinism Is a Setting, Not a Guarantee
- Tool Error, Invented AnswerFree
After: The Agent Loop · Reading a Trace
- Repeated Identical Tool CallsFree with account
After: Reading a Trace
- When an Agent Should Ask, Not GuessPremium
After: The Agent Loop · Stop Conditions and Budgets
- Truncated JSON That Still ParsesFree
After: What a Model Call Returns to the Harness · Timeouts, max_tokens and Deadlines per Step
- Latency Arithmetic for a Five-Second StepFree with account
After: Timeouts, max_tokens and Deadlines per Step
- Streamed Tool Calls Dispatched Too EarlyPremium
After: Streaming Inside the Loop
- Retry and Rate-Limit Policy for a FleetPremium
After: Rate Limits, Retries and Backoff Inside a Loop
- Sharing a Thirty-Second Run DeadlinePremium
After: Timeouts, max_tokens and Deadlines per Step · Stop Conditions and Budgets
- Runtime-Verified CompletionPremium
After: Stop Conditions and Budgets · The Agent Loop and Its Exits
- Budgets for a Research AgentPremium
After: Stop Conditions and Budgets · The Agent Loop
- Ablating Harness ScaffoldingPremium
After: The Harness and the Authority Line
- Harness State Beyond the MessagesPremium
After: The Harness and the Authority Line · What the Agent Harness Owns
- Switching Providers Behind an AdapterPremium
After: One Loop, Many Providers: The Adapter Layer
- Selecting a Model for a Tool-Using AgentPremium
After: Choosing a Model for Agent Work
- Sycophancy That Reaches a RefundPremium
After: Why Capable Models Still Fail Inside a Loop
- Planning a Model Deprecation UpgradePremium
After: Choosing a Model for Agent Work
- An Observation the Tool Never ProducedPremium
After: Why Capable Models Still Fail Inside a Loop · The Message List the Harness Builds
- Probes That Catch a Silent Model RevisionPremium
After: Choosing a Model for Agent Work · Why Capable Models Still Fail Inside a Loop
- Custom Loop or Framework for a BankPremium
After: The Harness and the Authority Line · Harness State Beyond the Messages
- A Shared Model-Call Layer for Fifty TeamsPremium
After: One Loop, Many Providers: The Adapter Layer · Rate Limits, Retries and Backoff Inside a Loop · Timeouts, max_tokens and Deadlines per Step
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
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
- A Run That Ends With an Empty AnswerPremium
After: The Agent Loop · Reading a Trace
- What Tool Calling Really IsFree
After: Tool Contracts · Tool Errors as Observations
- What Context Engineering IsFree
After: The Context Window as a Budget · Context Rot
- An Agent Loop With a 30-Second BudgetPremium
After: Stop Conditions and Budgets · Parallel Tool Calls
- A User Message That Arrives Mid-RunPremium
After: The Agent Loop · Stop Conditions and Budgets
- The Model Refuses Halfway ThroughPremium
After: The Agent Loop · Reading a Trace
- Thirty Steps of Alternating CallsPremium
After: Stuck-Loop Detectors: Repeats, Cycles and No Progress · Stop Conditions and Budgets
- Valid JSON, Wrong ActionPremium
After: Structured Outputs and Constrained Decoding · The Harness and the Authority Line
- Swallowed Exceptions and Dead RetriesPremium
After: Tool Errors as Observations
- A Tool That Returns 50,000 RowsPremium
After: Tool Contracts · The Context Window as a Budget · Tool Results That Fit the Context
- Changing a Tool's Schema SafelyPremium
After: Tool Contracts · Structured Outputs and Constrained Decoding
- A Tool That Returns PDFs and ImagesPremium
After: Tool Contracts · The Context Window as a Budget
- Designing a Search Tool for an AgentPremium
After: Tool Contracts · Large Tool Surfaces
- Tool Calls Written as TextPremium
After: Malformed Tool Calls: What the Harness Repairs, Rejects and Rescues
- Testing a Tool Before the ModelPremium
After: Testing Tools Without a Model
- Up Front or On DemandFree with account
After: Just-in-Time Retrieval · Prompt Caching for Agents
- The Config File Read Every Fifteen TurnsPremium
After: Clearing, Compaction and Notes · Just-in-Time Retrieval
- Prompt Order That Keeps the CachePremium
After: Prompt Caching for Agents · Clearing, Compaction and Notes
- Parallel Writes to One RecordFree
After: Parallel Tool Calls · Idempotent Side Effects
- Validation Failures Under LoadFree
After: Structured Outputs and Constrained Decoding · Malformed Tool Calls: What the Harness Repairs, Rejects and Rescues
- Code Execution Instead of Tool CallsPremium
After: Tool Contracts · Parallel Tool Calls
- Overlapping Tools, Measured FixPremium
After: Tool Contracts · Large Tool Surfaces · Testing Tools Without a Model
- Compaction for a Six-Hour SessionFree
After: Clearing, Compaction and Notes · Context Rot
- A Constraint Lost in CompactionPremium
After: Clearing, Compaction and Notes · The Harness and the Authority Line
- Costing a Forty-Turn RunPremium
After: Prompt Caching for Agents · The Context Window as a Budget
- Testing a Compaction PromptPremium
After: Clearing, Compaction and Notes · Context Rot
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
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
- Cleaning Web Pages for the ModelPremium
After: Just-in-Time Retrieval · The Context Window as a Budget
- What Agent Memory IsFree
After: Memory, Context and Retrieval
- ReAct or Plan FirstFree
After: ReAct · Plan-and-Execute and Replanning
- A Wrong Fact That Keeps Coming BackPremium
After: Four Ways Long Context Fails: Poisoning, Distraction, Confusion and Clash · Clearing, Compaction and Notes
- Following the Superseded InstructionPremium
After: Four Ways Long Context Fails: Poisoning, Distraction, Confusion and Clash · The Context Window as a Budget
- More Documents, Worse AnswersPremium
After: Four Ways Long Context Fails: Poisoning, Distraction, Confusion and Clash · Just-in-Time Retrieval
- Screenshots Filling the Context WindowPremium
After: Clearing, Compaction and Notes · The Context Window as a Budget
- Notes for an Eight-Hour TaskFree
After: Clearing, Compaction and Notes · Memory, Context and Retrieval
- The Metadata a Memory Record NeedsPremium
After: Provenance, Expiry and Correction
- When a Workflow Becomes a SkillPremium
After: Episodic, Semantic and Procedural Memory
- Reasoning Effort per StepPremium
After: Reasoning Effort as a Harness Setting: Ladders, Floors and Caps per Step · Plan-and-Execute and Replanning · Reflection with an External Signal
- Step Four of Seven FailsPremium
After: Plan-and-Execute and Replanning · Idempotent Side Effects · Task Decomposition Trees: AND, OR and Local Fallbacks
- Validating a Plan Before Running ItPremium
After: Plan-and-Execute and Replanning · Structured Outputs and Constrained Decoding
- The Bill Tripled on High EffortPremium
After: Reasoning Effort as a Harness Setting: Ladders, Floors and Caps per Step
- A Memory Store Full of Wrong ConclusionsFree
After: Provenance, Expiry and Correction · Episodic, Semantic and Procedural Memory
- A Secret Leaked Across TenantsPremium
After: Memory Poisoning and Tenant Isolation · Memory Write and Read Policies
- Better on Monday, Worse by FridayPremium
After: Episodic, Semantic and Procedural Memory · Context Rot
- Reflection: Keep It or Kill ItFree
After: Reflection with an External Signal
- Replanning Triggers for a MigrationPremium
After: Plan-and-Execute and Replanning · Stop Conditions and Budgets
- The Ten-Page Flowchart PromptPremium
After: Explicit State Graphs · Workflows and Agents
- An Agent Oscillating Between SubgoalsPremium
After: Plan-and-Execute and Replanning · Explicit State Graphs · Stuck-Loop Detectors: Repeats, Cycles and No Progress
- Choosing Which Information to Gather FirstPremium
After: Plan-and-Execute and Replanning · ReAct
- When Majority Vote Makes It WorsePremium
After: Choosing Among Samples: Votes, Verifiers and the Judge Ceiling
- A Task Tree with FallbacksPremium
After: Task Decomposition Trees: AND, OR and Local Fallbacks
- Does Memory Help at All?Premium
After: Episodic, Semantic and Procedural Memory · Memory Write and Read Policies
- Tree Search in Eight SecondsFree
After: Search over Trajectories · Reflection with an External Signal · Choosing Among Samples: Votes, Verifiers and the Judge Ceiling
- From Agent Chat to an Auditable WorkflowPremium
After: Explicit State Graphs · The Harness and the Authority Line
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
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
- How to Evaluate an AgentFree
After: pass@k and pass^k · Outcome and Trajectory Grading
- How to Compare Agent FrameworksFree
After: Reading Any Agent Framework
- Seeing What the Framework Sent the ModelPremium
After: Reading Any Agent Framework · Tracing Agents
- What an Agent Harness IsFree
After: Anatomy of an Agent Harness
- Harness or System Prompt?Free with account
After: Anatomy of an Agent Harness · The Harness and the Authority Line
- Making an Agent ForgetPremium
After: Provenance, Expiry and Correction · Memory Architectures Compared: Vector Stores, Graphs, Profiles and Notes
- Showing Users What the Agent RemembersPremium
After: Memory Write and Read Policies · Provenance, Expiry and Correction
- The First Week of EvalsPremium
After: Outcome and Trajectory Grading · pass@k and pass^k · Golden Tasks and Dataset Lint
- What Goes in a Trace, and What Stays OutPremium
After: Tracing Agents
- An Eval Set Built from Production TracesPremium
After: Tracing Agents · Outcome and Trajectory Grading
- Cost and Latency Budgets in Agent CIPremium
After: Regressions in a Non-Deterministic System · Tracing Agents
- A Gate Drop After a Dataset ChangePremium
After: Golden Tasks and Dataset Lint
- Decomposing 81% Tool-Call AccuracyPremium
After: Tool-Call Accuracy, Decomposed
- Twenty Cassettes Re-Recorded, CI GreenPremium
After: Replay Cassettes: Recorded Model Calls for Deterministic Agent Tests · Regressions in a Non-Deterministic System
- Approval Step Sends Emails TwiceFree
After: LangChain and LangGraph · Reading Any Agent Framework
- Migrating from Semantic Kernel or AutoGenFree
After: Microsoft Agent Framework, and What Became of Semantic Kernel and AutoGen · Choosing an Agent Framework, or None
- Permissions for a Monorepo Coding AgentPremium
After: The OpenAI Agents SDK and the Claude Agent SDK · Anatomy of an Agent Harness
- Testing a Framework Agent OfflinePremium
After: Reading Any Agent Framework · Regressions in a Non-Deterministic System
- Upgrading an Agent Framework SafelyPremium
After: Reading Any Agent Framework · Regressions in a Non-Deterministic System
- Hidden Model Calls Inside a FrameworkPremium
After: Reading Any Agent Framework · Tracing Agents
- Framework Memory or Your Own Store?Premium
After: Choosing an Agent Framework, or None · Memory Write and Read Policies
- A Typed Result from a Framework AgentPremium
After: Reading Any Agent Framework · Structured Outputs and Constrained Decoding
- Verifying a Caller Before Recalling MemoryPremium
After: Memory Poisoning and Tenant Isolation · Memory Write and Read Policies
- An LLM Judge That Can Gate ReleasesFree
After: Calibrating an LLM Judge · Regressions in a Non-Deterministic System
- An 8% Drop with No Code ChangeFree with account
After: Tracing Agents · Regressions in a Non-Deterministic System · Evaluating Agents in Production: Signals, Sampled Grading and Drift
- Right Answer, Leaked DataPremium
After: Outcome and Trajectory Grading · Tracing Agents
- A/B Testing an Agent Change in ProductionPremium
After: Regressions in a Non-Deterministic System · Outcome and Trajectory Grading · Replay Cassettes: Recorded Model Calls for Deterministic Agent Tests
- Evaluating with a Simulated UserPremium
After: Outcome and Trajectory Grading · Calibrating an LLM Judge
- Judge Says Steady, Escalations Say OtherwisePremium
After: Evaluating Agents in Production: Signals, Sampled Grading and Drift · Calibrating an LLM Judge
- ADK State Leaking Between UsersFree
After: Google Agent Development Kit (ADK) · Memory Poisoning and Tenant Isolation
- A Release Gate for a Money-Moving AgentPremium
After: Regressions in a Non-Deterministic System · Outcome and Trajectory Grading
- Proving a 3% RegressionPremium
After: Regressions in a Non-Deterministic System · Tracing Agents
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
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
- What Durable Means for an AgentFree
After: Durable Execution
- Why Agents Need a SandboxFree
After: Isolation Boundaries
- Why Agents Need ProtocolsFree
After: The Agent Protocol Map · The Model Context Protocol
- How an Agent PaysFree
After: Why Agent Payments Need Their Own Protocols
- Should an Agent Hold a Card Number?Premium
After: Agentic Checkout with UCP and ACP · Credentials Outside the Sandbox
- The Price Changed After ApprovalPremium
After: AP2 Mandates: Signed Proof of What the User Approved · Agentic Checkout with UCP and ACP
- A Tool for a Twenty-Minute JobPremium
After: Tool Contracts · Long-Running Tool Calls
- Same Model for Planner and Executor?Premium
After: Plan-and-Execute and Replanning · Agent Economics: Prefill, Caching and Routing · Reasoning Effort as a Harness Setting: Ladders, Floors and Caps per Step
- Loops That Never Repeat ExactlyFree with account
After: Budgets, Loops and Termination · Reading a Trace
- ₹2,000 or Ninety MinutesPremium
After: Budgets, Loops and Termination · Durable Execution
- When a Research Agent Is DonePremium
After: Budgets, Loops and Termination · Durable Execution
- An Agent That Triggers ItselfPremium
After: Event-Driven and Background Agents · Idempotent Side Effects
- Cancelling a Run Halfway ThroughPremium
After: Durable Execution · Side Effects That Survive Retries
- An Approver Edits the Run Before ResumingPremium
After: Waiting for People · Durable Execution
- A Weekly Agent Job That Missed Two RunsPremium
After: Durable Execution · Event-Driven and Background Agents · Queues, Leases and Workers for Long Agent Jobs
- Queue Design After a Silent Worker DeathPremium
After: Queues, Leases and Workers for Long Agent Jobs
- Streaming Agent Progress to Web and PhonePremium
After: Durable Execution · Tracing Agents
- Persisting Files, Not SecretsPremium
After: Workspaces, Snapshots and Cold Starts · Credentials Outside the Sandbox
- Keeping Agents Away from Cloud MetadataPremium
After: Isolation Boundaries · Credentials Outside the Sandbox
- Charging Teams for Their Agents' SpendPremium
After: Agent Economics: Prefill, Caching and Routing · Tracing Agents
- Keeping an Agent's Data in the EUPremium
After: Isolation Boundaries · Tracing Agents
- Deploying Without Killing Agent SessionsPremium
After: Workspaces, Snapshots and Cold Starts · Durable Execution
- A Delegated Agent DisappearsPremium
After: Agent-to-Agent Delegation with A2A · Side Effects That Survive Retries
- Migrating an MCP Server to StatelessPremium
After: MCP Without Sessions: The 2026 Stateless Core · The Model Context Protocol
- Streaming an Agent to a Web AppPremium
After: Streaming a Run to the User with AG-UI · The Agent Protocol Map
- Unsigned Agent Cards and the Three ACPsPremium
After: Agent-to-Agent Delegation with A2A · The Agent Protocol Map
- Testing an MCP Server Before PublishingPremium
After: The Model Context Protocol · Authorization at the Protocol Boundary · MCP from the Wire Up: JSON-RPC, stdio and the Three Primitives
- Tool Error or Protocol Error in MCPPremium
After: MCP from the Wire Up: JSON-RPC, stdio and the Three Primitives
- Disputing an Agent's PurchaseFree
After: AP2 Mandates: Signed Proof of What the User Approved · Agentic Checkout with UCP and ACP
- Getting an Agent Past Bot DefencesFree
After: Proving a Request Comes from an Agent
- An x402 Budget Drained OvernightFree
After: Paying per Request: x402 and the Machine Payments Protocol · Stop Conditions and Budgets
- Standing Authority for Repeat PurchasesFree with account
After: AP2 Mandates: Signed Proof of What the User Approved · Why Agent Payments Need Their Own Protocols
- A Checkout API Built for AgentsPremium
After: Agentic Checkout with UCP and ACP · Proving a Request Comes from an Agent
- Revoking an Agent Mid-PurchasePremium
After: AP2 Mandates: Signed Proof of What the User Approved · Why Agent Payments Need Their Own Protocols
- Splitting Purchases to Stay Under a LimitPremium
After: AP2 Mandates: Signed Proof of What the User Approved · Why Agent Payments Need Their Own Protocols
- Proving Every Agent Purchase Was AuthorisedPremium
After: AP2 Mandates: Signed Proof of What the User Approved · Proving a Request Comes from an Agent
- Paid, but Nothing Useful Came BackPremium
After: Paying per Request: x402 and the Machine Payments Protocol · Tool Errors as Observations
- A Step-Up Challenge Mid-CheckoutPremium
After: Agentic Checkout with UCP and ACP · Waiting for People
- Testing a Purchasing Agent Without MoneyPremium
After: Why Agent Payments Need Their Own Protocols · Side Effects That Survive Retries
- An SDK Approval That Survives a RestartPremium
After: The OpenAI Agents SDK and the Claude Agent SDK · Waiting for People
- Connecting Agents Built on Two FrameworksPremium
After: Choosing an Agent Framework, or None · Agent-to-Agent Delegation with A2A
- Streaming Framework Events to a UIPremium
After: Reading Any Agent Framework · Streaming a Run to the User with AG-UI
- Proving a Harness Change HelpedFree
After: Improving the Harness, Not the Model: Harness² · pass@k and pass^k
- Acting on a Truncated Subagent ResultFree
After: DeepSeek Harness and the Everything-Is-a-Plugin Design · Anatomy of an Agent Harness
- Skill, MCP Server, Subagent or Hook?Free
After: AGENTS.md and Agent Skills · Anatomy of an Agent Harness
- A Session Log You Can ReplayPremium
After: Anatomy of an Agent Harness · Reading a Trace
- A Policy Plugin Dropped by ConfigPremium
After: DeepSeek Harness and the Everything-Is-a-Plugin Design · Anatomy of an Agent Harness
- Blocking Destructive Commands with a HookPremium
After: Anatomy of an Agent Harness · Isolation Boundaries · How a Harness Decides What Runs: Permission Rules, Modes and Hooks
- Up Front or On Demand in a HarnessPremium
After: AGENTS.md and Agent Skills · The Context Window as a Budget
- Running a Coding Agent Headless in CIPremium
After: Anatomy of an Agent Harness · Credentials Outside the Sandbox · How a Harness Decides What Runs: Permission Rules, Modes and Hooks
- Permission Modes for a Coding HarnessPremium
After: Anatomy of an Agent Harness · Isolation Boundaries · How a Harness Decides What Runs: Permission Rules, Modes and Hooks
- A Decision Lost to CompactionPremium
After: Clearing, Compaction and Notes · Anatomy of an Agent Harness
- How a Harness Should Show FilesPremium
After: Anatomy of an Agent Harness · The Context Window as a Budget
- A Stop Hook That Never Lets GoPremium
After: How a Harness Decides What Runs: Permission Rules, Modes and Hooks · Stop Conditions and Budgets
- The $40,000 NightPremium
After: Budgets, Loops and Termination · Tracing Agents
- A 200-Step Migration That Survives RestartsPremium
After: Long-Horizon Coherence · Durable Execution
- Fanning Out 500 Sub-Tasks DurablyPremium
After: Durable Execution · Side Effects That Survive Retries
- The Agent Release Unit and Mid-Flight RunsPremium
After: Versioning Prompts, Tools and Models as One Release
- Routing Between a Large and Small ModelFree with account
After: Agent Economics: Prefill, Caching and Routing · Regressions in a Non-Deterministic System
- Cold Starts at 500 Sessions a MinutePremium
After: Workspaces, Snapshots and Cold Starts
- Agents Storming an API After an OutagePremium
After: Backpressure and Fleet Behaviour · Tool Errors as Observations
- Sharing One Model Quota Across TenantsPremium
After: Backpressure and Fleet Behaviour · Agent Economics: Prefill, Caching and Routing
- A Two-Hour Tool CallFree with account
After: Long-Running Tool Calls · Durable Execution
- A New Scope Mid-TaskPremium
After: Authorization at the Protocol Boundary · Waiting for People
- Protocol Upgrades Without a Flag DayPremium
After: The Model Context Protocol · Gateways and Registries
- Where Authorization Lives in MCPPremium
After: Authorization at the Protocol Boundary · Gateways and Registries
- A Redirect While Holding a TokenPremium
After: Authorization at the Protocol Boundary · Credentials Outside the Sandbox
- Rendering a Partner Agent's UIPremium
After: Generative UI with A2UI and MCP Apps · Agent-to-Agent Delegation with A2A
- A Hub for Six MCP ServersPremium
After: Composing Many MCP Servers in One Host
- A Shopping Agent That Can PayFree
After: Why Agent Payments Need Their Own Protocols · AP2 Mandates: Signed Proof of What the User Approved · Agentic Checkout with UCP and ACP
- Accepting Agent Orders as a MerchantPremium
After: Proving a Request Comes from an Agent · Agentic Checkout with UCP and ACP
- Designing a Coding Agent HarnessFree
After: Anatomy of an Agent Harness · Isolation Boundaries
- Wire Transfers Without Idempotency KeysFree
After: Side Effects That Survive Retries · Waiting for People
- New Model, Runs Mid-FlightPremium
After: Durable Execution · Regressions in a Non-Deterministic System · Versioning Prompts, Tools and Models as One Release
- Isolating 20,000 Coding SessionsFree
After: Isolation Boundaries · Workspaces, Snapshots and Cold Starts
- Build or Buy the Agent RuntimePremium
After: Isolation Boundaries · Durable Execution · Tracing Agents
- A Gateway for 300 MCP ServersFree
After: Gateways and Registries · Authorization at the Protocol Boundary · Composing Many MCP Servers in One Host
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
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
- What Multi-Agent Systems AreFree
After: When a Second Agent Pays
- How a Coding Agent WorksFree
After: Repository Context
- Reviewing a Coding Agent's Pull RequestPremium
After: Verification Loops · Applying Edits
- Where an Agent Task's Cost GoesFree
After: Optimise an Agent in the Right Order
- Cheaper per Task, Dearer per SuccessPremium
After: Optimise an Agent in the Right Order · Agent Economics: Prefill, Caching and Routing
- Memory for a Coding Agent Across SessionsPremium
After: Memory Architectures Compared: Vector Stores, Graphs, Profiles and Notes · Repository Context
- Acting on a Benchmark ClaimPremium
After: Reading Agent Benchmarks · pass@k and pass^k
- Handoff or Agent-as-ToolFree
After: Handoffs and Agents as Tools
- Token Bill of Five WorkersPremium
After: Orchestrator and Workers · Prompt Caching for Agents
- The Group Chat That Resends EverythingPremium
After: When a Second Agent Pays · The Context Window as a Budget
- Map-Reduce Agents vs a SwarmPremium
After: Multi-Agent Topologies: Supervisor, Router, Map-Reduce and Swarm · When a Second Agent Pays
- A Worker Agent That Is StuckPremium
After: Orchestrator and Workers · Budgets, Loops and Termination · How Swarms Fail: Six Patterns and the Cheap Guard for Each
- Shared Workspace or Messages Between AgentsPremium
After: Multi-Agent Topologies: Supervisor, Router, Map-Reduce and Swarm · Shared State and Conflicts · Mailboxes and Actors: Message Passing Between Agents
- A Test Loop That Does Not SpiralFree
After: Verification Loops · Budgets, Loops and Termination
- Accessibility Tree or ScreenshotsPremium
After: Grounding Computer-Use Agents
- 800 Lines for a Two-Line FixPremium
After: Applying Edits · Verification Loops
- When a Coding Agent's PR Is DonePremium
After: Verification Loops · Reward Hacking in Coding Agents
- Fixing a Flaky Test Without SleepsPremium
After: Verification Loops · Reward Hacking in Coding Agents
- A Coding Agent in Code Without TestsPremium
After: Verification Loops · Repository Context
- A 300-File Migration with an AgentPremium
After: Applying Edits · Verification Loops
- Redesigning the Agent's Shell ToolPremium
After: Terminal Agents: One Shell, Many Commands
- A Crew That Skips the Fact-CheckFree with account
After: CrewAI: Crews and Flows · Multi-Agent Topologies: Supervisor, Router, Map-Reduce and Swarm
- Parallel Branches Losing UpdatesPremium
After: LangChain and LangGraph · Shared State and Conflicts
- Reusing a Coding Harness for AnalysisPremium
After: Anatomy of an Agent Harness · Verification Loops
- Cutting an Agent's Cost and LatencyFree
After: Optimise an Agent in the Right Order · Agent Economics: Prefill, Caching and Routing
- What Prompt Optimisers SearchFree
After: Prompt Optimisation with a Metric: DSPy, GEPA and MIPROv2 · Optimise an Agent in the Right Order
- A Prompt Cache Hit Rate That CollapsedPremium
After: Prompt Caching for Agents · Optimise an Agent in the Right Order
- When Output Tokens Dominate the BillPremium
After: Agent Economics: Prefill, Caching and Routing · Optimise an Agent in the Right Order
- Fewer Model Round Trips per TaskPremium
After: Optimise an Agent in the Right Order · Parallel Tool Calls
- Moving Overnight Agent Work to BatchPremium
After: Agent Economics: Prefill, Caching and Routing · Durable Execution
- Choosing Examples for an Agent's PromptPremium
After: Prompt Optimisation with a Metric: DSPy, GEPA and MIPROv2 · Prompt Caching for Agents
- Two Agents, One Contradictory MemoryPremium
After: Memory Write and Read Policies · Shared State and Conflicts
- Contradictory Findings from Two WorkersFree
After: Shared State and Conflicts · Cascading Errors
- Lost Updates in Shared Agent StatePremium
After: Shared State and Conflicts · Parallel Tool Calls
- A Handoff Contract Without the TranscriptPremium
After: Handoffs and Agents as Tools · Clearing, Compaction and Notes
- Designing a Deep Research AgentPremium
After: Deep Research Agents · Orchestrator and Workers
- Which Agent Caused the Failure?Premium
After: Cascading Errors · Tracing Agents
- A Lead-to-Worker Message ContractPremium
After: Mailboxes and Actors: Message Passing Between Agents
- Guards Against Runaway SpawningPremium
After: How Swarms Fail: Six Patterns and the Cheap Guard for Each
- Twelve Agents, One RepositoryFree with account
After: Shared State and Conflicts · When a Second Agent Pays
- The Wrong Approve ButtonPremium
After: Grounding Computer-Use Agents · Waiting for People
- Evaluating Coding Agents on Your ReposPremium
After: Outcome and Trajectory Grading · Reward Hacking in Coding Agents
- A Map for a 40,000-File MonorepoPremium
After: Building a Ranked Repository Map Under a Token Budget · Repository Context
- Accepting an Automated Harness EditPremium
After: Improving the Harness, Not the Model: Harness² · Regressions in a Non-Deterministic System
- A Harness Change That Splits by ModelPremium
After: Improving the Harness, Not the Model: Harness² · Regressions in a Non-Deterministic System
- Optimising for Consistency, Not One RunPremium
After: pass@k and pass^k · Optimise an Agent in the Right Order
- Starting Tool Calls Before They Are AskedPremium
After: Parallel Tool Calls · Optimise an Agent in the Right Order
- Agent Debate: Evidence or Cost?Premium
After: Cascading Errors · Search over Trajectories
- An Agent That Installs PackagesPremium
After: Isolation Boundaries · Credentials Outside the Sandbox · Terminal Agents: One Shell, Many Commands
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
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
- What Agent Guardrails AreFree
After: Guardrails in Layers
- Approaching the Agent Design RoundFree
After: The Agentic Design Method
- What the Build Round TestsFree
After: What the Live Build Round Tests
- Approval for Some Arguments OnlyPremium
After: Tool Contracts · Policy Decision Points
- Showing the Plan Before ActingPremium
After: Plan-and-Execute and Replanning · Approvals People Read
- Which Actions Need a HumanPremium
After: Approvals People Read · Policy Decision Points · Showing the Work: Step Views, Approvals and Undo
- Where Credentials LivePremium
After: Credentials Outside the Sandbox · Delegated Identity for Agents
- Workload Identity vs User DelegationPremium
After: Workload Identity, Token Exchange and Proof of Possession for Agents · Delegated Identity for Agents
- Inline or Parallel Guardrail ChecksPremium
After: Guardrails in Layers · Policy Decision Points
- A Guardrail Blocking Legitimate RequestsPremium
After: Guardrails in Layers · Calibrating an LLM Judge
- Velocity Limits on Agent ActionsPremium
After: Policy Decision Points · Guardrails in Layers
- Voice Agent Recalls What It Never SaidPremium
After: Real-Time Voice Agents: Turn-Taking, Barge-In and the Latency Budget · Agent Economics: Prefill, Caching and Routing
- Approvals and Undo for an Email AgentPremium
After: Showing the Work: Step Views, Approvals and Undo
- Build: Retries with a BudgetFree
After: Tool Errors as Observations · Backpressure and Fleet Behaviour
- Build: A Loop DetectorFree
After: Stuck-Loop Detectors: Repeats, Cycles and No Progress · Budgets, Loops and Termination · Reading a Trace
- Build: A Test Harness for AgentsPremium
After: Testing Agents with a Scripted Model · Replay Cassettes: Recorded Model Calls for Deterministic Agent Tests
- Steering an AI Assistant in a Live RoundPremium
After: AI-Assisted Build Rounds · Testing Agents with a Scripted Model
- Build: An Approval Gate Bound to ArgumentsPremium
After: Approvals People Read · Testing Agents with a Scripted Model
- Build: A Tool Result ShaperPremium
After: The Context Window as a Budget · Tool Errors as Observations
- Build: An Event Intake for an AgentPremium
After: Event-Driven and Background Agents · Idempotent Side Effects
- Build: A Validator with Fixable ErrorsPremium
After: Tool Contracts · Tool Errors as Observations
- Build: A Citation CheckerPremium
After: Deep Research Agents · Verification Loops
- Is a 2-Point Gain Worth 3x Cost?Free
After: Optimise an Agent in the Right Order · Distilling Routers and Small Models from Agent Traces
- Training a Router from Agent TracesPremium
After: Distilling Routers and Small Models from Agent Traces · Outcome and Trajectory Grading
- A Refund Policy as CodeFree
After: Policy Decision Points · Approvals People Read
- Leaking Data Without a Send ToolFree with account
After: Exfiltration Paths · Guardrails in Layers
- An Agent Audit Trail for RegulatorsPremium
After: Policy Decision Points · Tracing Agents · Audit Logs for Agent Actions
- Rolling Out Policy on 40 ToolsPremium
After: Policy Decision Points · Regressions in a Non-Deterministic System
- Can One Agent Approve Another's Action?Premium
After: Approvals People Read · Delegated Identity for Agents
- Proving an Agent Action Log Is UntouchedPremium
After: Audit Logs for Agent Actions
- Design: Incident Triage AgentFree
After: The Agentic Design Method · Autonomy Levels
- Design: Email and Calendar AssistantPremium
After: Exfiltration Paths · Delegated Identity for Agents
- Design: Voice Agent for BookingsPremium
After: Agent Economics: Prefill, Caching and Routing · The Agentic Design Method · Real-Time Voice Agents: Turn-Taking, Barge-In and the Latency Budget
- Design: SQL Agent on Production ReplicasPremium
After: Reflection with an External Signal · Delegated Identity for Agents
- Six Weeks to an Agent at a BankPremium
After: Autonomy Levels · Designing for Failure
- Estimate: A Support Agent at 50,000 a DayPremium
After: Sizing an Agent System: Tokens, Concurrency and Cost on One Page · Agent Economics: Prefill, Caching and Routing
- The Runaway Fleet PlaybookPremium
After: Incident Playbooks for Agents
- Build: Compaction That Keeps What MattersFree with account
After: Clearing, Compaction and Notes · Testing Agents with a Scripted Model
- Build: pass^k with an IntervalPremium
After: pass@k and pass^k · Regressions in a Non-Deterministic System
- Build: Progress Streaming and CancellationPremium
After: What the Live Build Round Tests · Long-Running Tool Calls
- Designing an RL Reward for a Coding AgentFree
After: Reinforcement Learning with Verifiable Rewards for Agents · Reward Hacking in Coding Agents
- Does GRPO Always Help an Agent?Free with account
After: Reinforcement Learning with Verifiable Rewards for Agents · pass@k and pass^k
- RL or Prompt Optimisation?Premium
After: Reinforcement Learning with Verifiable Rewards for Agents · Prompt Optimisation with a Metric: DSPy, GEPA and MIPROv2
- A Distilled Model That Fails in ProductionPremium
After: Distilling Routers and Small Models from Agent Traces · Reading Agent Benchmarks
- Escalation Through a HandoffPremium
After: Delegated Identity for Agents · Handoffs and Agents as Tools
- Design: Invoice to Payment, No Wrong AmountsFree with account
After: Designing for Failure · Side Effects That Survive Retries
- Design: An Internal Agent PlatformPremium
After: Gateways and Registries · Policy Decision Points
- Cross-Company Procurement AgentsPremium
After: The Agent Protocol Map · Workload Identity, Token Exchange and Proof of Possession for Agents · AP2 Mandates: Signed Proof of What the User Approved
- Design: Browser Agent in a Regulated PortalPremium
After: Browser Agents: Sessions, Boundaries and Irreversible Clicks · Designing for Failure
- Design: IT Helpdesk Agent Granting AccessPremium
After: Delegated Identity for Agents · Policy Decision Points
- Design: A Contract Review AgentPremium
After: Designing for Failure · The Agentic Design Method