Skip to content

Latest commit

 

History

History
163 lines (113 loc) · 17.3 KB

File metadata and controls

163 lines (113 loc) · 17.3 KB
graph LR
    Agent_Orchestration_Core["Agent Orchestration Core"]
    Pydantic_AI_Coder_Agent["Pydantic AI Coder Agent"]
    Agent_Tooling_Utilities["Agent Tooling & Utilities"]
    Documentation_Ingestion_System["Documentation Ingestion System"]
    Refiner_Agents["Refiner Agents"]
    Advisor_Agent["Advisor Agent"]
    Streamlit_UI_Configuration_Management["Streamlit UI - Configuration & Management"]
    Streamlit_UI_Agent_Interaction_Service_Control["Streamlit UI - Agent Interaction & Service Control"]
    Streamlit_UI_Documentation_Management["Streamlit UI - Documentation Management"]
    Agent_Orchestration_Core -- "Orchestrates" --> Pydantic_AI_Coder_Agent
    Agent_Orchestration_Core -- "Orchestrates" --> Refiner_Agents
    Agent_Orchestration_Core -- "Orchestrates" --> Advisor_Agent
    Agent_Orchestration_Core -- "Utilizes" --> Agent_Tooling_Utilities
    Pydantic_AI_Coder_Agent -- "Utilizes" --> Agent_Tooling_Utilities
    Refiner_Agents -- "Utilizes" --> Agent_Tooling_Utilities
    Advisor_Agent -- "Utilizes" --> Agent_Tooling_Utilities
    Streamlit_UI_Documentation_Management -- "Initiates" --> Documentation_Ingestion_System
    Streamlit_UI_Agent_Interaction_Service_Control -- "Invokes" --> Agent_Orchestration_Core
    Streamlit_UI_Configuration_Management -- "Manages" --> Documentation_Ingestion_System
    click Agent_Orchestration_Core href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Agent Orchestration Core.md" "Details"
    click Pydantic_AI_Coder_Agent href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Pydantic AI Coder Agent.md" "Details"
    click Agent_Tooling_Utilities href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Agent Tooling & Utilities.md" "Details"
    click Documentation_Ingestion_System href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Documentation Ingestion System.md" "Details"
    click Refiner_Agents href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Refiner Agents.md" "Details"
    click Advisor_Agent href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Advisor Agent.md" "Details"
    click Streamlit_UI_Configuration_Management href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Streamlit UI - Configuration & Management.md" "Details"
    click Streamlit_UI_Agent_Interaction_Service_Control href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Streamlit UI - Agent Interaction & Service Control.md" "Details"
    click Streamlit_UI_Documentation_Management href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/Archon/Streamlit UI - Documentation Management.md" "Details"
Loading

CodeBoardingDemoContact

Component Details

This architecture analysis describes the high-level data flow and component interactions within the Archon project. The system is centered around an Agent Orchestration Core that coordinates various AI agents (Coder, Refiners, Advisor) to achieve specific tasks, primarily code generation and refinement. A robust Documentation Ingestion System feeds relevant information to these agents via a shared Agent Tooling & Utilities layer. User interaction and system management are handled through a set of Streamlit-based User Interface components, allowing for configuration, agent interaction, and documentation management.

Agent Orchestration Core

The central control module responsible for initiating and coordinating various AI agents (Coder, Advisor, Refiners) and defining their operational scope within the Archon system. It manages the overall workflow of agent creation and refinement, routing user messages and finishing conversations.

Related Classes/Methods:

Pydantic AI Coder Agent

An intelligent agent specialized in generating code, primarily by interacting with and leveraging documentation. It is designed to produce structured outputs, likely using Pydantic models, and is a core component in the agent creation process.

Related Classes/Methods:

Agent Tooling & Utilities

A foundational library providing essential tools and utility functions for various agents, including capabilities for documentation retrieval, page content access, file content access, and text embedding generation. These tools abstract away the complexities of interacting with external services like Supabase and OpenAI.

Related Classes/Methods:

Documentation Ingestion System

Manages the entire lifecycle of documentation processing, from crawling and extracting content to chunking, embedding, and storing it for efficient retrieval by AI agents. It handles the interaction with external documentation sources and the Supabase database.

Related Classes/Methods:

Refiner Agents

A collection of AI agents dedicated to enhancing and optimizing various aspects of the AI agent being built, including refining the prompt, the tools used, and the agent's definition itself. These agents provide iterative improvement capabilities.

Related Classes/Methods:

Advisor Agent

An AI agent designed to provide guidance and recommendations, potentially by leveraging a knowledge base of examples and pre-built tools/MCP servers. It helps in establishing a starting point for the AI agent creation process.

Related Classes/Methods:

Streamlit UI - Configuration & Management

Provides the user interface for managing various aspects of the Archon system, including Multi-Component Project (MCP) configurations, database interactions, and environment variable settings. It allows users to set up and monitor the system.

Related Classes/Methods:

Streamlit UI - Agent Interaction & Service Control

Offers user interfaces for direct interaction with Archon agents through a chat interface and for monitoring and controlling the underlying agent services. This component allows users to initiate and observe the agent's execution.

Related Classes/Methods:

Streamlit UI - Documentation Management

Provides a dedicated user interface for managing the documentation within Archon, allowing users to initiate crawls and clear existing documentation records. It displays the progress and status of documentation ingestion.

Related Classes/Methods: