To course
Course plan
Plan
Close
The agent loop
One step of an agent loop
Practice: one step of the loop
The loop in code
Practice: the loop in code
Stopping and retrying
Practice: stopping and retrying
What only code can decide
Practice: what code decides
Reliability in production
Timeout and idempotency key
Practice: timeout and idempotency key
Agent designs
Workflow or agent
Practice: workflow or agent
ReAct and plan-and-execute
Practice: ReAct and plan-and-execute
One agent or a swarm
Practice: one agent or a swarm
Context and cost
Why the agent bill grows
Practice: tokens and cache
Context engineering
Practice: managing the window
Agent memory
Practice: what the agent keeps
Tools and protocols
MCP
Practice: MCP
←
→
RU
Sign in
Agents
› The agent loop
Practice: what code decides
Builds on
What only code can decide
Sign in to do the tasks.
‹ Previous
Next lesson ›
Suggest an improvement
Found a mistake