graph LR
AgentOrchestrationEngine["AgentOrchestrationEngine"]
CLI_Main_Entry_Point["CLI/Main Entry Point"]
Research_Analysis_Agents["Research Analysis Agents"]
Code_Planning_Agents["Code Planning Agents"]
Repository_Acquisition_Agent["Repository Acquisition Agent"]
Workspace_Code_Synthesis_Agents["Workspace & Code Synthesis Agents"]
Utility_Input_Processing_Components["Utility & Input Processing Components"]
CLI_Main_Entry_Point -- "initiates" --> AgentOrchestrationEngine
AgentOrchestrationEngine -- "orchestrates/delegates to" --> Research_Analysis_Agents
AgentOrchestrationEngine -- "orchestrates/delegates to" --> Code_Planning_Agents
AgentOrchestrationEngine -- "orchestrates/delegates to" --> Repository_Acquisition_Agent
AgentOrchestrationEngine -- "orchestrates/delegates to" --> Workspace_Code_Synthesis_Agents
AgentOrchestrationEngine -- "utilizes/depends on" --> Utility_Input_Processing_Components
The Orchestration Engine subsystem is the core control unit of the DeepCode project, managing the entire multi-agent workflow for code generation.
The central control unit that manages the overall multi-agent workflow. It coordinates tasks, directs data flow between different agents, initiates pipelines, sequences agent actions, manages state transitions, and synthesizes results. It defines the sequence of operations for the code generation process.
Related Classes/Methods:
The primary interface for users to interact with the DeepCode system, initiating the overall code generation process by triggering the AgentOrchestrationEngine.
Related Classes/Methods:
A group of specialized agents responsible for gathering, processing, and analyzing information relevant to the code generation task, such as understanding requirements or researching existing solutions.
Related Classes/Methods:
AgentOrchestrationEngine:execute_multi_agent_research_pipelineAgentOrchestrationEngine:orchestrate_research_analysis_agentAgentOrchestrationEngine:run_research_analyzerAgentOrchestrationEngine:run_resource_processorAgentOrchestrationEngine:paper_reference_analyzer
Specialized agents that translate the analyzed requirements and research into a structured code plan, outlining the architecture, modules, and implementation steps.
Related Classes/Methods:
AgentOrchestrationEngine:execute_chat_based_planning_pipelineAgentOrchestrationEngine:orchestrate_code_planning_agentAgentOrchestrationEngine:run_chat_planning_agent
An agent dedicated to retrieving external code repositories, either for reference, integration, or as a starting point for code generation.
Related Classes/Methods:
AgentOrchestrationEngine:automate_repository_acquisition_agentAgentOrchestrationEngine:github_repo_download
A group of agents responsible for setting up the development environment (workspace infrastructure) and generating the actual code based on the code plan.
Related Classes/Methods:
AgentOrchestrationEngine:synthesize_workspace_infrastructure_agentAgentOrchestrationEngine:synthesize_code_implementation_agentAgentOrchestrationEngine:run_code_analyzer
Helper components responsible for initial input processing, data cleaning, parsing, and configuration management, ensuring that data is in a usable format for the agents.
Related Classes/Methods: