# AG2 (framework)

> Source: https://aiwiki.ai/wiki/ag2
> Updated: 2026-05-20
> Categories: AI Agents, Developer Tools, Open Source AI
> From AI Wiki (https://aiwiki.ai), a free encyclopedia of artificial intelligence. Quote with attribution.

# AG2 (framework)

**AG2** (formerly **AutoGen**) is an open-source Python framework for building applications composed of multiple cooperating large-language-model (LLM) agents. The project is a community-governed continuation of the original AutoGen library that began as a Microsoft Research project in 2023. In November 2024 the framework's two academic founders, Chi Wang and Qingyun Wu, established an independent organization called **AG2AI** to host development outside Microsoft, renamed the community project AG2, and continued shipping the familiar 0.2-era ConversableAgent API. Microsoft's official [AutoGen](/wiki/autogen) project continued in parallel as a separate codebase, culminating in the architecturally re-designed AutoGen 0.4 and, later, the unified Microsoft Agent Framework.[^1][^2][^3]

AG2 is distributed under the Apache 2.0 license from version 0.3 onward and is published on the Python Package Index under three interchangeable names (`ag2`, `autogen`, and `pyautogen`). It is one of several prominent open-source agent frameworks alongside [CrewAI](/wiki/crewai), [LangGraph](/wiki/langgraph), [Agno](/wiki/agno), [Semantic Kernel](/wiki/semantic_kernel) and the [OpenAI Agents SDK](/wiki/openai_agents_sdk), and is notable as one of the few significant open-source AI projects to have undergone a public, contributor-led fork away from a major industrial sponsor.[^1][^4]

## Origin: AutoGen at Microsoft Research

The framework that became AG2 began life in 2023 as **AutoGen**, an open-source library released by researchers at [Microsoft](/wiki/microsoft) Research, Pennsylvania State University, the University of Washington and Xidian University. The associated paper, *AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework*, was posted to arXiv on 16 August 2023 with Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Shaokun Zhang, Erkang Zhu, Beibin Li, Li Jiang, Xiaoyun Zhang and Chi Wang as authors.[^5]

AutoGen's central idea was *conversable agents*: rather than a single LLM call returning a final answer, an application would be expressed as a structured conversation among multiple agents (assistants, user proxies, code-running agents, tool-using agents), each with its own system prompt and reply-generation logic. The repository attracted rapid uptake on GitHub, was awarded best paper at the ICLR 2024 LLM Agents Workshop, and was widely cited as one of the most influential early agent frameworks. By mid-2024 the original `pyautogen` PyPI package and the `microsoft/autogen` repository together formed one of the most popular agent stacks in the Python ecosystem.[^5][^1]

## The 2024 split

In September 2024 several of AutoGen's original creators, including project lead Chi Wang and academic co-author Qingyun Wu, left Microsoft Research. Wang subsequently joined Google DeepMind as a senior staff research scientist; Wu, a faculty member at Pennsylvania State University, remained in academia.[^1][^6] On 11 November 2024 they announced the formation of the **AG2AI** organization on GitHub and moved the project they had been leading to a new repository at `github.com/ag2ai/ag2`. The codebase was forked from AutoGen 0.2 and the project was renamed *AG2*. From v0.3 onward AG2's modifications were placed under the Apache 2.0 license while original Microsoft-authored code retained its MIT license, so the released artifact is a dual-licensed source tree.[^1][^7]

The split was unusually visible because both groups continued to use the AutoGen name and several shared distribution channels. Within days of the rename, two parallel statements appeared:

- On 15 November 2024, Microsoft engineer Jack Gerrits posted *Clarification Regarding AutoGen Forks* in the `microsoft/autogen` GitHub Discussions, writing that "the official GitHub repository for the AutoGen project is still github.com/microsoft/autogen/" and noting that "the current version of pyautogen is not affiliated with the microsoft/autogen project" because admin access to the package on PyPI was "currently blocked" for the Microsoft team. The post also acknowledged "unfortunate confusion about forks, changes in access to pypi packages, and blocked permission for participation".[^8]
- In the parallel discussion *Which autogen is the official*, Gerrits added that "AG2 is a fork of AutoGen 0.2 and we are not involved with it," noting that more than twenty Microsoft staff had contributed to the project over the previous year. Qingyun Wu and Chi Wang, posting separately, framed the move as a decision to "continue building AutoGen (now AG2)" under a new organization in order to enable "open governance from different organizations," and confirmed that AG2 would continue to be published through the `pyautogen`, `autogen` and `ag2` PyPI packages.[^9]

Both sides have generally been measured in their public statements. The community-facing summary in Qingyun Wu's blog post *AG2's Vision for Community-Driven Agent Development* describes the move as a way to "keep it community-driven and maintain the architecture you're familiar with" and to set up an organization "with open governance" outside any single corporate sponsor, while Microsoft's communications emphasize continued, separately-staffed development of AutoGen at the original repository.[^7][^8][^9]

## Timeline of the fork

The following dates are drawn from the AG2 GitHub releases, Microsoft's AutoGen blog and the founders' announcements. They are presented to clarify the sequence rather than to adjudicate any dispute.

- **August 2023.** AutoGen paper posted to arXiv; the project is developed in `microsoft/autogen`.[^5]
- **2 October 2024.** Microsoft posts *New AutoGen Architecture Preview*, describing the planned 0.4 redesign around an event-driven actor runtime.[^10]
- **September 2024.** Chi Wang and Qingyun Wu depart Microsoft Research.[^1]
- **November 2024 (early month).** Microsoft releases *Magentic-One*, a generalist multi-agent system built on the preview 0.4 architecture, alongside the *AutoGenBench* evaluation tool.[^11]
- **11 November 2024.** AG2AI organization is announced; the AutoGen 0.2 codebase is forked into `github.com/ag2ai/ag2` and renamed AG2.[^1][^7]
- **15 November 2024.** Microsoft's Jack Gerrits posts the *Clarification Regarding AutoGen Forks* statement.[^8]
- **Late November 2024.** AG2 ships its first releases under the new name (v0.3 series), adopting Apache 2.0 for new code.[^4][^7]
- **17 January 2025.** Microsoft releases *AutoGen 0.4*, a complete rewrite around the actor model with a layered Core / AgentChat / Extensions API, full async messaging, OpenTelemetry observability and a Python plus .NET runtime.[^12]
- **28 April 2025.** AG2 v0.9 unifies the *GroupChat* and *Swarm* orchestration patterns into a single, more configurable Group Chat system; the legacy Swarm pattern is deprecated.[^13]
- **1 October 2025.** Microsoft announces the public preview of the *Microsoft Agent Framework*, an open-source SDK that combines AutoGen's multi-agent orchestration with Semantic Kernel's enterprise primitives. AutoGen and Semantic Kernel are moved to maintenance mode for new development.[^14]
- **3 April 2026.** Microsoft Agent Framework 1.0 ships as production-ready, with stable APIs for Python and .NET.[^14]
- **May 2026.** AG2 continues on the path to v1.0, with the v0.13 line as the current transition release; the beta `autogen.beta` module is slated to become the official AG2 API at v1.0.[^15][^16]

## Governance: AG2AI and the community

AG2 is governed by **AG2AI**, an organization announced on 11 November 2024 to host the project "with open governance".[^7] Chi Wang and Qingyun Wu serve as administrators and primary contacts, and they continue to co-teach a DeepLearning.AI short course on agentic design patterns based on the framework. The published maintainer roster lists about twenty active maintainers drawn from Google, IBM, Meta, Pennsylvania State University, the University of Washington and several other organizations; new contributors can earn maintainer status and seats on a Technical Steering Committee on the basis of contributions.[^1][^7]

AG2AI is also incorporated as a commercial entity that the founders use to pursue sustainability for the open-source project. According to Wu's vision post, planned revenue sources include an agent marketplace, hosted platform infrastructure and enterprise licensing for proprietary add-ons, while the framework itself "will always be free and community-driven" under Apache 2.0. The phrase *AG2 Labs* is occasionally used in community communications to refer to research and incubation work conducted under AG2AI, but it is not a separate legal entity in the AG2 public documentation as of 2026.[^7]

The PyPI namespace remained an issue through the transition. AG2AI retained admin control over the `autogen` and `pyautogen` packages (which had been administered by the founders before they left Microsoft) as well as the new `ag2` distribution and the original AutoGen Discord server of more than 20,000 members. Microsoft's parallel project ships under the separate `autogen-agentchat`, `autogen-core` and `autogen-ext` distributions and uses a fresh community presence.[^1][^7][^8]

## Architecture

AG2 preserves and extends the core architecture that AutoGen 0.2 popularized. The framework is organized around a small number of agent base classes, several orchestration patterns, a tool/function-calling layer and a set of code-execution backends.

### ConversableAgent

The fundamental building block is `ConversableAgent`, the base class for all agents in the framework. A `ConversableAgent` encapsulates a system prompt, an LLM configuration, a set of registered tools and a customizable reply-generation pipeline. Specialized subclasses such as `AssistantAgent` (a default chat assistant), `UserProxyAgent` (which represents a human user and can optionally execute code) and `GPTAssistantAgent` (which delegates to OpenAI's Assistants API) inherit from `ConversableAgent`. Each agent maintains a per-peer conversation history and exposes hooks for pre- and post-processing of messages, enabling features like guardrails, transcript redaction and structured output enforcement.[^4][^17]

### GroupChat and GroupChatManager

For multi-agent coordination, AG2 provides `GroupChat`, a shared conversation in which several `ConversableAgent` instances participate. A `GroupChatManager` selects which agent speaks next on each turn, using either an LLM-based selector, a round-robin strategy, a random strategy or a manual human-driven choice. The group-chat abstraction is the canonical entry point for orchestrating teams of agents in AG2 and is the basis of every higher-level pattern in the library.[^17][^18]

### The unified Group Chat (formerly Swarm)

Earlier AutoGen versions introduced a separate *Swarm* pattern modeled on the handoff abstraction from OpenAI's *Swarm* educational framework: agents could declare `AfterWork` and `OnCondition` handoffs that transferred control to another agent on completion of a tool call or based on context. AG2 v0.9, released on 28 April 2025, unified Swarm and Group Chat into a single, more configurable Group Chat system with five orchestration modes (Auto, RoundRobin, Random, Manual, Default), an enhanced handoff system supporting both LLM-based and context-based conditions, flexible transition targets and a `ContextVariables` class for structured state that is shared across all agents in the group. The legacy `swarm` module remains available in 0.9 and 0.13 but is deprecated and slated for removal.[^13]

### Tool and function calling

Agents in AG2 expose external capabilities through *tools*: ordinary Python functions registered against an agent's tool registry. The framework integrates with OpenAI-style function calling, supports parallel tool calls on providers that allow it, and offers a higher-level `tools` package with built-in helpers for tasks such as web search, browser automation and code execution. A *tools with secrets* mechanism allows credential material to be supplied to a tool at call time without ever appearing in the LLM-visible conversation transcript. Structured outputs are supported through Pydantic schemas, including `ResponseSchema`-based structured output that constrains LLM responses to a typed shape.[^4][^17]

### Code execution

Code execution is a first-class concern, reflecting the framework's roots in tool-using assistants. AG2 provides several executor classes that can be attached to a `UserProxyAgent` or used directly by other agents:

- `LocalCommandLineCodeExecutor` runs code blocks in the local shell. The default working directory is a sandboxed scratch folder, but the executor can read and write the wider filesystem and is recommended only for trusted environments.
- `DockerCommandLineCodeExecutor` runs each code block inside a Docker container, isolating the execution from the host. Since January 2024 Docker execution has been the recommended default in the documentation, on the grounds that LLM-generated code should not be trusted to run unconfined.[^19]
- `JupyterCodeExecutor` runs code statefully against a long-lived Jupyter kernel (local or remote), preserving variables between calls and enabling notebook-style data-analysis workflows.[^20]
- A `CustomExecutor` interface allows users to plug in their own sandboxing layer, for example to delegate execution to a remote container orchestrator or a cloud sandbox.[^21]

### Retrieval-augmented generation

AG2 ships RAG support through `RetrieveUserProxyAgent` and a companion `RetrieveAssistantAgent`, which extend the user-proxy and assistant abstractions with vector search over a configurable corpus. The framework supports several vector backends including Chroma, Qdrant, MongoDB Atlas Vector Search and PostgreSQL `pgvector`, and exposes a higher-level `Knowledge` interface on the path to v1.0 that abstracts knowledge stores from the agents that consult them. RAG-enabled agents can be dropped into the same `GroupChat` as ordinary agents and are commonly used for question-answering over codebases, technical manuals and internal documentation.[^17]

### Reference agents

Beyond the base classes AG2 publishes a growing set of *reference agents* that demonstrate non-trivial patterns built on the core. Notable examples include the `DeepResearchAgent`, an OpenAI Deep Research-style agent that breaks complex research prompts into sub-tasks and synthesises answers across multiple web sources, and the experimental `RealtimeAgent`, which orchestrates a swarm of agents during a live OpenAI Realtime voice or video session.[^22][^23]

### Path to v1.0

The AG2 release roadmap describes a deliberate migration from the original `autogen` Python module to a new `autogen.beta` module that will become the official surface at v1.0. The v0.12 line introduced deprecation notices for legacy APIs; v0.13, released on 13 May 2025, is described as the transition release and is the last in which deprecated features remain available; v0.14 is planned to remove the deprecated APIs and promote `autogen.beta` to release-candidate status; and v1.0 will replace the original `ConversableAgent` with a new `Agent` class, move the legacy code to a maintenance-only `ag2-original` branch and add first-class native multimodal support.[^15][^16]

## Comparison with Microsoft AutoGen 0.4 and the Microsoft Agent Framework

The most direct point of comparison for AG2 is the line of work that Microsoft continued after the split.

**AutoGen 0.4**, released on 17 January 2025, is a complete redesign of the original AutoGen 0.2 codebase. It abandons the synchronous, conversation-centric programming model in favor of an event-driven actor runtime, with messages passed asynchronously between agents that can live in different processes and even different programming languages (Python and .NET are supported). The library is split into three layers: a low-level `autogen-core` actor framework, a higher-level `autogen-agentchat` API for two-agent and group chats and a plug-in `autogen-ext` ecosystem. AutoGen Studio, a no-code GUI, and *Magentic-One*, a generalist multi-agent system in which a lead Orchestrator directs a WebSurfer, FileSurfer and Coder, were rebuilt on top of the new core.[^11][^12]

**AG2**, by contrast, preserves the conversational, in-memory programming model that AutoGen users were familiar with. Existing AutoGen 0.2 applications can be ported to AG2 by changing the package name; in many cases code written against `pyautogen==0.2.x` runs unmodified on AG2's `autogen` namespace. The core engine has been substantially extended (new orchestration modes, a richer tools framework, the path to a new `Agent` class) but the underlying mental model of ConversableAgents exchanging structured messages is intact. The result is that AG2 occupies a different design point: less ambitious about distributed scale-out, but easier to reason about and faster to iterate on at small scale.[^4][^15]

On 1 October 2025 Microsoft announced the **Microsoft Agent Framework**, an open-source SDK that combines AutoGen 0.4's orchestration runtime with [Semantic Kernel](/wiki/semantic_kernel)'s enterprise primitives (session-based state, type safety, middleware, telemetry, native Azure AI Foundry integration). The framework released a production-ready 1.0 on 3 April 2026. AutoGen and Semantic Kernel were both moved into maintenance mode at that point, with new feature work concentrated on the unified platform. AG2's roadmap continues independently, and the framework's design point (community-governed, light-weight, conversational, Python-first) is now noticeably distinct from Microsoft's enterprise-oriented unified platform.[^14][^24]

In short: AG2 is the closest current heir to the API and ergonomics of the original AutoGen 0.2; Microsoft Agent Framework 1.0 is the production-ready synthesis of the actor-model rewrite and Semantic Kernel's enterprise scaffolding; and the standalone *microsoft/autogen* repository is community-maintained with bug fixes and security patches only.[^14][^15]

## Comparison with other agent frameworks

AG2 sits in a crowded ecosystem of open-source agent frameworks released between 2023 and 2026. The comparisons below are based on each framework's primary design point as documented by its maintainers; they are simplifications and ignore considerable feature overlap.

- **[CrewAI](/wiki/crewai)** organizes agents into *crews* of role-bearing actors that execute *tasks* in a typically sequential or hierarchical process. It is generally regarded as the lowest learning-curve framework of the family and is popular for role-based business automation. AG2 is more flexible at orchestration time (its Group Chat supports five selection modes and arbitrary handoff conditions) but has a steeper conceptual entry point because there is no fixed *role* abstraction.[^25]
- **[LangGraph](/wiki/langgraph)** models agent applications as a directed graph with explicit nodes, edges, conditions and state, and emphasizes durable execution, checkpointing and time-travel. It is generally rated the most production-ready of the open frameworks, particularly for teams already on the LangChain stack. AG2 is more conversation-centric and, in its current 0.x line, keeps state in memory by default rather than in a persistent store.[^25]
- **OpenAI Swarm** was an experimental educational framework released in October 2024 with two primitives: agents and handoffs. It was explicitly marked "not for production" by OpenAI researchers and was succeeded in March 2025 by the production-grade [OpenAI Agents SDK](/wiki/openai_agents_sdk). AG2's Swarm pattern is conceptually similar to OpenAI Swarm's handoffs and was originally inspired by them, but is a more mature production-oriented implementation that has since been folded into AG2's unified Group Chat.[^13][^26]
- **Magentic-One**, released by Microsoft in November 2024, is not a general framework but a specific multi-agent system built on the AutoGen 0.4 runtime. Its Orchestrator-WebSurfer-FileSurfer-Coder architecture is a reference implementation of the kind of generalist task-solving team that frameworks like AG2 and AutoGen 0.4 are designed to support.[^11]
- **Semantic Kernel** is Microsoft's plug-in-oriented orchestration SDK with deep integration into the .NET ecosystem. Since October 2025 it has been folded into the Microsoft Agent Framework. AG2 is Python-first, lighter-weight, and not coupled to a particular cloud vendor.[^14][^27]
- **smolagents**, released by Hugging Face in early 2025, is a deliberately minimal alternative built around code-as-action agents. AG2 is substantially larger in scope, with built-in orchestration, RAG and reference agents.[^25]
- **Agno** is a newer Python-first agent framework focused on building production agents quickly with native vector search and a Pydantic-like ergonomic surface. AG2 differs in emphasizing multi-agent conversation patterns rather than single-agent productivity.[^25]

The AG2 documentation has also begun to frame the project as an *AgentOS* and an *orchestrator* in its own right, capable of coordinating heterogeneous teams that include agents written for other frameworks (Google's ADK, the OpenAI Agents SDK, LangChain) via standardized protocols such as A2A and the Model Context Protocol. This is a positioning move rather than a sharp technical difference, but it captures the framework's continued emphasis on multi-vendor, multi-framework interoperability.[^3][^15]

## License

AG2 is distributed under the **Apache License 2.0**, adopted from version 0.3 onward as part of the move to the AG2AI organization in November 2024. Code inherited from the original Microsoft AutoGen repository remains under its original **MIT license**, and the AG2 source tree is therefore a dual-licensed work. Apache 2.0 governs new code added by the AG2 community, while the MIT-licensed Microsoft code retains its original headers. The combination is compatible because both licenses are permissive and Apache 2.0 is a strict superset in terms of obligations on downstream users.[^4][^7]

## Documentation and community

Documentation is published at `docs.ag2.ai` and includes user guides, an API reference, notebook-style use-case examples, a versioned blog used to announce releases, and the Release Roadmap that describes the v1.0 transition. The framework is developed openly on GitHub at `github.com/ag2ai/ag2`, with public Discord-based discussion at `discord.gg/sNGSwQME3x` and a separate set of community office hours coordinated by the maintainers.[^3][^4][^15]

In addition to the framework itself, AG2's founders have produced public-facing teaching material on multi-agent design. The DeepLearning.AI short course *AI Agentic Design Patterns with AutoGen*, co-taught by Wang and Wu, remains a primary on-ramp to the conceptual model; later content under the AG2 name continues to use the same vocabulary of ConversableAgents, group chats and tool calls.[^1][^7]

## See also

- [AutoGen](/wiki/autogen): Microsoft's parallel project, now in maintenance under the unified Microsoft Agent Framework.
- [CrewAI](/wiki/crewai): role-based agent framework.
- [LangGraph](/wiki/langgraph): graph-based agent framework with durable execution.
- [Agno](/wiki/agno): Python-first agent framework.
- [Semantic Kernel](/wiki/semantic_kernel): Microsoft's orchestration SDK, folded into Microsoft Agent Framework.
- [OpenAI Agents SDK](/wiki/openai_agents_sdk): production successor to OpenAI Swarm.
- [Microsoft](/wiki/microsoft): original sponsor of AutoGen.
- [OpenAI](/wiki/openai): provider of the most commonly used LLM backends for AG2.
- [Anthropic](/wiki/anthropic): provider of Claude models supported through AG2's multi-provider LLM clients.

## References

[^1]: ag2ai. *AG2 (formerly AutoGen): The Open-Source AgentOS.* GitHub repository. https://github.com/ag2ai/ag2. Accessed 2026-05-20.

[^2]: AG2. *AG2: Build Systems, Not Prompts. Open-Source Multi-Agent AI Framework.* https://www.ag2.ai/. Accessed 2026-05-20.

[^3]: AG2. *Quickstart Guide.* https://docs.ag2.ai/latest/docs/home/quickstart/. Accessed 2026-05-20.

[^4]: ag2 project. *ag2 on PyPI.* https://pypi.org/project/ag2/. Accessed 2026-05-20.

[^5]: Wu, Q., Bansal, G., Zhang, J., Wu, Y., Zhang, S., Zhu, E., Li, B., Jiang, L., Zhang, X., Wang, C. *AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework.* arXiv:2308.08155, 16 August 2023. https://arxiv.org/abs/2308.08155. Accessed 2026-05-20.

[^6]: Wang, C. *LinkedIn profile: Senior Staff Research Scientist, Google DeepMind; Founder of AutoGen (now AG2).* https://www.linkedin.com/in/chi-wang-autogen/. Accessed 2026-05-20.

[^7]: Wu, Q. *AG2's Vision for Community-Driven Agent Development.* Medium, January 2025. https://medium.com/@ag2ai/ag2s-vision-for-community-driven-agent-development-f9f3ca2b0dc8. Accessed 2026-05-20.

[^8]: Gerrits, J. *Clarification Regarding AutoGen Forks.* `microsoft/autogen` GitHub Discussions #4217, 15 November 2024. https://github.com/microsoft/autogen/discussions/4217. Accessed 2026-05-20.

[^9]: *Which autogen is the official.* `microsoft/autogen` GitHub Discussions #4216, November 2024. https://github.com/microsoft/autogen/discussions/4216. Accessed 2026-05-20.

[^10]: AutoGen project. *New AutoGen Architecture Preview.* AutoGen 0.2 blog, 2 October 2024. https://microsoft.github.io/autogen/0.2/blog/2024/10/02/new-autogen-architecture-preview/. Accessed 2026-05-20.

[^11]: Fourney, A., et al. *Magentic-One: A Generalist Multi-Agent System for Solving Complex Tasks.* Microsoft Research, November 2024. arXiv:2411.04468. https://arxiv.org/abs/2411.04468. Accessed 2026-05-20.

[^12]: Microsoft. *AutoGen Reimagined: Launching AutoGen 0.4.* AutoGen Devblog, 17 January 2025. https://devblogs.microsoft.com/autogen/autogen-reimagined-launching-autogen-0-4/. Accessed 2026-05-20.

[^13]: AG2. *AG2 v0.9 Release: Introducing the New Group Chat Pattern.* AG2 blog, 28 April 2025. https://docs.ag2.ai/latest/docs/blog/2025/04/28/0.9-Release-Announcement/. Accessed 2026-05-20.

[^14]: Microsoft. *Microsoft Agent Framework Overview.* Microsoft Learn. https://learn.microsoft.com/en-us/agent-framework/overview/. Accessed 2026-05-20.

[^15]: AG2. *Release Roadmap.* https://docs.ag2.ai/latest/docs/user-guide/release-roadmap/. Accessed 2026-05-20.

[^16]: ag2ai. *Releases.* https://github.com/ag2ai/ag2/releases. Accessed 2026-05-20.

[^17]: AG2. *Agent Orchestration: Coordinating Multiple Agents.* https://docs.ag2.ai/latest/docs/user-guide/basic-concepts/introducing-group-chat/. Accessed 2026-05-20.

[^18]: AG2. *GroupChat reference.* https://docs.ag2.ai/latest/docs/user-guide/advanced-concepts/groupchat/groupchat/. Accessed 2026-05-20.

[^19]: AG2. *Code execution is now by default inside Docker container.* AG2 blog, 23 January 2024. https://docs.ag2.ai/latest/docs/blog/2024/01/23/Code-execution-in-docker/. Accessed 2026-05-20.

[^20]: AG2. *JupyterCodeExecutor API reference.* https://docs.ag2.ai/latest/docs/api-reference/autogen/coding/jupyter/JupyterCodeExecutor/. Accessed 2026-05-20.

[^21]: AG2. *Custom Code Executor.* https://docs.ag2.ai/docs/topics/code-execution/custom-executor. Accessed 2026-05-20.

[^22]: AG2. *DeepResearchAgent: Your Shortcut for Faster Research.* AG2 blog, 13 February 2025. https://docs.ag2.ai/latest/docs/blog/2025/02/13/DeepResearchAgent/. Accessed 2026-05-20.

[^23]: AG2. *RealtimeAgent API reference.* https://docs.ag2.ai/latest/docs/api-reference/autogen/agentchat/realtime/experimental/RealtimeAgent/. Accessed 2026-05-20.

[^24]: Microsoft. *Migrate Your Semantic Kernel and AutoGen Projects to Microsoft Agent Framework Release Candidate.* Microsoft Agent Framework Devblog. https://devblogs.microsoft.com/agent-framework/migrate-your-semantic-kernel-and-autogen-projects-to-microsoft-agent-framework-release-candidate/. Accessed 2026-05-20.

[^25]: Softmax Data. *Definitive Guide to Agentic Frameworks in 2026: LangGraph, CrewAI, AG2, OpenAI and more.* https://softmaxdata.com/blog/definitive-guide-to-agentic-frameworks-in-2026-langgraph-crewai-ag2-openai-and-more/. Accessed 2026-05-20.

[^26]: OpenAI. *Swarm: Educational framework exploring ergonomic, lightweight multi-agent orchestration.* GitHub. https://github.com/openai/swarm. Accessed 2026-05-20.

[^27]: Visual Studio Magazine. *Semantic Kernel + AutoGen = Open-Source Microsoft Agent Framework.* 1 October 2025. https://visualstudiomagazine.com/articles/2025/10/01/semantic-kernel-autogen--open-source-microsoft-agent-framework.aspx. Accessed 2026-05-20.

