← all repositories

anthropics/claude-agent-sdk-python

Python SDK enabling programmatic access to Anthropic's Claude Code CLI, an AI agent for autonomous code editing and execution.

7.2k stars Python Coding AssistantsAgents
claude-agent-sdk-python
Velocity · 7d
+20
★ / day
Trend
steady
star history

The SDK wraps the bundled Claude Code CLI and exposes an async query interface for sending prompts and receiving responses. It supports configuring system prompts, tool permission allowlists, max turns, and permission modes. By default, the agent has access to file operations, shell commands, and code editing tools.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.