Repository navigation
Highlights
❗ Breaking changes
- OpenAI:
OpenAIConfignow uses the Responses API. To keep using Chat Completions, including with servers that only support/chat/completions, switch toOpenAICompletionsConfig. With the new default, requests usestore=True; setstore=Falseif you do not want to request response storage. - Provider SDKs: The Anthropic integration now requires
anthropic>=2,<3. Removetemperature,top_p, andtop_kfromAnthropicConfig. The Gemini integration now requiresgoogle-genai>=3.2,<4and defaults to thev1Developer API; useapi_version="v1beta"for models available only in beta. The Mistral integration now requiresmistralai>=3.9. - Agent APIs: Replace
Agent(assembly=...)with assembler middleware andAgent(knowledge=...)withKnowledgePlugin. For delegation, replaceTaskConfigandAgent(tasks=...)with explicit worker agents exposed throughAgent.as_tool(). To create a task directly, useTask(...)instead ofAgent.task().
See the 1.4 migration guide for before-and-after examples.
🔒 Security
- ACP terminal permissions (GHSA-4m42-h2gw-83m5): The ACP client now enforces
allow_terminal=False. Previously, it advertised that terminal access was disabled but did not reject terminal requests from a remote agent. Users who rely on this setting should upgrade to 1.4.0. - SandboxShellTool path checks on Windows (
9232328): Theignorecheck now rejects paths containing a NUL character before attempting to resolve them.
What's Changed
- fix(mistral): require mistralai>=3.9 and read typed prompt_tokens_details by @vvlrff in #3723
- docs: mention OpenBot in the AG-UI overview by @mme in #3722
- fix(tools): drop bogus kwargs property and set additionalProperties for **kwargs tools by @shengzhaowei in #3716
- feat(acp): support agent-client-protocol 1.1 by @vvlrff in #3735
- perf(stream): call framework handlers without dependency injection by @vvlrff in #3718
- fix(knowledge): preserve line endings in DiskKnowledgeStore read/write by @vvlrff in #3717
- ci: auto-merge Dependabot updates after required checks by @Lancetnik in #3736
- fix(openai): handle incomplete, failed and error events in Responses streams by @pcbeingused333 in #3737
- feat(gemini)!: GeminiDecisionsConfig; require google-genai>=3.2 by @marklysze in #3738
- refactor(anthropic)!: remove deprecated temperature/top_p/top_k by @vvlrff in #3728
- feat(openai)!: OpenAIConfig is now an alias for OpenAIResponsesConfig by @vvlrff in #3729
- refactor(agent)!: remove deprecated Agent.task() by @vvlrff in #3730
- refactor(agent)!: remove deprecated Agent(assembly=...) by @vvlrff in #3731
- build(anthropic)!: require anthropic>=2.0.0 by @vvlrff in #3740
- refactor(agent)!: remove deprecated Agent(knowledge=...) by @vvlrff in #3732
- refactor(agent)!: remove deprecated TaskConfig and Agent(tasks=...) by @vvlrff in #3733
- docs: add the 1.4 migration guide by @vvlrff in #3734
- chore: bump version to 1.4.0 by @vvlrff in #3746
New Contributors
- @shengzhaowei made their first contribution in #3716
Full Changelog: v1.3.4...v1.4.0