← 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.7k stars Python Coding AssistantsAgents
claude-agent-sdk-python
Velocity · 7d
+7.6
★ / day
Trend
cooling
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.

Frequently asked

What is 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.
Is claude-agent-sdk-python open source?
Yes — anthropics/claude-agent-sdk-python is open source, released under the MIT license.
What language is claude-agent-sdk-python written in?
anthropics/claude-agent-sdk-python is primarily written in Python.
How popular is claude-agent-sdk-python?
anthropics/claude-agent-sdk-python has 7.7k stars on GitHub and is currently cooling off.
Where can I find claude-agent-sdk-python?
anthropics/claude-agent-sdk-python is on GitHub at https://github.com/anthropics/claude-agent-sdk-python.

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