agent-sdk-builder
Claude Agent SDK
The Claude Agent SDK lets you run Claude Code programmatically -- build AI agents that read files, write code, execute commands, search the web, and orchestrate subagents, all from your application code.
Key distinction: The Agent SDK (claude-agent-sdk) runs the full Claude Code agent loop with built-in tools. The Anthropic Client SDK (anthropic) is for raw API calls. Use the Agent SDK when you need autonomous tool-using agents.
Quick Reference
| TypeScript | Python | |
|---|---|---|
| Package | @anthropic-ai/claude-agent-sdk |
claude-agent-sdk |
| Install | npm install @anthropic-ai/claude-agent-sdk |
pip install claude-agent-sdk |
| Auth | ANTHROPIC_API_KEY env var |
ANTHROPIC_API_KEY env var |
| Core function | query() |
query() |
| GitHub | anthropics/claude-agent-sdk-typescript |
anthropics/claude-agent-sdk-python |
The CLI package @anthropic-ai/claude-code is bundled inside the SDK -- no separate install needed.
More from acaprino/alfio-claude-plugins
python-refactor
>
167file-organizer
>
76legal-advisor
Use PROACTIVELY for any legal question -- contracts, compliance, privacy, IP, employment law, terms of service, NDAs, corporate governance. Expert legal advisor specializing in technology law, compliance, and risk mitigation.
39python-comments
>
35deep-dive-analysis
>
35python-performance-optimization
>
31