
claude-agent-sdk 0.1.37
0
Python SDK for Claude Code
Contents
Python SDK for Claude Code
Stars: 4859, Watchers: 4859, Forks: 639, Open Issues: 262The anthropics/claude-agent-sdk-python repo was created 8 months ago and the last code push was 22 hours ago.
The project is very popular with an impressive 4859 github stars!
How to Install claude-agent-sdk
You can install claude-agent-sdk using pip
pip install claude-agent-sdk
or add it to a project with poetry
poetry add claude-agent-sdk
Package Details
- Author
- None
- License
- MIT
- Homepage
- None
- PyPi:
- https://pypi.org/project/claude-agent-sdk/
- Documentation:
- https://docs.anthropic.com/en/docs/claude-code/sdk
- GitHub Repo:
- https://github.com/anthropics/claude-agent-sdk-python
Classifiers
Related Packages
Errors
A list of common claude-agent-sdk errors.
Code Examples
Here are some claude-agent-sdk code examples and snippets.
GitHub Issues
The claude-agent-sdk package has 262 open issues on GitHub
- When will new release with task support (2.1.19) come out?
- Claude Code CLI fails to create project log path; ENOENT + lock contention + OOM in multi-agent environment
- [BUG] Model serializes arrays as JSON strings in
StructuredOutput, causing repeated validation failures and silentNoneresult - The agent SDK is unable to use the skills installed in the plugins.
- fix: read error field from top-level data, not message object
- [Feature Request] Add /context command support to SDK for programmatic context inspection
- Fix: Properly populate AssistantMessage error field
- [BUG] AssistantMessage error field not being properly populated
- [BUG] StructuredOutput tool wraps data in 'output' field causing schema validation to fail
- Two Bugs: Large
--agentsand--system-promptfail on Windows due to command line limits - Query() receive ResultMessage,but the task is not yet completed.
- Feature Request: Go/Golang SDK Support for Claude Agent SDK
- ability to set certain tools as always loaded
- Claude/sdk docs to notebook gyd5 p
- /clear don't support
pythonfix