pypi pyautogen 0.8.0
v0.8.0

one day ago

Highlights for 0.8

❕ Breaking Change

The openai package is no longer installed by default.

  • Install AG2 with the appropriate extra to use your preferred LLMs, e.g. pip install ag2[openai] for OpenAI or pip install ag2[gemini] for Google's Gemini.
  • See our Model Providers documentation for details on installing AG2 with different model providers.

0.7.6 to 0.8 Highlights

0.7 to 0.8 Highlights

🧠 Agents:

  • We welcomed our Reference Agents - DocAgent, DeepResearchAgent, DiscordAgent, SlackAgent, TelegramAgent, and WebSurferAgent
  • RealtimeAgent was refactored to support both OpenAI and Google Gemini
  • Improvements to ReasoningAgent and CaptainAgent
  • New run method for chatting directly with an agent

💭 LLM Model Providers:

  • Streamlined packages making all of them optional
  • Structured Output support for OpenAI, Google Gemini, Anthropic, and Ollama
  • Support for new Google and Cohere libraries
  • Support for OpenAI's o1 models

🐝 Swarm:

  • More robust workflows with context-based handoffs using OnContextCondition and ContextExpression
  • More transfer options with AfterWorkOption support in SwarmResults
  • Introduction of a Swarm Manager for organic LLM-based transitions

General:

  • 🎈 Significantly lighter default installation package
  • 🔒 Better data security with the addition of Dependency Injection
  • 💬 Streaming of workflow messages with Structured Messages
  • 📚 Documentation overhaul - restructured and rewritten
  • 🔧 Lots of behind-the-scenes testing improvements, improving robustness

♥️ Thanks to all the contributors and collaborators that helped make release 0.8!

New Contributors

What's Changed

Full Changelog: v0.7.6...v0.8.0

Don't miss a new pyautogen release

NewReleases is sending notifications on new releases.