| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-05-13 | 8.9 kB | |
| v0.13.0 source code.tar.gz | 2026-05-13 | 7.0 MB | |
| v0.13.0 source code.zip | 2026-05-13 | 8.7 MB | |
| Totals: 3 Items | 15.7 MB | 0 | |
Highlights
๐ฃ๏ธ The Path to v1.0 โ A Major Step
v0.13.0 is a significant release for our journey to V1.0. It introduces a brand-new Multi-Agent Network runtime and LiveAgent for full-duplex realtime voice. Plus, A2A v1.0 and MCP now in Beta to complete the connectivity story.
๐ Release Roadmap
๐ Network โ Multi-Agent Runtime (NEW)
Other frameworks treat an agent or a graph as the primitive. AG2 Beta makes the channel between agents the primitive โ a durable, identity-scoped, protocol-typed container. Open it, work inside it, close it. The channel is the artifact.
- ๐ Channel as the unit โ Append-only event log per channel. Adapter state is derived from the log, so a hub restart is a non-event.
- ๐ญ Choreography you can dial in โ From open multi-party discussion to fully declared workflows, all on the same primitive. Four built-in patterns ship today:
consultingโ 1โ1, one round (strict Q+R, auto-close)conversationโ 1โ1, multi-turn (bidirectional, long-running)discussionโ N-party turn-taking (round-robin, dynamic, or static ordering)workflowโ orchestrated by a declarativeTransitionGraph, with conditions and dynamic handoffs (great for transitioning your classic AG2 group chats - Guidance)
- ๐ ๏ธ Design your own orchestration โ The
ChannelAdapterprotocol is small (~50 lines for a custom adapter). Define your own manifest, state, and turn-taking rules; reuse the durability and identity layers for free. - ๐ชช Identity is three records โ
Passport(immutable, hub-stamped),Resume(mutable track record + observed stats),SKILL.md(LLM-facing doc). Discovery ranks by observed outcomes. - ๐ค Federation with Passport + Visa โ A channel can span two hubs the same way a TCP connection spans two networks. Cross-org channels are the base case, not an extension.
- ๐ค HumanClient โ Humans are peers on the network, not a special case.
๐ฎ Try it in the Playground โ An 8-page hands-on walkthrough (~30 min) with full code examples. Build a hub, register agents, open channels, walk through all four turn-taking patterns, hub-side governance, and write your own adapter from scratch.
๐ Docs: Multi-Agent Network
๐๏ธ LiveAgent โ Realtime Voice (NEW)
New autogen.beta.live module for full-duplex voice agents backed by provider realtime APIs. Unlike turn-by-turn STT/TTS pipelines, LiveAgent opens a single bidirectional session for the entire conversation โ audio flows in and out continuously.
- ๐ค Single bidirectional session โ No turn-by-turn round trips.
- ๐ Built-in VAD and barge-in โ Voice activity detection and interruption support out of the box.
- ๐ ๏ธ Same tool surface as
Agentโ@agent.tooldecorator works identically; tool calls route through AG2's normal executor. - ๐ Provider-neutral โ OpenAI Realtime (10 voices:
alloy,ash,ballad,coral,echo,sage,shimmer,verse,marin,cedar) and Gemini Live (8 voices:Aoede,Charon,Fenrir,Kore,Leda,Orus,Puck,Zephyr). - ๐ Text-only mode โ Keep the realtime session for low-latency turn detection but disable audio output entirely.
- ๐ Audio peers โ
SoundDevicePlayerandSoundDeviceRecordershare the conversation context with the agent.
๐ Docs: LiveAgent ยท STT & TTS alternative also available.
๐ A2A v1.0 โ Now in Beta
A2A is now available in the Beta framework via the new autogen.beta.a2a module.
- ๐ก Expose any AG2 Agent over A2A via
A2AServer - ๐ Connect to a remote A2A endpoint as if it were an LLM provider via
A2AConfig - ๐ Transport-agnostic: JSON-RPC, HTTP+JSON (REST), or gRPC
- ๐ฅ Tasks & push notifications for long-running work
- Install with
pip install "ag2[a2a]"
๐ Docs: A2A Overview
๐ MCP โ Now in Beta
Native MCP support in Beta with two connection patterns:
- ๐ Client-side (
MCPServer) โ AG2 connects to the MCP server, discovers tools, and executes them locally. Works with every provider. Supports remote HTTP and local stdio subprocesses. - ๐ Provider-side (
MCPServerTool) โ Server URL and credentials forwarded to the LLM provider (e.g. Anthropic).
๐ Docs: MCP Servers
๐ฌ Other Beta Updates
- ๐งฌ Task Lifecycle Primitive โ New foundation for managing long-running agent tasks.
- ๐ง Gemini/Vertex AI Thinking Level โ Thinking Level support added to the Gemini/Vertex AI client with thinking token usage tracking.
- โ๏ธ Anthropic
extra_bodyConfig โ New configuration support for passingextra_bodyto Anthropic requests. - ๐ Knowledge: Opt-Out Flags + Observable Aggregation Lifecycle โ More control over harness behavior, plus observability into aggregation.
- ๐ง Typed Gemini ToolCallEvent Subclass โ Replaced
ToolCallEvent.provider_datawith a typed Gemini subclass.
๐ Security
- ๐ก๏ธ SSRF Protection in Document Agent โ URL validation added to prevent Server-Side Request Forgery.
Bug Fixes
- ๐ง Beta: Gemini Schema โ Strip
additionalPropertiesrecursively to fixanyOfrejections. - ๐ง Beta: Policies โ Pair tool calls/results correctly after history trim.
- ๐ง LLMConfig in Notebooks โ Fixed
LLMConfigusage across 5 notebooks. - ๐ง uv sync Resolution โ Aligned optional-extras pins so
uv syncresolves.
Documentation & Maintenance
- ๐ Switched
interop-pydantic-aiextra topydantic-ai-slim. - ๐งช Various test fixes and LLM provider/package alignments.
What's Changed
- feat(beta): add Task lifecycle primitive by @SirEntropy in https://github.com/ag2ai/ag2/pull/2774
- Fix
LLMConfigfor 5 notebooks (6) by @SarthakB11 in https://github.com/ag2ai/ag2/pull/2782 - feat(beta): Add Thinking Level support to Gemini/Vertex AI client + Thinking token usage by @marklysze in https://github.com/ag2ai/ag2/pull/2785
- feat(beta): Anthropic extra_body config support by @marklysze in https://github.com/ag2ai/ag2/pull/2792
- feat(beta/network): protocol, state, and control plane by @SirEntropy in https://github.com/ag2ai/ag2/pull/2775
- fix: align optional-extras pins so
uv syncresolves by @SarthakB11 in https://github.com/ag2ai/ag2/pull/2794 - fix(beta/gemini): strip additionalProperties recursively to fix anyOf rejections by @marklysze in https://github.com/ag2ai/ag2/pull/2795
- feat(beta/network): LLM tool surface and workflow by @SirEntropy in https://github.com/ag2ai/ag2/pull/2776
- fix(beta/policies): pair tool calls/results after history trim by @obchain in https://github.com/ag2ai/ag2/pull/2800
- feat(beta): add autogen.beta.live for real-time voice agents (STT, TTS, realtime) by @Lancetnik in https://github.com/ag2ai/ag2/pull/2754
- Beta/mcp support by @stepacool in https://github.com/ag2ai/ag2/pull/2702
- feat(beta/network): HumanClient + observability foundation by @SirEntropy in https://github.com/ag2ai/ag2/pull/2801
- Switch interop-pydantic-ai extra to pydantic-ai-slim by @marklysze in https://github.com/ag2ai/ag2/pull/2803
- feat(beta/network): adapter-owned tools + subclass surface by @SirEntropy in https://github.com/ag2ai/ag2/pull/2802
- feat(beta/knowledge): opt-out flags and observable aggregation lifecycle by @SirEntropy in https://github.com/ag2ai/ag2/pull/2804
- feat(beta): introduce A2A v1.0 by @vvlrff in https://github.com/ag2ai/ag2/pull/2791
- feat: Implement SSRF protection with URL validation in document agent by @vvlrff in https://github.com/ag2ai/ag2/pull/2784
- refactor(beta): replace ToolCallEvent.provider_data with typed Gemini subclass by @vvlrff in https://github.com/ag2ai/ag2/pull/2809
- test: Various test fixes and LLM provider/package alignments by @marklysze in https://github.com/ag2ai/ag2/pull/2812
- Version bump to 0.13 by @marklysze in https://github.com/ag2ai/ag2/pull/2811
New Contributors
- @SarthakB11 made their first contribution in https://github.com/ag2ai/ag2/pull/2782
- @obchain made their first contribution in https://github.com/ag2ai/ag2/pull/2800
- @stepacool made their first contribution in https://github.com/ag2ai/ag2/pull/2702
Full Changelog: https://github.com/ag2ai/ag2/compare/v0.12.3...v0.13.0