Download Latest Version v0.13.0 source code.tar.gz (7.0 MB)
Email in envelope

Get an email when there's a new version of AG2

Home / v0.12.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-04-17 12.5 kB
v0.12.0 source code.tar.gz 2026-04-17 6.4 MB
v0.12.0 source code.zip 2026-04-17 7.9 MB
Totals: 3 Items   14.3 MB 0

Highlights

๐Ÿ›ฃ๏ธ AG2 v0.12.0 โ€“ The Path to v1.0 Begins

This release kicks off the journey to AG2 v1.0. Over the next few minor versions (v0.12 โ†’ v0.13 โ†’ v0.14 โ†’ v1.0), the beta framework (autogen.beta) will mature and, at v1.0, become the official version of AG2. The current framework continues to be fully supported throughout this transition.

๐Ÿ“ Check out the full Release Roadmap to see what's coming.

โš ๏ธ Deprecation Notices (Removal in v0.14)

v0.12 is the deprecation announcement release. The features below are marked for removal in v0.14. The community feedback window is now open โ€” if any of these are critical to your workflow, please let us know via GitHub Issues or Discord.

  • Deprecated agents: GPTAssistantAgent, LLaVAAgent, WebSurferAgent (contrib), TextAnalyzerAgent, MathUserProxyAgent, SocietyOfMindAgent, AgentOptimizer, RetrieveAssistantAgent, QdrantRetrieveUserProxyAgent, SwarmAgent, RealtimeAgent
  • Deprecated capabilities/modules: ImageGeneration, agent_eval
  • Deprecated interop: CrewAIInteroperability (use LangChain or PydanticAI interop)
  • Deprecated experimental tools: PythonCodeExecutionTool, FirecrawlTool, PerplexitySearchTool, SearxngSearchTool, WebSearchPreviewTool
  • Deprecated swarm functions: Use the new Group Chat

See PR [#2553] for the full list and migration paths.

What is NOT being deprecated: Core agents (ConversableAgent, AssistantAgent, UserProxyAgent), GroupChat and orchestration patterns, capabilities like Teachability and VisionCapability, and experimental agents like DeepResearchAgent, ReasoningAgent, DocAgent, CaptainAgent, A2UIAgent, and platform agents.

๐Ÿ”ฌ Beta: Major New Capabilities

The beta framework continues to grow โ€” these are the building blocks for AG2 v1.0.

  • ๐Ÿค– Agent.as_tool() โ€“ Agent delegation using tool calls with the new Tasks API.
  • ๐Ÿ‘๏ธ Observer API โ€“ Subscribe to Agent events for monitoring and debugging.
  • ๐Ÿ–ฅ๏ธ AG-UI Support โ€“ UI integration
  • ๐ŸŽจ Multimodal Input โ€“ Image, Document, Audio, and Video input support for OpenAI, Gemini, Anthropic.
  • ๐Ÿ”ง Serializable Agents โ€“ Fully serializable
  • ๐Ÿ”ง Tool-Driven Handoffs โ€“ Improved compatibility with existing ConversableAgents to support handoffs in tool calls

๐Ÿงฐ Beta: New Tools & Toolkits

  • ๐Ÿ“ FilesystemToolset โ€“ File operations toolkit.
  • ๐Ÿ” WebSearchTool Streaming โ€“ Streaming support for web search.
  • ๐Ÿ’ป LocalShellTool & LocalShellEnvironment โ€“ Local shell execution.
  • ๐ŸŽฏ Skills Tool & Search Skills โ€“ Skills management and discovery.
  • ๐Ÿ”ง Middleware Support โ€“ Added to Toolkit and FunctionTool.
  • ๐Ÿ’ป Code Execution Tool โ€“ New Beta tool for code execution.

๐ŸŽ‰ New Features

  • ๐Ÿ–ฅ๏ธ DaytonaCodeExecutor โ€“ New code executor integration with Daytona.
  • ๐Ÿ”— NLIP Integration โ€“ Natural Language Interface Protocol support.
  • ๐ŸŽฏ AgentEligibilityPolicy โ€“ Runtime GroupChat candidate filtering.

๐Ÿ” Security

  • ๐Ÿ›ก๏ธ CVE-2025-69872 โ€“ Fixed DiskCache vulnerability.
  • ๐Ÿ”’ GitHub Actions Hardening โ€“ Added zizmor and hardened CI workflows.

Bug Fixes

  • ๐Ÿ”ง TokenLimiter โ€“ Fixed token-to-char budget calculation.
  • ๐Ÿ”ง Speaker Selection โ€“ Fixed duplicate condition in verbose logging.
  • ๐Ÿ”ง Interop Error Messages โ€“ Fixed error showing 't' instead of actual type names.
  • ๐Ÿ”ง browser-use โ€“ Updated from pinned 0.1.37 to >=0.3.1.
  • ๐Ÿ”ง Various typo and grammar fixes.

Documentation & Accessibility

  • ๐Ÿ“” Added Security Policy.
  • โ™ฟ Fixed WCAG 2 AA color contrast issues site-wide.
  • โ™ฟ Added alt text to 39 images on homepage.
  • ๐Ÿ”— Fixed numerous broken links across documentation.

CLI

  • ๐Ÿ“ฆ Published CLI package to PyPI.

What's Changed

New Contributors

Full Changelog: https://github.com/ag2ai/ag2/compare/v0.11.5...v0.12.0

Source: README.md, updated 2026-04-17