Repository navigation
python_v0.1.87
⚠️ This release has breaking changes. Read the Breaking changes section before upgrading.
Highlights
- Python 3.14 is supported (#1842).
- MCP Python SDK 2.x:
beeai-framework[mcp]now installs next to packages that needmcp2.x (mcp>=1.30,<3) (#1828).MCPToolcreated withfrom_clientreconnects after the MCP server restarts (#2000). - NVIDIA NIM chat provider:
ChatModel.from_name("nvidia:...")(#1908). - Claude Opus 5.5, Sonnet 5.5, Fable 5.1 and Mythos 5.1: these models reject a forced tool choice. They now get the tool call through structured output on Anthropic, Bedrock and Vertex AI (#1979, #1998). Claude models that reject sampling parameters no longer get the implicit
temperature=0(#1991, #1921). - DeepSeek tool calling works in thinking mode (#2071).
Breaking changes
AgentStack integration removed (#1870)
AgentStack is no longer maintained. Its integration was deprecated in v0.1.86 and is now removed:
- the
beeai_framework.adapters.agentstackmodule (AgentStackAgent,AgentStackServer,AgentStackChatModel, ...) and thebeeai_framework.adapters.beeai_platformaliases; - the
[agentstack]and[beeai-platform]extras; - the
agentstackbackend provider, soChatModel.from_name("agentstack:...")no longer resolves.
Migration: serve agents with A2AServer (pip install 'beeai-framework[a2a]') and call remote agents with A2AAgent or ACPAgent. For models, use a regular backend provider instead of the AgentStack proxies.
A2A adapter now uses a2a-sdk 1.x (#1927)
beeai-framework[a2a] now requires a2a-sdk>=1.3.
- The a2a types in the public API are the 1.x protobuf types. This covers
A2AAgent.agent_card, the a2a fields ofA2AServerMetadata, andA2AAgentOutput.event.A2AAgentUpdateEvent.valueis now aStreamResponseinstead of a(task, update)tuple. - The agent card is served at
/.well-known/agent-card.jsononly. It is no longer served at/.well-known/agent.json. A2AServerMetadata.queue_manageris ignored.A2AServerstill serves 0.3 clients by default. To serve only the 1.0 protocol, setA2AServerConfig(enable_v0_3_compat=False).
OpenAPITool raises on error responses (#1951)
A non-2xx response now raises ToolError instead of returning an OpenAPIToolOutput with the error status. If your code checks output.status for 4xx or 5xx responses, catch ToolError instead.
Behaviour changes
- DeepSeek (#2071):
- The default model is now
deepseek-flash. DeepSeek scheduleddeepseek-chatanddeepseek-reasonerto be discontinued. - Requests that force a tool choice turn thinking off, unless you set
thinkingorreasoning_effort.RequirementAgentforces a tool choice on most steps, so with DeepSeek it now runs without thinking by default.
- The default model is now
- Default models: the default Groq model (#2036) and the default watsonx model (#2076) were replaced because the providers retired the old ones.
PromptTemplateno longer HTML-escapes values (#2033).LocalFileBackendreads and writes files as UTF-8 (#2069).
Fixes
More than 60 fixes, among them:
- Agents:
- Memory:
SlidingMemory,TokenMemoryandSummarizeMemorykeep each tool call together with its results (#1917, #2041, #1900). - JSON Schema to Pydantic conversion handles:
OpenAPITool:StreamToolCallMiddlewareis scoped to its run and resets between model calls (#2029, #2078).- The
ChatModelcache key includes theresponse_formatschema (#2031). - Environment variables are now read:
- LangChain adapter: tools and tool choice are sent to the model (#2043), stop sequences are honoured (#1980, #2016), and the finish reason is reported (#1920).
The full list is in the changelog.