Code & DeveloperOpen source codeOpenBMB/ChatDev

ChatDev: Open Source AI Repository & Self-Hosting Guide

OpenBMB open-source multi-agent software development framework where role-specialized LLM agents collaborate across design, coding, review, and QA.

GitHub Stars
34,923 stars
Repository License
Apache-2.0
Last Push (UTC)
Nov 6, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/OpenBMB/ChatDev.git
View on GitHub
Installpip install -r requirements.txt && python run.py --task 'build app' --name demo

ChatDev: Architecture & Practical Workflow

ChatDev models a virtual software organization using Camel-style role communication: CEO, CTO, programmer, code reviewer, and tester agents converse through structured chat chains to scaffold, document, and test Python applications.

Recommended End-to-End Pipeline

Use ChatDev to generate annotated multi-file Python prototypes and watch agent turn logs inside its local visualizer UI to refine system prompts.

Runtime Target
Self-Hosted / Python & Local Visualizer (GitHub)
Primary Users
AI Researchers, Prototypers, Students
Code License
Apache-2.0
Focus Topics
open-source, github, multi-agent, software-engineering, prototypes

Quick Setup & Installation Steps

Platform target: Self-Hosted / Python & Local Visualizer (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/OpenBMB/ChatDev.git && cd ChatDev`.
  2. 2Review the Apache-2.0 license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install -r requirements.txt && python run.py --task 'build app' --name demo` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Use ChatDev to generate annotated multi-file Python prototypes and watch agent turn logs inside its local visualizer UI to refine system prompts.)

Hardware & VRAM Notes

Runs on standard developer workstations without specialized hardware unless loading large local weights.

CPU & Memory

Modern multi-core CPU with 8 GB–16 GB RAM for orchestration, CLI agents, OCR/document parsing, or UI workflows (32 GB+ if co-hosting large local LLMs).

GPU / VRAM

Optional unless running local neural weights; pairs cleanly with local inference servers (Ollama / llama.cpp) or remote endpoints.

Runtime Target

Self-Hosted / Python & Local Visualizer (GitHub)

Strengths & Best For

  • Multi-role autonomous agent collaboration across design, coding & QA
  • Visual replay UI showing agent conversations and generated code
  • Customizable phase configs for custom workflows
  • Best suited for: AI Researchers, Prototypers, Students

Limitations & Caveats

  • Best suited for small apps and prototypes rather than huge monorepos
  • Needs an API key or local OpenAI-compatible LLM server
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Code)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted ChatDev vs. Hosted Alternatives (OpenHands (OpenDevin) & Roo Code)
FactorChatDev (Self-Hosted)OpenHands (OpenDevin)Roo Code
Execution & PrivacyRuns locally via Self-Hosted / Python & Local Visualizer (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaApache-2.0 code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitMulti-role autonomous agent collaboration across design, coding & QA; Visual replay UI showing agent conversations and generated codeOpen-source AI software development agent capable of complex task execution.Open-source autonomous VS Code coding agent (fork of Cline) with specialized Architect, Code, and Debug modes plus BYOK.
Key Trade-offBest suited for small apps and prototypes rather than huge monoreposRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for ChatDev workflows.

Next.js & Tailwind CSS UI ComponentCode · React, TypeScript, Tailwind, Next.js
Open in Studio
Supabase Relational Database Schema & RLS PoliciesCode · PostgreSQL, Supabase, RLS, Database
Open in Studio

More Open Source Code & Developer Repositories

Frequently Asked Questions

What does ChatDev do and how does it work?

ChatDev (OpenBMB/ChatDev) is an open-source code & developer project with 34,923 stars on GitHub. OpenBMB open-source multi-agent software development framework where role-specialized LLM agents collaborate across design, coding, review, and QA. ChatDev models a virtual software organization using Camel-style role communication: CEO, CTO, programmer, code reviewer, and tester agents converse through structured chat chains to scaffold, document, and test Python applications.

Is ChatDev free to self-host and use commercially?

ChatDev provides open source code licensed under Apache-2.0. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does ChatDev require?

ChatDev targets Self-Hosted / Python & Local Visualizer (GitHub). Typical installation runs via `pip install -r requirements.txt && python run.py --task 'build app' --name demo`. Best suited for small apps and prototypes rather than huge monorepos

How does self-hosting ChatDev compare to hosted tools like OpenHands (OpenDevin)?

Self-hosting ChatDev gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Python & Local Visualizer (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, OpenHands (OpenDevin) (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is ChatDev actively maintained and what workflow fits it best?

Repository metadata records 34,923 stars on GitHub with the latest recorded push on Nov 6, 2026. Use ChatDev to generate annotated multi-file Python prototypes and watch agent turn logs inside its local visualizer UI to refine system prompts.