Agents & Tool Use

Tool calling, planning, multi-step execution, memory, and the failure modes that only appear in loops.

Module 06.5 · Advanced
Free

10h · 8 lessons · 1 challenge

Before this: Retrieval-Augmented Generation

About this module

An agent is a model in a loop with tools, and everything hard about it comes from the loop: compounding errors, unbounded cost, silent failure, and recovery. This module builds one properly, with the guardrails and observability that make it operable.

The approval-gate pattern from our own application assistant is one of the worked examples — irreversible actions should require a human, and this is how that is built.

After this module you can

8 lessons

Lesson 1
Tool calling and interface design for models
Kind
Concept
Length
50 min
Lesson 2
Planning, decomposition and execution loops
Kind
Concept
Length
55 min
Lesson 3
Memory, state and context management across steps
Kind
Concept
Length
50 min
Lesson 4
Failure modes: loops, drift, compounding error
Kind
Concept
Length
50 min
Lesson 5
Guardrails, budgets and human approval gates
Kind
Concept
Length
50 min
Lesson 6
Build an agent with an approval step
Kind
Lab
Length
130 min
Lesson 7
Loop Breaker: stop the runaway agent
Kind
Interactive
Length
40 min
Lesson 8
Checkpoint: agent architecture
Kind
Checkpoint
Length
30 min

The challenge: Loop Breaker

An agent is burning budget and going nowhere. Read the trace, find the step where it lost the plot, and place one guardrail.

Worth 600 XP.

Related modules

All modules