Files
Tutorial-Codebase-Knowledge/output/AutoGen Core/index.md
zachary62 e62ee2cb13 init push
2025-04-04 13:01:50 -04:00

2.0 KiB

Tutorial: AutoGen Core

AutoGen Core helps you build applications with multiple Agents that can work together. Think of it like creating a team of specialized workers (Agents) who can communicate and use tools to solve problems. The AgentRuntime acts as the manager, handling messages and agent lifecycles. Agents communicate using a Messaging System (Topics and Subscriptions), can use Tools for specific tasks, interact with language models via a ChatCompletionClient while managing conversation history with ChatCompletionContext, and remember information using Memory. Components provide a standard way to define and configure these building blocks.

Source Repository: https://github.com/microsoft/autogen/tree/e45a15766746d95f8cfaaa705b0371267bec812e/python/packages/autogen-core/src/autogen_core

flowchart TD
    A0["0: Agent"]
    A1["1: AgentRuntime"]
    A2["2: Messaging System (Topic & Subscription)"]
    A3["3: Component"]
    A4["4: Tool"]
    A5["5: ChatCompletionClient"]
    A6["6: ChatCompletionContext"]
    A7["7: Memory"]
    A1 -- "Manages lifecycle" --> A0
    A1 -- "Uses for message routing" --> A2
    A0 -- "Uses LLM client" --> A5
    A0 -- "Executes tools" --> A4
    A0 -- "Accesses memory" --> A7
    A5 -- "Gets history from" --> A6
    A5 -- "Uses tool schema" --> A4
    A7 -- "Updates LLM context" --> A6
    A4 -- "Implemented as" --> A3

Chapters

  1. Agent
  2. Messaging System (Topic & Subscription)
  3. AgentRuntime
  4. Tool
  5. ChatCompletionClient
  6. ChatCompletionContext
  7. Memory
  8. Component

Generated by AI Codebase Knowledge Builder