python-v0.5.3
📦 autogenView on GitHub →
✨ 6 features🐛 2 fixes🔧 6 symbols
Summary
This release introduces code generation capabilities to CodeExecutorAgent, improves AssistantAgent serialization, and adds shared session support for MCP tools. It also includes bug fixes for Azure AI Search and handoff context management.
Migration Steps
- If using Team.run_stream and you require SelectorSpeakerEvent logs, ensure emit_team_events is set to True.
- Update dependencies to include the pinned opentelemetry-proto and updated json-schema-to-pydantic.
✨ New Features
- Added code generation support to CodeExecutorAgent, allowing it to generate and execute code in a single invocation.
- Enabled serialization for AssistantAgent when output_content_type is set using a new JSON schema utility.
- Added emit_team_events parameter to Team.run_stream to configure emission of team events like SelectorSpeakerEvent.
- Updated mcp_server_tools factory to support shared sessions for MCP tools.
- Console now prints message types for better visibility.
- Added support for GPT4.1, o4-mini, and o3 models.
🐛 Bug Fixes
- Fixed Azure AI Search Tool Client lifetime management.
- Ensured thought content is included in the handoff context.
🔧 Affected Symbols
autogen_agentchat.agents.CodeExecutorAgentautogen_agentchat.agents.AssistantAgentautogen_core.utilsautogen_ext.tools.mcp.mcp_server_toolsSelectorSpeakerEventrun_stream