Claude Agent SDK — Python Guide
Production guidance for building AI agents with the Claude Agent SDK in Python.
Naming: The Claude Code SDK was renamed to the Claude Agent SDK (v0.1.0+). Package:
pip install claude-agent-sdk· Import:from claude_agent_sdk import ...
Message Types
All message types for type checking and isinstance() checks:
from claude_agent_sdk import (
AssistantMessage, # Claude's text/tool responses
ResultMessage, # Final r
[Description truncada. Veja o README completo no GitHub.]