Module 11 of 11

Agent SDK & Scaling Up

Lessons

About This Module

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.

Lessons

4 videos
01

Claude Agent SDK Tutorial: Build Your First Agent

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.

02

Build Custom AI Agents in Under 100 Lines

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.

03

Run Multiple Claude Code Agents in Parallel with Git Worktrees

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.

04

How to Build Multi-Agent Teams in Claude Code

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.