claude-agent-sdk-python

by anthropics · Developer Tools

Claude Agent SDK for Python Python SDK for Claude Agent. See the Claude Agent SDK documentation for more information.

New0 ratings8,052 starsActive
Developer ToolsDeveloper ToolPythonShell
↓ Download v0.2.152GitHub⚑ Report
claude-agent-sdk-python — image 1

About this project

Claude Agent SDK for Python Python SDK for Claude Agent. See the Claude Agent SDK documentation for more information. Installation Prerequisites: — Python 3.10+ Note: The Claude Code CLI is automatically bundled with the package - no separate installation required! The SDK will use the bundled CLI by default. If you prefer to use a system-wide installation or a specific version, you can: — Install Claude Code separately: curl -fsSL https://claude.ai/install.sh bash — Specify a custom path: ClaudeAgentOptions(clipath="/path/to/claude") Quick Start Basic Usage: query() query() is an async function for querying Claude Code. It returns an AsyncIterator of response messages. See…

Technologies

ShellPython

Project health

Actively maintained
Last update2 days ago
Contributors70
Latest releasev0.2.152
Open issues & PRs451
LicenseMIT
On GitHubsince 2025

GitHub

8,052
stars
1,262
forks
70
contributors
451
open issues & PRs
Python
language
2 days ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review claude-agent-sdk-python.

Built by

anthropics
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain anthropics/claude-agent-sdk-python? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like