github anthropics/claude-agent-sdk-python v0.1.77

6 hours ago

Bug Fixes

  • Actionable error messages after error results: Replaced the generic Command failed with exit code 1 exception raised after an error result with one carrying the result's actual error text (e.g. "Reached maximum number of turns"), matching the TypeScript SDK behavior (#918)

Documentation

  • Deprecated "Skill" in allowed_tools in favor of the skills option on ClaudeAgentOptions, which provides more granular control over available skills (#924)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.133

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.77/

pip install claude-agent-sdk==0.1.77

Don't miss a new claude-agent-sdk-python release

NewReleases is sending notifications on new releases.