Everything so far has been you working with Claude Code in a terminal. The last step is to turn it into a building block. The Claude Agent SDK lets you run the same agent loop that powers Claude Code from your own program, in Python or TypeScript, with your own tools, permission rules, and hooks wrapped around it.
This module starts with building your first agent and giving it custom tools. It then covers scaling up: running several Claude Code sessions side by side in separate git worktrees so they don't conflict, and understanding when to use sub-agents and agent teams.
Watch the lessons in order, then put everything into practice with the Projects.
A hands-on walkthrough of setting up the Anthropic SDK and the Claude Agent SDK, configuring your project, and building your first AI agent step by step.
Create a first agent with the Claude Agent SDK in under 100 lines of code, including custom tools you define yourself. A quick way to see how little code a working agent needs.
Shows a git worktree setup for running several Claude Code agents side by side on separate branches, so parallel work never collides in the same files.
Breaks down default agents, sub-agents, and agent teams from scratch, and explains when to use each one. A useful guide for deciding how far to scale a task.