Discover how the Claude Agent SDK transforms your TypeScript code into a powerful AI agent orchestrator. Starting from installation through advanced configuration, you'll learn to launch agents, handle their responses, configure agent behavior, and leverage built-in tools—giving your applications a solid foundation for integrating Claude-powered capabilities.
Overview
Syllabus
- Unit 1: What is the Claude Agent SDK?
- Discovering Claude Code Powers
- Unit 2: Streaming One-Shot Queries
- Your First Agent Query with Streaming Messages
- Extracting Text from Assistant Messages
- Discovering Default Tool Permissions
- Extracting Agent Interaction Metrics
- Understanding Stateless Query Behavior
- Unit 3: Customizing Agents with Options
- Configure Your First Agent with Model Selection
- Comparing Model Performance and Cost: Haiku vs Opus
- Configure a Terse Senior Engineer Personality
- Understanding Agent Turn Limits with maxTurns
- Unit 4: Allowing Built-In Tools
- Displaying Tool Use Blocks in Agent Messages
- Handling Tool Result Blocks in User Messages
- Enable Core Tools for Your Agent
- Enable File Editing with Permission Mode
- Configure Working Directory for Agent File Operations