Change8

v0.4.0

Breaking Changes
📦 autogen
3 breaking7 features🐛 4 fixes🔧 6 symbols

Summary

This release marks the first stable version of AutoGen v0.4, introducing a new API architecture, support for OpenAI's o1 model, and breaking changes to Azure authentication and intervention handlers.

⚠️ Breaking Changes

  • Azure authentication provider has been moved to a separate module. Update imports to the new location.
  • The intervention handler signature now includes message context. Update custom intervention handler implementations to accept the new argument.
  • Deprecated items have been removed for the stable release. Replace any usage of deprecated v0.4.0-dev symbols with their stable counterparts.

Migration Steps

  1. Upgrade packages using: pip install -U "autogen-agentchat" "autogen-ext[openai]"
  2. Follow the official migration guide at https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/migration-guide.html for moving from v0.2 to v0.4.
  3. Update Azure auth provider imports to the new module location.
  4. Update intervention handler signatures to include the message context parameter.

✨ New Features

  • Added m1 cli package.
  • Added ability to activate and deactivate agents.
  • Added coverage task and integrated with poe check.
  • Added support for o1-2024-12-17 model.
  • Added SelectorGroupChat which uses LLM to select the next speaker.
  • Added logging to agentchat and refactored logging to support tool events.
  • Moved core samples to /python/samples.

🐛 Bug Fixes

  • Fixed circular imports in autogen_agentchat.
  • Fixed client disconnect handling in worker runtime to remove subscriptions.
  • Fixed dotnet test and reformatted dotnet code.
  • Fixed typos in Cerebras documentation.

🔧 Affected Symbols

azure auth providerintervention handlerSelectorGroupChatautogen_agentchatm1 clio1-2024-12-17