AG2 (AutoGen) Architecture Diagrams
AG2 (AutoGen) Architecture Diagrams
Section titled “AG2 (AutoGen) Architecture Diagrams”Version: 0.11.5 Last Updated: April 2026 Focus: Visualizing AG2 Systems
Overview
Section titled “Overview”This document provides visual representations of AG2 architectures and workflows.
Agent Interaction Flow
Section titled “Agent Interaction Flow”sequenceDiagram participant User participant UserProxy participant Assistant participant Tool
User->>UserProxy: Task Request UserProxy->>Assistant: Forward Request Assistant->>Assistant: Think / Plan Assistant->>Tool: Execute Tool (if needed) Tool-->>Assistant: Tool Output Assistant->>UserProxy: Response UserProxy->>User: Final AnswerGroup Chat Architecture
Section titled “Group Chat Architecture”graph TD User[User] --> Manager[GroupChatManager] Manager --> AgentA[Agent A] Manager --> AgentB[Agent B] Manager --> AgentC[Agent C] AgentA --> Manager AgentB --> Manager AgentC --> ManagerRAG (Retrieval-Augmented Generation) Flow
Section titled “RAG (Retrieval-Augmented Generation) Flow”graph LR Query[User Query] --> Retriever[Retriever Agent] Retriever --> DB[(Vector DB)] DB --> Context[Retrieved Context] Context --> Generator[Generator Agent] Generator --> Answer[Final Answer]