agent-sdk-builder

Installation
SKILL.md

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.


Related skills
Installs
1
GitHub Stars
2
First Seen
3 days ago