What's Changed
🚀 Features
- Add Capabilities: composable, reusable units of agent behavior that bundle tools, lifecycle hooks, instructions, and model settings into a single class you plug into any agent by @DouweM in #4640
- Add
AgentSpecandAgent.from_filefor loading agents from YAML/JSON, with support for templated instructions referencing deps (viaTemplateStr) by @DouweM in #4640 - Add
Hookscapability for defining hooks using decorators by @DouweM in #4640 - Add
Thinkingcapability and cross-providerthinkingmodel setting by @DouweM in #4640 - Add provider-adaptive tools capabilities
WebSearch,WebFetch,MCP,ImageGenerationthat automatically fall back from builtin (provider) tools to local tools by @DouweM in #4640 - Add
AbstractToolset.for_runandfor_run_stepfor state isolation by @DouweM in #4640 - Add
openai:gpt-5.4-miniandopenai:gpt-5.4-nanoby @adtyavrdhn in #4787
Full Changelog: v1.70.0...v1.71.0