ChatDev 2.0: Dev All through LLM-powered Multi-Agent Collaboration
A Zero-Code Multi-Agent Platform for Developing Everything
【📚 Developers | 👥 Contributors|⭐️ ChatDev 1.0 (Legacy)】
📖 Overview
ChatDev has evolved from a specialized software development multi-agent system into a comprehensive multi-agent orchestration platform.
- ChatDev 2.0 (DevAll) is a Zero-Code Multi-Agent Platform for "Developing Everything". It empowers users to rapidly build and execute customized multi-agent systems through simple configuration. No coding is required—users can define agents, workflows, and tasks to orchestrate complex scenarios such as data visualization, 3D generation, and deep research.
- ChatDev 1.0 (Legacy) operates as a Virtual Software Company. It utilizes various intelligent agents (e.g., CEO, CTO, Programmer) participating in specialized functional seminars to automate the entire software development life cycle—including designing, coding, testing, and documenting. It serves as the foundational paradigm for communicative agent collaboration.
🎉 News
• Jan 07, 2026: 🚀 We are excited to announce the official release of ChatDev 2.0 (DevAll)! This version introduces a zero-code multi-agent orchestration platform. The classic ChatDev (v1.x) has been moved to the chatdev1.0 branch for maintenance. More details about ChatDev 2.0 can be found on our official post.
🚀 Quick Start
📋 Prerequisites
- OS: macOS / Linux / WSL / Windows
- Python: 3.12+
- Node.js: 18+
- Package Manager: uv
📦 Installation
-
Backend Dependencies (Python managed by
uv):uv sync
-
Frontend Dependencies (Vite + Vue 3):
cd frontend && npm install
- Environment Variables:
cp .env.example .env
- Model Keys: Set
API_KEYandBASE_URLin.envfor your LLM provider. - YAML placeholders: Use
${VAR}(e.g.,${API_KEY})in configuration files to reference these variables.
Start both Backend and Frontent:
make devThen access the Web Console at http://localhost:5173.
-
Start Backend:
# Run from the project root uv run python server_main.py --port 6400 --reload--reloadwatches the server's Python source folders only; agent-generated files underWareHouse/no longer trigger restarts. Pass--reload-diror--reload-exclude(repeatable) to customise. -
Start Frontend:
cd frontend VITE_API_BASE_URL=http://localhost:6400 npm run devThen access the Web Console at http://localhost:5173.
💡 Tip: If the frontend fails to connect to the backend, the default port
6400may already be occupied. Please switch both services to an available port, for example:- Backend: start with
--port 6401 - Frontend: set
VITE_API_BASE_URL=http://localhost:6401
- Backend: start with
-
Help command:
make help -
Sync YAML workflows to frontend:
make sync
Uploads all workflow files from
yaml_instance/to the database. -
Validate all YAML workflows:
make validate-yamls
Checks all YAML files for syntax and schema errors.
OpenClaw can integrate with ChatDev by invoking existing agent teams or dynamically creating new agent teams within ChatDev. To get started:
-
Start the ChatDev 2.0 backend.
-
Install the required skills for your OpenClaw instance:
clawdhub install chatdev
-
Ask your OpenClaw to create a ChatDev workflow. For example:
-
Automated information collection and content publishing
Create a ChatDev workflow to automatically collect trending information, generate a Xiaohongshu post, and publish it. -
Multi-agent geopolitical simulation
Create a ChatDev workflow with multiple agents to simulate possible future developments of the Middle East situation.
Alternatively, you can run the entire application using Docker Compose. This method simplifies dependency management and provides a consistent environment.
-
Prerequisites:
- Docker and Docker Compose installed.
- Ensure you have a
.envfile in the project root for your API keys.
-
Build and Run:
# From the project root docker compose up --build -
Access:
- Backend:
http://localhost:6400 - Frontend:
http://localhost:5173
- Backend:
The services will automatically restart if they crash, and local file changes will be reflected inside the containers for live development.
The DevAll interface provides a seamless experience for both construction and execution
- Tutorial: Comprehensive step-by-step guides and documentation integrated directly into the platform to help you get started quickly.
- Workflow: A visual canvas to design your multi-agent systems. Configure node parameters, define context flows, and orchestrate complex agent interactions with drag-and-drop ease.
- Launch: Initiate workflows, monitor real-time logs, inspect intermediate artifacts, and provide human-in-the-loop feedback.
For automation and batch processing, use our lightweight Python SDK to execute workflows programmatically and retrieve results directly.
from runtime.sdk import run_workflow
# Execute a workflow and get the final node message
result = run_workflow(
yaml_file="yaml_instance/demo.yaml",
task_prompt="Summarize the attached document in one sentence.",
attachments=["/path/to/document.pdf"],
variables={"API_KEY": "sk-xxxx"} # Override .env variables if needed
)
if result.final_message:
print(f"Output: {result.final_message.text_content()}")We have released the ChatDev Python SDK (PyPI package chatdev), so you can also run YAML workflow and multi-agent tasks directly in Python. For installation and version details, see PyPI: chatdev 0.1.0.
For secondary development and extensions, please proceed with this section.
Extend DevAll with new nodes, providers, and tools. The project is organized into a modular structure:
- Core Systems:
server/hosts the FastAPI backend, whileruntime/manages agent abstraction and tool execution. - Orchestration:
workflow/handles the multi-agent logic, driven by configurations inentity/. - Frontend:
frontend/contains the Vue 3 Web Console. - Extensibility:
functions/is the place for custom Python tools.
Relevant reference documentation:
- Getting Started: Start Guide
- Core Modules: Workflow Authoring, Memory, and Tooling
We provide robust, out-of-the-box templates for common scenarios. All runnable workflow configs are located in yaml_instance/.
- Demos: Files named
demo_*.yamlshowcase specific features or modules. - Implementations: Files named directly (e.g.,
ChatDev_v1.yaml) are full in-house or recreated workflows. As follows:
| Category | Workflow | Case |
|---|---|---|
| 📈 Data Visualization | data_visualization_basic.yamldata_visualization_enhanced.yaml |
Prompt: "Create 4–6 high-quality PNG charts for my large real-estate transactions dataset." |
| 🛠️ 3D Generation (Requires Blender & blender-mcp) |
blender_3d_builder_simple.yamlblender_3d_builder_hub.yamlblender_scientific_illustration.yaml |
Prompt: "Please build a Christmas tree." |
| 🎮 Game Dev | GameDev_v1.yamlChatDev_v1.yaml |
Prompt: "Please help me design and develop a Tank Battle game." |
| 📚 Deep Research | deep_research_v1.yaml |
Prompt: "Research about recent advances in the field of LLM-based agent RL" |
| 🎓 Teach Video | teach_video.yaml (Please run command uv add manim before running this workflow) |
Prompt: "讲一下什么是凸优化" |
For those implementations, you can use the Launch tab to execute them.
- Select: Choose a workflow in the Launch tab.
- Upload: Upload necessary files (e.g.,
.csvfor data analysis) if required. - Prompt: Enter your request (e.g., "Visualize the sales trends" or "Design a snake game").
from https://github.com/OpenBMB/ChatDev


















No comments:
Post a Comment