python-v0.6.0
Breaking Changes📦 autogenView on GitHub →
⚠ 1 breaking✨ 13 features🐛 7 fixes🔧 13 symbols
Summary
This release introduces concurrent agent execution in GraphFlow and a new OpenAIAgent. It also features experimental callable edge conditions and various improvements to model clients and code executors.
⚠️ Breaking Changes
- The return type of BaseGroupChatManager.select_speaker has changed from 'str' to 'List[str] | str'. Custom implementations of this method must be updated to support returning a list of agent names to enable concurrent execution.
Migration Steps
- Update any custom subclasses of BaseGroupChatManager to ensure the select_speaker method signature matches 'async def select_speaker(self, thread: Sequence[BaseAgentEvent | BaseChatMessage]) -> List[str] | str:'.
- If using GraphFlow with callable conditions, note that these are currently experimental and cannot be serialized.
✨ New Features
- Support for concurrent agents in GraphFlow (fan-out-fan-in patterns).
- Experimental support for callable conditions (lambdas) in GraphFlow edges.
- New OpenAIAgent backed by the OpenAI Response API.
- Support for Streamable HTTP transport in MCP.
- Added tool_call_summary_msg_format_fct to AssistantAgent.
- Support for multiple workbenches in AssistantAgent.
- Auto-delete temporary files option in LocalCommandLineCodeExecutor.
- Llama API OpenAI-compatible endpoint support in OpenAIChatCompletionClient.
- Support for Qwen3 in OllamaChatCompletionClient.
- Implicit AWS credential setting for AnthropicBedrockChatCompletionClient.
- Structured output support for MagenticOneGroupChat orchestrator.
- Added created_at timestamp to BaseChatMessage and BaseAgentEvent.
- Support for Claude Sonnet 4 and Claude Opus 4 models.
🐛 Bug Fixes
- Fixed 'cannot find next agent' bug in GraphFlow by allowing callable edge conditions.
- Fixed missing tools in logs.
- Fixed CodeExecutorAgent prompt misuse.
- Fixed issue where Async Event Loop could run indefinitely.
- Fixed missing UserMessage import.
- Fixed Docker Jupyter code executor to include all output in error output.
- Fixed parsing of backtick-enclosed JSON.
🔧 Affected Symbols
BaseGroupChatManager.select_speakerGraphFlowDiGraphBuilderOpenAIAgentAssistantAgentLocalCommandLineCodeExecutorOpenAIChatCompletionClientOllamaChatCompletionClientAnthropicBedrockChatCompletionClientMagenticOneGroupChatBaseChatMessageBaseAgentEventCodeExecutorAgent