Course 15
Claude Code SDK and API
Drive Claude from code: the Messages API and Agent SDK end to end. Typed responses, system and roles, streaming, tool use, the agent loop (tool_runner), structured output, prompt caching and token counting, then a small shippable app.
- 1The Messages API: one endpoint, one shape3 q
- 2System prompts, roles, and a stateless API3 q
- 3Streaming responses3 q
- 4Tool use and function calling3 q
- 5The agent loop and the tool runner3 q
- 6Structured output you can trust3 q
- 7Prompt caching and token counting3 q
- 8Build a small app with the SDK3 q