Migrating to AutoGen python-v0.7.2
Version python-v0.7.2 introduces 2 breaking changes. This guide details how to update your code.
Released: 8/7/2025
2
Breaking Changes
2
Migration Steps
8
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
OpenAIAgentOpenAIAssistantAgentMagenticOneDockerCommandLineCodeExecutorCodeExecutorAgentAgentToolTeamToolRedis agent memoryBreaking Changes
●Issue #1
Assistant-related methods have been removed from OpenAIAgent. Users should transition to OpenAIAssistantAgent for assistant-specific functionality.
●Issue #2
MagenticOne team now defaults to DockerCommandLineCodeExecutor, which requires a Docker environment to be available.
Migration Steps
- 1If using OpenAIAgent for assistant-specific tasks, migrate those calls to OpenAIAssistantAgent.
- 2Ensure Docker is installed and running if using the MagenticOne team, as it now defaults to the Docker-based code executor.
Release Summary
Release 0.7.2 introduces Redis memory enhancements for JSON/Markdown, adds execution approval functions, and migrates MagenticOne to Docker-based code execution by default while cleaning up OpenAIAgent methods.
Need More Details?
View the full release notes and all changes for AutoGen python-v0.7.2.
View Full Changelog