[cite_start]We are building a Multi-Agent Collaborative System capable of autonomous software development[cite: 7]. The system will receive a natural language task (e.g., "Build a website") and autonomously plan, code, and test the software.
The system requires a Multi-Agent Orchestrator to manage the following specialized agents:
-
[cite_start]Project Planning Agent (Planner)[cite: 27]:
- Role: Architect & Project Manager.
- Responsibility: Analyzes user requirements, designs software architecture, and breaks down the project into a list of specific files and development tasks.
- Output: A structured plan (JSON) containing file paths, dependencies, and step-by-step instructions.
-
[cite_start]Code Generation Agent (Coder)[cite: 28]:
- Role: Senior Developer.
- Responsibility: Executes the tasks defined by the Planner. It receives a specific filename and task description, then outputs the complete code.
- [cite_start]Tools: Must be able to write files to the local file system[cite: 36].
-
[cite_start]Code Evaluation Agent (Reviewer) [cite: 29] (Optional for MVP):
- Role: QA Engineer.
- Responsibility: Reviews code quality and functional correctness.
[cite_start]The main.py entry point should function as the Orchestrator [cite: 30-33]:
- Receive Task: User inputs a request (e.g., "Create an arXiv CS Daily webpage").
- Plan: The Planner Agent generates a file structure and task list.
- Execute: The Orchestrator iterates through the task list. For each file, it invokes the Coder Agent.
- Save: The system writes the generated code to a dedicated
./workspacedirectory.
- Language: Python 3.10+
- [cite_start]LLM Integration: Use a unified
LLMClientto interface with APIs (e.g., DeepSeek, OpenAI)[cite: 16]. - Prompt Engineering: Use distinct System Prompts for each agent to enforce their roles.
- State Management: The system must maintain a log of what has been built to avoid context loss.
The system must be capable of generating a web app with:
- [cite_start]Category navigation (cs.AI, cs.CV, etc.)[cite: 43].
- [cite_start]Daily updated paper lists[cite: 46].
- [cite_start]Paper detail pages with PDF links and citation tools[cite: 49].
You are my Lead Engineer. I will ask you to implement specific modules based on this architecture. Always keep the Multi-Agent structure in mind. Start by helping me scaffold the project directory.