a hands-on course

Build an
AI Agent

(AI Agents)

Give Claude a loop and real tools, and watch it plan, act and finish a task on its own — in Python, in about half an hour.

A free, hands-on tutorial: turn a chatbot into an AI agent. Wrap the model in a loop, give it real Python tools, and let it plan, act and observe until a task is done — first by hand to see the mechanism, then with the SDK's tool runner. The capstone of the build track and the direct sequel to the Claude API app course. (Needs an Anthropic API key and spends a few cents — an agent makes several calls per task.)

in the real world

Agents are the frontier of applied AI: coding assistants, research helpers, customer-support bots and computer-use tools are all this same loop with better tools. Build it once here and every 'AI agent' headline stops being magic. (Heads up: this one needs an Anthropic API key and costs a few cents to run.)

Part 1 — From a tool call to an agent

Part 2 — Give it real tools

Part 3 — Make it trustworthy