AI Agents

Tools, planning, memory and guardrails.

How AI agents work and how to build ones you can trust: the agent loop, workflows versus agents, tool design, the Model Context Protocol, code and computer use, planning, reflection, error recovery, memory, long-running context, durable state, multi-agent systems, agent-to-agent protocols, frameworks and managed platforms, guardrails, prompt injection, humans in the loop, evaluation, and cost and tracing. Vendor-neutral, covering open-source frameworks and the agent services of OpenAI, Anthropic, Google, AWS and Microsoft. By the end you can decide when an agent is the right tool, design one, and keep it safe and affordable in production.

7
chapters
21
modules
~8h
of learning
21
live now
21 modules

Take modules in any order. The route suggests one that builds up naturally.

Take a look inside

The big picture, before the details

An agent system: a model in a loop with tools, memory, other agents, guardrails, a person and evals. Watch the tour, or click any part.

goalmodelsearchorderscodememory · stateother agentsguardrailspersonevals · tracesa model in a loop, with tools, memory and limits

A goal: someone asks for an outcome, not an answer; the agent decides the steps (modules 1–3).

A taste of module 17: switch the three legs of the lethal trifecta and see whether a poisoned web page can steal data.

A research agent reads a web page with hidden instructions. Switch the three legs on and off.

All three legs present: private data, untrusted content and a way out. Data stolen.

01

The big picture

What makes a program an agent.

3 modules · 65 min

02

Tools

How agents act on the world.

3 modules · 75 min

03

Planning and reasoning

Breaking goals into steps.

3 modules · 65 min

04

Memory and context

What an agent remembers.

3 modules · 70 min

05

Many agents

Teams, protocols and frameworks.

3 modules · 65 min

06

Safety and production

Trustworthy agents in the real world.

5 modules · 115 min

07

Capstone

Everything together.

1 module · 40 min