SDKAI and agent development

claude-agent-sdk-python

Calls Claude Agent from Python with async queries, in-process tools, hooks, and interactive sessions.

Stars
7,581
Forks
1,156
License
MIT
Updated
Updated Jul 10, 2026

Checking live repository facts…

Project overview

Claude Agent SDK for Python exposes an async query function and ClaudeSDKClient for bidirectional, interactive conversations with Claude Code. Custom tools and hooks can run as in-process MCP servers, while external MCP servers can be used alongside them. The package bundles the Claude Code CLI by default, requires Python 3.10 or newer, and allows a custom CLI path.

Repository facts

Primary language
Python
License
MIT
Repository updated
Jul 10, 2026
Default branch
main

Resource types

SDKMCP client or host

Use cases

AI and agent developmentSoftware developmentWorkflow automation

Platforms

Claude Code

Runtime

Local

Protocols & integrations

CLI integrationModel Context ProtocolModel Context Protocol

Capabilities

Code executionDelegationFile operationsMemorySecurity guardrailTool use

Audience

Developers

Related projects

Browse more similar projects