freshcrate
Skin:/
Home > AI Agents > claude-agent-sdk

claude-agent-sdk

Python SDK for Claude Code

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

# Claude Agent SDK for Python Python SDK for Claude Agent. See the [Claude Agent SDK documentation](https://platform.claude.com/docs/en/agent-sdk/python) for more information. ## Installation ```bash pip install claude-agent-sdk ``` **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(cli_path="/path/to/claude")` ## Quick Start ```python import anyio from claude_agent_sdk import query async def main(): async for message in query(prompt="What is 2 + 2?"): print(message) anyio.run(main) ``` ## Basic Usage: query() `query()` is an async function for querying Claude Code. It returns an `AsyncIterator` of response messages. See [src/claude_agent_sdk/query.py](src/claude_agent_sdk/query.py). ```python from claude_agent_sdk import query, ClaudeAgentOptions, AssistantMessage, TextBlock # Simple query async for message in query(prompt="Hello Claude"): if isinstance(message, AssistantMessage): for block in message.content: if isinstance(block, TextBlock): print(block.text) # With options options = ClaudeAgentOptions( system_prompt="You are a helpful assistant", max_turns=1 ) async for message in query(prompt="Tell me a joke", options=options): print(message) ``` ### Using Tools By default, Claude has access to the full [Claude Code toolset](https://code.claude.com/docs/en/settings#tools-available-to-claude) (Read, Write, Edit, Bash, and others). `allowed_tools` is a permission allowlist: listed tools are auto-approved, and unlisted tools fall through to `permission_mode` and `can_use_tool` for a decision. It does not remove tools from Claude's toolset. To block specific tools, use `disallowed_tools`. See the [permissions guide](https://platform.claude.com/docs/en/agent-sdk/permissions) for the full evaluation order. ```python options = ClaudeAgentOptions( allowed_tools=["Read", "Write", "Bash"], # auto-approve these tools permission_mode='acceptEdits' # auto-accept file edits ) async for message in query( prompt="Create a hello.py file", options=options ): # Process tool use and results pass ``` ### Working Directory ```python from pathlib import Path options = ClaudeAgentOptions( cwd="/path/to/project" # or Path("/path/to/project") ) ``` ## ClaudeSDKClient `ClaudeSDKClient` supports bidirectional, interactive conversations with Claude Code. See [src/claude_agent_sdk/client.py](src/claude_agent_sdk/client.py). Unlike `query()`, `ClaudeSDKClient` additionally enables **custom tools** and **hooks**, both of which can be defined as Python functions. ### Custom Tools (as In-Process SDK MCP Servers) A **custom tool** is a Python function that you can offer to Claude, for Claude to invoke as needed. Custom tools are implemented in-process MCP servers that run directly within your Python application, eliminating the need for separate processes that regular MCP servers require. For an end-to-end example, see [MCP Calculator](examples/mcp_calculator.py). #### Creating a Simple Tool ```python from claude_agent_sdk import tool, create_sdk_mcp_server, ClaudeAgentOptions, ClaudeSDKClient # Define a tool using the @tool decorator @tool("greet", "Greet a user", {"name": str}) async def greet_user(args): return { "content": [ {"type": "text", "text": f"Hello, {args['name']}!"} ] } # Create an SDK MCP server server = create_sdk_mcp_server( name="my-tools", version="1.0.0", tools=[greet_user] ) # Use it with Claude. allowed_tools pre-approves the tool so it runs # without a permission prompt; it does not control tool availability. options = ClaudeAgentOptions( mcp_servers={"tools": server}, allowed_tools=["mcp__tools__greet"] ) async with ClaudeSDKClient(options=options) as client: await client.query("Greet Alice") # Extract and print response async for msg in client.receive_response(): print(msg) ``` #### Benefits Over External MCP Servers - **No subprocess management** - Runs in the same process as your application - **Better performance** - No IPC overhead for tool calls - **Simpler deployment** - Single Python process instead of multiple - **Easier debugging** - All code runs in the same process - **Type safety** - Direct Python function calls with type hints #### Migration from External Servers ```python # BEFORE: External MCP server (separate process) options = ClaudeAgentOptions( mcp_servers={ "calculator": { "type": "stdio", "command": "python", "args": ["-m", "calculator_server"] } } ) # AFTER: SDK MCP server (in-process

Release History

VersionChangesUrgencyDate
v0.2.88 ### Bug Fixes - **Trio compatibility for session stores**: Ported `session_store` code paths (`TranscriptMirrorBatcher`, `session_resume`, `sessions`) from raw `asyncio` primitives to `anyio`, fixing a crash (`TypeError: trio.run received unrecognized yield message`) when passing `session_store=` to `query()` or `ClaudeSDKClient` under trio (#990) ### Internal/Other Changes - Switched e2e CI jobs (`test-e2e`, `test-e2e-docker`, `test-examples`) from static API key to workload identity federaHigh6/2/2026
v0.2.87 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.150 - Switched CI workflows from static API key to Workload Identity Federation for Claude authentication, using short-lived tokens instead of long-lived secrets (#984) --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.2.87/ ```bash pip install claude-agent-sdk==0.2.87 ``` High5/23/2026
v0.2.85 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.148 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.2.85/ ```bash pip install claude-agent-sdk==0.2.85 ``` High5/22/2026
v0.2.82### Breaking - **Breaking:** MCP servers now connect in the background by default; sessions start immediately and slow servers report `status: "pending"` in `init` until ready. Set `MCP_CONNECTION_NONBLOCKING=0` to restore the old behavior of waiting up to 5s before the first query, or mark a server `alwaysLoad: true` to require it in turn 1. - **Breaking:** Headless and SDK sessions now use Task tools (`TaskCreate` / `TaskUpdate` / `TaskGet` / `TaskList`) instead of `TodoWrite`. Tool consumHigh5/15/2026
v0.1.80 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.138 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.80/ ```bash pip install claude-agent-sdk==0.1.80 ``` High5/9/2026
v0.1.73 ### New Features - **Eager session store flushing**: Added `session_store_flush` option to `ClaudeAgentOptions` (`"batched"` or `"eager"`). When set to `"eager"`, the transcript mirror delivers frames to `SessionStore.append()` in near-real-time instead of waiting for the end-of-turn flush, enabling live-tailing UIs, cross-process resume, and crash-durability use cases (#905) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.128 --- **PyPI:** https://pypi.org/project/High5/4/2026
v0.1.71 ### New Features - **Domain allowlist fields for sandbox network config**: Added `allowedDomains`, `deniedDomains`, `allowManagedDomainsOnly`, and `allowMachLookup` fields to `SandboxNetworkConfig`, bringing parity with the TypeScript schema and enabling Python SDK users to configure network allowlists with proper type hints (#893) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.123 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.71/ ```bash pip installHigh4/29/2026
v0.1.66 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.119 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.66/ ```bash pip install claude-agent-sdk==0.1.66 ``` High4/23/2026
0.1.64Imported from PyPI (0.1.64)Low4/21/2026
v0.1.64 ### New Features - **SessionStore adapter**: Full SessionStore support at parity with the TypeScript SDK. Includes a `SessionStore` protocol with 5 methods (`append`, `load`, `list_sessions`, `delete`, `list_subkeys`), `InMemorySessionStore` reference implementation, transcript mirroring via `--session-mirror`, session resume from store, and 9 new async store-backed helper functions (`list_sessions_from_store`, `get_session_messages_from_store`, `fork_session_via_store`, etc.). Also adds a 13-High4/20/2026
v0.1.63 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.114 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.63/ ```bash pip install claude-agent-sdk==0.1.63 ``` High4/18/2026
v0.1.62 ### New Features - **Top-level `skills` option**: Added `skills` parameter to `ClaudeAgentOptions` for enabling skills on the main session without manually configuring `allowed_tools` and `setting_sources`. Supports `"all"` for every discovered skill, a list of named skills, or `[]` to suppress all skills (#804) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.113 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.62/ ```bash pip install claude-agent-sdk==0High4/17/2026
v0.1.61 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.112 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.61/ ```bash pip install claude-agent-sdk==0.1.61 ``` High4/16/2026
v0.1.60 ### New Features - **Subagent transcript helpers**: Added `list_subagents()` and `get_subagent_messages()` session helpers for reading subagent transcripts, enabling inspection of subagent message chains spawned during a session (#825) - **Distributed tracing**: Propagate W3C trace context (`TRACEPARENT`/`TRACESTATE`) to the CLI subprocess when an OpenTelemetry span is active, connecting SDK and CLI traces end-to-end. Install with `pip install claude-agent-sdk[otel]` for optional OpenTelemetryHigh4/16/2026
v0.1.59 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.105 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.59/ ```bash pip install claude-agent-sdk==0.1.59 ``` Medium4/13/2026
v0.1.58 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.97 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.58/ ```bash pip install claude-agent-sdk==0.1.58 ``` Medium4/9/2026
v0.1.57 ### New Features - **Cross-user prompt caching**: Added `exclude_dynamic_sections` option to `SystemPromptPreset`, enabling cross-user prompt cache hits by moving per-user dynamic sections (working directory, memory, git status) out of the system prompt (#797) - **Auto permission mode**: Added `"auto"` to the `PermissionMode` type, bringing parity with the TypeScript SDK and CLI v2.1.90+ (#785) ### Bug Fixes - **Thinking configuration**: Fixed `thinking={"type": "adaptive"}` incorrectly mappMedium4/9/2026
v0.1.56 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.92 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.56/ ```bash pip install claude-agent-sdk==0.1.56 ``` Medium4/4/2026
v0.1.55 ### Bug Fixes - **MCP large tool results**: Forward `maxResultSizeChars` from `ToolAnnotations` via `_meta` to bypass Zod annotation stripping in the CLI, fixing silent truncation of large MCP tool results (>50K chars) (#756) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.91 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.55/ ```bash pip install claude-agent-sdk==0.1.55 ``` Medium4/3/2026
v0.1.54 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.54/ ```bash pip install claude-agent-sdk==0.1.54 ``` Medium4/2/2026
v0.1.53 ### Bug Fixes - **Setting sources flag**: Fixed `--setting-sources` being passed as an empty string when not provided, which caused the CLI to misparse subsequent flags (#778) - **String prompt deadlock**: Fixed deadlock when using `query()` with a string prompt and hooks/MCP servers that trigger many tool calls, by spawning `wait_for_result_and_end_input()` as a background task (#780) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.88 --- **PyPI:** https://pypi.orgMedium3/31/2026
v0.1.52 ### New Features - **Context usage**: Added `get_context_usage()` method to `ClaudeSDKClient` for querying context window usage by category (#764) - **Annotated parameter descriptions**: The `@tool` decorator and `create_sdk_mcp_server` now support `typing.Annotated` for per-parameter descriptions in JSON Schema (#762) - **ToolPermissionContext fields**: Exposed `tool_use_id` and `agent_id` in `ToolPermissionContext` for distinguishing parallel permission requests (#754) - **Session ID option*Medium3/29/2026
v0.1.51 ### New Features - **Session management**: Added `fork_session()`, `delete_session()`, and offset-based pagination for session listing (#744) - **Task budget**: Added `task_budget` option for token budget management (#747) - **SystemPromptFile**: Added support for `--system-prompt-file` CLI flag via `SystemPromptFile` (#591) - **AgentDefinition fields**: Added `disallowedTools`, `maxTurns`, and `initialPrompt` to `AgentDefinition` (#759) - **Preserved fields**: Preserve dropped fields on `AssiMedium3/27/2026
v0.1.50 ### New Features - **Session info**: Added `tag` and `created_at` fields to `SDKSessionInfo` and new `get_session_info()` function for retrieving session metadata (#667) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.81 - Hardened PyPI publish workflow against partial-upload failures (#700) - Added daily PyPI storage quota monitoring (#705) --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.50/ ```bash pip install claude-agent-sdk==0.1.50 ``` Low3/20/2026
v0.1.49 ### New Features - **AgentDefinition**: Added `skills`, `memory`, and `mcpServers` fields (#684) - **AssistantMessage usage**: Preserve per-turn `usage` on `AssistantMessage` (#685) - **Session tagging**: Added `tag_session()` with Unicode sanitization (#670) - **Session renaming**: Added `rename_session()` (#668) - **RateLimitEvent**: Added typed `RateLimitEvent` message (#648) ### Bug Fixes - **CLAUDE_CODE_ENTRYPOINT**: Use default-if-absent semantics to match TS SDK (#686) - **Fine-graineLow3/20/2026
v0.1.48 ### Bug Fixes - **Fine-grained tool streaming**: Fixed `include_partial_messages=True` not delivering `input_json_delta` events by enabling the `CLAUDE_CODE_ENABLE_FINE_GRAINED_TOOL_STREAMING` environment variable in the subprocess. This regression affected versions 0.1.36 through 0.1.47 for users without the server-side feature flag (#644) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.71 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.48/ ```bash pipLow3/7/2026
v0.1.47 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.70 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.47/ ```bash pip install claude-agent-sdk==0.1.47 ``` Low3/6/2026
v0.1.46 ### New Features - **Session history functions**: Added `list_sessions()` and `get_session_messages()` top-level functions for retrieving past session data (#622) - **MCP control methods**: Added `add_mcp_server()`, `remove_mcp_server()`, and typed `McpServerStatus` for runtime MCP server management (#620) - **Typed task messages**: Added `TaskStarted`, `TaskProgress`, and `TaskNotification` message subclasses for better type safety when handling task-related events (#621) - **ResultMessage stLow3/5/2026
v0.1.45 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.63 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.45/ ```bash pip install claude-agent-sdk==0.1.45 ``` Low3/3/2026
v0.1.44 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.59 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.44/ ```bash pip install claude-agent-sdk==0.1.44 ``` Low2/26/2026
v0.1.43 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.56 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.43/ ```bash pip install claude-agent-sdk==0.1.43 ``` Low2/25/2026
v0.1.42 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.55 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.42/ ```bash pip install claude-agent-sdk==0.1.42 ``` Low2/25/2026
v0.1.41 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.52 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.41/ ```bash pip install claude-agent-sdk==0.1.41 ``` Low2/24/2026
v0.1.40 ### Bug Fixes - **Unknown message type handling**: Fixed an issue where unrecognized CLI message types (e.g., `rate_limit_event`) would crash the session by raising `MessageParseError`. Unknown message types are now silently skipped, making the SDK forward-compatible with future CLI message types (#598) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.51 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.40/ ```bash pip install claude-agent-sdk==0.1.40 ``` Low2/24/2026
v0.1.39 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.49 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.39/ ```bash pip install claude-agent-sdk==0.1.39 ``` Low2/19/2026
v0.1.38 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.47 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.38/ ```bash pip install claude-agent-sdk==0.1.38 ``` Low2/18/2026
v0.1.37 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.44 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.37/ ```bash pip install claude-agent-sdk==0.1.37 ``` Low2/16/2026
v0.1.36 ### New Features - **Thinking configuration**: Added `ThinkingConfig` types (`ThinkingConfigAdaptive`, `ThinkingConfigEnabled`, `ThinkingConfigDisabled`) and `thinking` field to `ClaudeAgentOptions` for fine-grained control over extended thinking behavior. The new `thinking` field takes precedence over the now-deprecated `max_thinking_tokens` field (#565) - **Effort option**: Added `effort` field to `ClaudeAgentOptions` supporting `"low"`, `"medium"`, `"high"`, and `"max"` values for controlliLow2/13/2026
v0.1.35 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.39 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.35/ ```bash pip install claude-agent-sdk==0.1.35 ``` Low2/10/2026
v0.1.34 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.38 - Updated CI workflows to use Claude Opus 4.6 model (#556) --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.34/ ```bash pip install claude-agent-sdk==0.1.34 ``` Low2/10/2026
v0.1.33 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.37 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.33/ ```bash pip install claude-agent-sdk==0.1.33 ``` Low2/7/2026
v0.1.32 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.36 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.32/ ```bash pip install claude-agent-sdk==0.1.32 ``` Low2/7/2026
v0.1.31 ### New Features - **MCP tool annotations support**: Added support for MCP tool annotations via the `@tool` decorator's new `annotations` parameter, allowing developers to specify metadata hints like `readOnlyHint`, `destructiveHint`, `idempotentHint`, and `openWorldHint`. Re-exported `ToolAnnotations` from `claude_agent_sdk` for convenience (#551) ### Bug Fixes - **Large agent definitions**: Fixed an issue where large agent definitions would silently fail to register due to platform-specifiLow2/6/2026
v0.1.30 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.32 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.30/ ```bash pip install claude-agent-sdk==0.1.30 ``` Low2/5/2026
v0.1.29 ### New Features - **New hook events**: Added support for three new hook event types (#545): - `Notification` — for handling notification events with `NotificationHookInput` and `NotificationHookSpecificOutput` - `SubagentStart` — for handling subagent startup with `SubagentStartHookInput` and `SubagentStartHookSpecificOutput` - `PermissionRequest` — for handling permission requests with `PermissionRequestHookInput` and `PermissionRequestHookSpecificOutput` - **Enhanced hook input/outpuLow2/4/2026
v0.1.28 ### Bug Fixes - **AssistantMessage error field**: Fixed `AssistantMessage.error` field not being populated due to incorrect data path. The error field is now correctly read from the top level of the response (#506) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.30 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.28/ ```bash pip install claude-agent-sdk==0.1.28 ``` Low2/3/2026
v0.1.27 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.29 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.27/ ```bash pip install claude-agent-sdk==0.1.27 ``` Low1/31/2026
v0.1.26 ### New Features - **PostToolUseFailure hook event**: Added `PostToolUseFailure` hook event type for handling tool use failures, including `PostToolUseFailureHookInput` and `PostToolUseFailureHookSpecificOutput` types (#535) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.27 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.26/ ```bash pip install claude-agent-sdk==0.1.26 ``` Low1/30/2026
v0.1.25 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.23 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.25/ ```bash pip install claude-agent-sdk==0.1.25 ``` Low1/29/2026
v0.1.24 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.22 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.24/ ```bash pip install claude-agent-sdk==0.1.24 ``` Low1/28/2026
v0.1.23 ### Features - **MCP status querying**: Added public `get_mcp_status()` method to `ClaudeSDKClient` for querying MCP server connection status without accessing private internals (#516) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.20 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.23/ ```bash pip install claude-agent-sdk==0.1.23 ``` Low1/27/2026
v0.1.21 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.15 --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.21/ ```bash pip install claude-agent-sdk==0.1.21 ``` Low1/21/2026
v0.1.20 ### Bug Fixes - **Permission callback test reliability**: Improved robustness of permission callback end-to-end tests (#485) ### Documentation - Updated Claude Agent SDK documentation link (#442) ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.9 - **CI improvements**: Updated claude-code actions from @beta to @v1 (#467) --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.20/ ```bash pip install claude-agent-sdk==0.1.20 ``` Low1/16/2026
v0.1.19 ### Internal/Other Changes - Updated bundled Claude CLI to version 2.1.1 - **CI improvements**: Jobs requiring secrets now skip when running from forks (#451) - Fixed YAML syntax error in create-release-tag workflow (#429) --- **PyPI:** https://pypi.org/project/claude-agent-sdk/0.1.19/ ```bash pip install claude-agent-sdk==0.1.19 ``` Low1/8/2026
v0.1.17Published to PyPI: https://pypi.org/project/claude-agent-sdk/0.1.17/ ### Installation ```bash pip install claude-agent-sdk==0.1.17 ``` ## What's Changed * Add UUID to UserMessage response type to improve devX for rewind by @noahzweben in https://github.com/anthropics/claude-agent-sdk-python/pull/418 * chore: release v0.1.17 by @github-actions[bot] in https://github.com/anthropics/claude-agent-sdk-python/pull/419 **Full Changelog**: https://github.com/anthropics/claude-agent-sdk-python/compareLow12/16/2025
v0.1.16Published to PyPI: https://pypi.org/project/claude-agent-sdk/0.1.16/ ### Installation ```bash pip install claude-agent-sdk==0.1.16 ``` ## What's Changed * fix: parse error field in AssistantMessage to enable rate limit detection by @majiayu000 in https://github.com/anthropics/claude-agent-sdk-python/pull/405 * chore: release v0.1.16 by @github-actions[bot] in https://github.com/anthropics/claude-agent-sdk-python/pull/412 ## New Contributors * @majiayu000 made their first contribution in https:Low12/13/2025
v0.1.15Published to PyPI: https://pypi.org/project/claude-agent-sdk/0.1.15/ ### Installation ```bash pip install claude-agent-sdk==0.1.15 ``` ## What's Changed * Add license and terms section to README. by @sarahdeaton in https://github.com/anthropics/claude-agent-sdk-python/pull/399 * feat: add file checkpointing and rewind_files support by @noahzweben in https://github.com/anthropics/claude-agent-sdk-python/pull/395 * chore: release v0.1.15 by @github-actions[bot] in https://github.com/anthropics/clLow12/11/2025
v0.1.14Published to PyPI: https://pypi.org/project/claude-agent-sdk/0.1.14/ ### Installation ```bash pip install claude-agent-sdk==0.1.14 ``` ## What's Changed * fix: move fetch-depth to publish job and use claude-opus-4-5 for changelog by @ashwin-ant in https://github.com/anthropics/claude-agent-sdk-python/pull/394 * chore: release v0.1.14 by @github-actions[bot] in https://github.com/anthropics/claude-agent-sdk-python/pull/398 **Full Changelog**: https://github.com/anthropics/claude-agent-sdk-pythLow12/9/2025
v0.1.13Published to PyPI: https://pypi.org/project/claude-agent-sdk/0.1.13/ ### Installation ```bash pip install claude-agent-sdk==0.1.13 ``` ## What's Changed * fix: add write lock to prevent concurrent transport writes by @CarlosCuevas in https://github.com/anthropics/claude-agent-sdk-python/pull/391 * fix: add McpServer runtime placeholder for Pydantic 2.12+ compatibility by @kaminoguo in https://github.com/anthropics/claude-agent-sdk-python/pull/385 * fix: propagate CLI errors to pending control rLow12/6/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

krisspy-aiUnified AI Agent Library - Supports Claude Agent SDK, Codex SDK, and proxy providers (OpenAI, Gemini, Z.AI)1.1.67
vibe-replayTurn AI coding sessions into animated, interactive web replaysv0.2.3
hermes-agentThe agent that grows with youv2026.6.5
@sleep2agi/agent-nodeOne-command AI Agent node for CommHub networks. Claude + Codex dual runtime.v0.10.12
claude-memA Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sesv13.4.0

More from pypi

markitdownUtility tool for converting various files to Markdown
fastapiFastAPI framework, high performance, easy to learn, fast to code, ready for production
djangoA high-level Python web framework that encourages rapid development and clean, pragmatic design.
flaskA simple framework for building complex web applications.

More in AI Agents

e2bE2B SDK that give agents cloud environments
agent-browser-protocolAgent Browser Protocol - Deterministic AI agent browser control at the engine level
@blockrun/franklinFranklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.
tokentracker-cliToken usage tracker for AI agent CLIs (Claude Code, Codex, Cursor, Kiro, Gemini, OpenCode, OpenClaw, Hermes, GitHub Copilot)