v0.6.0 — Python SDK v0.80.0 Feature Parity
What's new
Full parity with the Anthropic Python SDK v0.80.0.
New features
- Adaptive thinking —
thinking: ['type' => 'adaptive']letsclaude-opus-4-6decide whether and how much to think per request - Speed / fast-mode —
speed: 'fast'on Beta Messages for high-throughput inference output_config— structured output configuration in GA Messages- Typed model constants —
ModelParam::MODEL_CLAUDE_OPUS_4_6,MODEL_CLAUDE_SONNET_4_6, and constants for the full model catalogue - Code execution tool — GA versions
code_execution_20250522andcode_execution_20250825; Beta REPL-state versioncode_execution_20260120 - Memory tool —
memory_20250818withview,create,str_replace,insert,delete,renamecommands - Web fetch tool —
web_fetch_20250910(GA) andweb_fetch_20260209(Beta) with domain restrictions and token caps - Beta web search v2 —
web_search_20260209withallowed_callerssupport
New examples
examples/adaptive_thinking.phpexamples/fast_mode.phpexamples/code_execution.phpexamples/memory_tool.phpexamples/web_fetch.php
New tests
tests/Integration/V060FeaturesIntegrationTest.php— 33 tests, 112 assertions- Full suite: 351 tests, 1002 assertions
New tutorial
tutorials/17-v060-features/— complete walkthrough of all v0.6.0 features
Changes
ClaudePhp::SDK_VERSIONupdated to0.6.0composer.jsonversion bumped to0.6.0ModelParamexpanded with typed constants for all current models- README rewritten for clarity and developer experience
Full changelog: https://github.com/claude-php/Claude-PHP-SDK/blob/main/CHANGELOG.md