AI Agent Hub
AI エージェント / プラグイン情報メディア
← 一覧へ
ChatDev
OTHER

ChatDev

ChatDev

仮想ソフトウェア会社をマルチエージェントで運営する研究プロジェクト。CEO / PM / プログラマ / レビュアー等の役割を持つ AI が協調して開発する。

原文: ChatDev 2.0: Dev All through LLM-powered Multi-Agent Collaboration
#マルチエージェント#研究#ソフトウェア工学
REPO STATS

リポジトリ統計

⭐ Stars
33k
🍴 Forks
4.1k
⚠️ Open Issues
50
🌿 Language
Python
📄 License
Apache-2.0
🕒 最終更新
2026.04.30 (1週間前)
📅 公開日
2023.08.28
🌿 Branch
main
README

ドキュメント

— AI による自動翻訳 (2026.05.07 更新)

ChatDev 2.0 - DevAll

DevAll Logo

あらゆるものを開発するためのゼロコード マルチエージェント プラットフォーム

英語 | 簡体中国語

【📚 開発者 | 👥 貢献者|⭐️ ChatDev 1.0 (Legacy)

📖 概要

ChatDev は専門化したソフトウェア開発マルチエージェントシステムから、包括的なマルチエージェントオーケストレーションプラットフォームへと進化しました。

  • ChatDev 2.0 (DevAll) は「あらゆるものを開発する」ためのゼロコード マルチエージェント プラットフォームです。ユーザーが簡単な設定によってカスタマイズされたマルチエージェントシステムを迅速に構築・実行することを可能にします。コーディングは不要で、ユーザーはデータ可視化、3D 生成、深い調査など複雑なシナリオをオーケストレートするためのエージェント、ワークフロー、タスクを定義できます。
  • ChatDev 1.0 (Legacy) は仮想ソフトウェア会社として動作します。これは様々なインテリジェントエージェント(例:CEO、CTO、プログラマー)が専門的な機能セミナーに参加し、設計、コーディング、テスト、ドキュメント作成など、ソフトウェア開発ライフサイクル全体を自動化します。これはコミュニケーティブなエージェント協働の基礎的パラダイムとして機能します。

🎉 ニュース

2026 年 1 月 7 日: 🚀 ChatDev 2.0 (DevAll) の正式リリースをご報告できて嬉しいです! このバージョンでは、ゼロコードのマルチエージェント オーケストレーション プラットフォームが導入されています。クラシック ChatDev (v1.x) は、保守のため chatdev1.0 ブランチに移動されています。ChatDev 2.0 の詳細については 公式ポスト をご参照ください。

過去のニュース

•2025 年 9 月 24 日: 🎉 弊チームの論文 Multi-Agent Collaboration via Evolving Orchestration が NeurIPS 2025 に採択されました。実装はこのリポジトリの puppeteer ブランチで利用可能です。

•2025 年 5 月 26 日: 🎉 大言語モデルベースのエージェント間のマルチエージェント コラボレーション向けに、新しい puppeteer スタイルのパラダイムを提案します。強化学習で最適化された学習可能な中央オーケストレーターを活用することにより、当手法は効率的でコンテキスト対応の推論経路を構築するためにエージェントを動的に活性化し、シーケンスします。このアプローチは推論品質を向上させるだけでなく、計算コストを削減し、複雑なタスクでのスケーラブルで適応可能なマルチエージェント協力を実現します。 詳細は Multi-Agent Collaboration via Evolving Orchestration の論文をご参照ください。

•2024 年 6 月 25 日: 🎉 LLM パワード マルチエージェント コラボレーション🤖🤖 と関連分野の発展を促進するために、ChatDev チームはセミナル論文📄 のコレクションをオープンソース インタラクティブ 電子書籍📚 フォーマットで厳選しました。現在、電子書籍ウェブサイト で最新の進展を探索し、論文リスト をダウンロードできます。

•2024 年 6 月 12 日: マルチエージェント コラボレーション ネットワーク (MacNet) 🎉 を導入しました。これは有向非環グラフを利用して、言語インタラクションを通じたエージェント間の効果的なタスク指向コラボレーションを促進します🤖🤖。MacNet はさまざまなトポロジ全体およびコンテキスト制限を超えない 1,000 以上のエージェント間での協力をサポートします。より多機能でスケーラブルな MacNet は、ChatDev のチェーン型トポロジのより高度なバージョンと見なすことができます。プレプリント論文は https://arxiv.org/abs/2406.07155 で利用可能です。この技術は macnet ブランチに組み込まれており、多様な組織構造のサポートを強化し、ソフトウェア開発を超えた豊富なソリューション(論理推論、データ分析、ストーリー生成など)を提供しています。

• 2024 年 5 月 7 日、「Iterative Experience Refinement」(IER) を導入しました。これはインストラクター エージェントとアシスタント エージェントが、ショートカット指向の経験を強化して新しいタスクに効率的に適応する新しい方法です。このアプローチは、一連のタスクにわたる経験の獲得、利用、伝播および排除を含み、プロセスをより短く効率的にします。プレプリント論文は https://arxiv.org/abs/2405.04219 で利用可能であり、この技術は間もなく ChatDev に組み込まれる予定です。

• 2024 年 1 月 25 日: ChatDev に Experiential Co-Learning モジュールを統合しました。Experiential Co-Learning ガイド をご参照ください。

• 2023 年 12 月 28 日: Experiential Co-Learning を紹介します。これはインストラクター エージェントとアシスタント エージェントがショートカット指向の経験を蓄積して新しいタスクを効果的に解決し、反復的なエラーを削減し、効率を向上させる革新的なアプローチです。プレプリント論文は https://arxiv.org/abs/2312.17025 でご確認ください。この技術は間もなく ChatDev に統合される予定です。

• 2023 年 11 月 15 日: ChatDev を SaaS プラットフォームとして立ち上げました。これにより、ソフトウェア開発者と革新的な起業家が非常に低コストで効率的にソフトウェアを構築でき、参入障壁を取り除くことができます。https://chatdev.modelbest.cn/ で試してみてください。

• 2023 年 11 月 2 日: ChatDev は新機能「段階的開発」でサポートされるようになりました。これにより、エージェントが既存のコード上で開発することができます。--config "incremental" --path "[source_code_directory_path]" を実行して開始してください。

• 2023 年 10 月 26 日: ChatDev は Docker でのセキュアな実行でサポートされるようになりました (ManindraDeMel からのご協力に感謝します)。Docker スタートガイド をご参照ください。

• 2023 年 9 月 25 日: Git モードが利用可能になりました。これにより、プログラマーが Git をバージョン管理に利用できるようになります。この機能を有効にするには、ChatChainConfig.json"git_management""True" に設定するだけです。ガイド をご参照ください。

• 2023 年 9 月 20 日: Human-Agent-Interaction モードが利用可能になりました!レビュアー の役を演じてプログラマー に提案することで、ChatDev チームに参加できます。python3 run.py --task [description_of_your_idea] --config "Human" を試してください。ガイド および をご参照ください。

• 2023 年 9 月 1 日: Art モードが利用可能になりました!デザイナー エージェント を活性化して、ソフトウェアで使用される画像を生成できます。python3 run.py --task [description_of_your_idea] --config "Art" を試してください。ガイド および をご参照ください。

• 2023 年 8 月 28 日: システムが公開されました。

• 2023 年 8 月 17 日: v1.0.0 バージョンがリリース準備完了しました。

• 2023 年 7 月 30 日: ユーザーは ChatChain、Phase、Role 設定をカスタマイズできます。さらに、オンライン ログ モードとリプレイ モードの両方がサポートされるようになりました。

• 2023 年 7 月 16 日: このプロジェクトに関連する プレプリント論文 が発行されました。

• 2023 年 6 月 30 日: ChatDev リポジトリの初期バージョンがリリースされました。

🚀 クイックスタート

📋 前提条件

  • OS: macOS / Linux / WSL / Windows
  • Python: 3.12+
  • Node.js: 18+
  • パッケージマネージャー: uv

📦 インストール

  1. バックエンド依存関係uv で管理される Python):

    uv sync
  2. フロントエンド依存関係(Vite + Vue 3):

    cd frontend && npm install

🔑 設定

  • 環境変数:
    cp .env.example .env
  • モデルキー: LLM プロバイダーの API_KEYBASE_URL.env に設定します。
  • YAML プレースホルダー: 設定ファイルで ${VAR}(例: ${API_KEY})を使用してこれらの変数を参照します。

⚡️ アプリケーションの実行

Makefile を使用する(推奨)

バックエンドとフロントエンドの両方を起動:

make dev

その後、Web コンソールに http://localhost:5173 でアクセスします。

手動コマンド

  1. バックエンドを起動:

    # プロジェクトルートから実行
    uv run python server_main.py --port 6400 --reload

    --reload はサーバーの Python ソースフォルダのみを監視します。WareHouse/ 配下のエージェント生成ファイルは再起動を引き起こしません。カスタマイズするには --reload-dir または --reload-exclude(繰り返し可能)を指定します。

  2. フロントエンドを起動:

    cd frontend
    VITE_API_BASE_URL=http://localhost:6400 npm run dev

    その後、Web コンソールに http://localhost:5173 でアクセスします。

    💡 ヒント: フロントエンドがバックエンドに接続できない場合は、デフォルトポート 6400 が既に使用されている可能性があります。両方のサービスを利用可能なポートに切り替えてください。例:

    • バックエンド: --port 6401 で起動します
    • フロントエンド: VITE_API_BASE_URL=http://localhost:6401 を設定します

ユーティリティコマンド

  • ヘルプコマンド:

    make help
  • YAML ワークフローをフロントエンドに同期:

    make sync

    yaml_instance/ からすべてのワークフローファイルをデータベースにアップロードします。

  • すべての YAML ワークフローを検証:

    make validate-yamls

    すべての YAML ファイルの構文とスキーマエラーを確認します。

🦞 OpenClaw で実行

OpenClaw は ChatDev と統合し、既存エージェントチームを呼び出すか、ChatDev 内で動的に新しいエージェントチームを作成できます。開始するには:

  1. ChatDev 2.0 バックエンドを起動します。

  2. OpenClaw インスタンスに必要なスキルをインストールします:

    clawdhub install chatdev
  3. OpenClaw に ChatDev ワークフローの作成を依頼します。例えば:

  • 自動情報収集とコンテンツ公開

    Create a ChatDev workflow to automatically collect trending information, generate a Xiaohongshu post, and publish it.
    
  • マルチエージェント地政学シミュレーション

    Create a ChatDev workflow with multiple agents to simulate possible future developments of the Middle East situation.
    

🐳 Docker で実行

別の方法として、Docker Compose を使用してアプリケーション全体を実行できます。この方法は依存関係の管理を簡素化し、一貫した環境を提供します。

  1. 前提条件

    • Docker および Docker Compose がインストールされていること。
    • プロジェクトルートに API キー用の .env ファイルがあることを確認します。
  2. ビルドして実行

    # From the project root
    docker compose up --build
  3. アクセス

    • バックエンドhttp://localhost:6400
    • フロントエンドhttp://localhost:5173

サービスがクラッシュした場合は自動的に再起動され、ローカルファイルの変更はコンテナ内にライブ開発用に反映されます。


💡 使い方

🖥️ Web コンソール

DevAll インターフェースは、構築と実行の両方についてシームレスなエクスペリエンスを提供します。

  • チュートリアル:プラットフォームに直接統合された包括的なステップバイステップガイドとドキュメント。すぐに始めるのに役立ちます。

  • ワークフロー:マルチエージェントシステムを設計するビジュアルキャンバス。ノードパラメータを設定し、コンテキストフローを定義し、複雑なエージェント相互作用をドラッグアンドドロップで簡単にオーケストレートします。

  • 起動:ワークフローを開始し、リアルタイムログを監視し、中間成果物を検査し、ヒューマンインザループフィードバックを提供します。

🧰 Python SDK

自動化とバッチ処理のために、軽量な Python SDK を使用して、ワークフローをプログラムで実行し、結果を直接取得します。

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()}")

ChatDev Python SDK (PyPI パッケージ chatdev) をリリースしました。Python で直接 YAML ワークフローとマルチエージェントタスクを実行することもできます。インストールとバージョン情報の詳細については、PyPI: chatdev 0.1.0 を参照してください。


⚙️ 開発者向け

二次開発と拡張については、このセクションを参照してください。

DevAll を新しいノード、プロバイダー、ツールで拡張します。 プロジェクトはモジュール構造に組織化されています:

  • コアシステム: server/ は FastAPI バックエンドをホストし、runtime/ はエージェント抽象化とツール実行を管理します。
  • オーケストレーション: workflow/ はマルチエージェントロジックを処理し、entity/ の設定に基づいて駆動されます。
  • フロントエンド: frontend/ は Vue 3 ウェブコンソールを含みます。
  • 拡張性: functions/ はカスタム Python ツールの場所です。

関連するリファレンスドキュメント:


🌟 注目のワークフロー

— GitHub から取得した原文(一部省略の場合あり)

DevAll Logo

A Zero-Code Multi-Agent Platform for Developing Everything

English | 简体中文

【📚 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.

Old News

•Sep 24, 2025: 🎉 Our paper Multi-Agent Collaboration via Evolving Orchestration has been accepted to NeurIPS 2025. The implementation is available in the puppeteer branch of this repository.

•May 26, 2025: 🎉 We propose a novel puppeteer-style paradigm for multi-agent collaboration among large language model based agents. By leveraging a learnable central orchestrator optimized with reinforcement learning, our method dynamically activates and sequences agents to construct efficient, context-aware reasoning paths. This approach not only improves reasoning quality but also reduces computational costs, enabling scalable and adaptable multi-agent cooperation in complex tasks. See our paper in Multi-Agent Collaboration via Evolving Orchestration.

•June 25, 2024: 🎉To foster development in LLM-powered multi-agent collaboration🤖🤖 and related fields, the ChatDev team has curated a collection of seminal papers📄 presented in a open-source interactive e-book📚 format. Now you can explore the latest advancements on the Ebook Website and download the paper list.

•June 12, 2024: We introduced Multi-Agent Collaboration Networks (MacNet) 🎉, which utilize directed acyclic graphs to facilitate effective task-oriented collaboration among agents through linguistic interactions 🤖🤖. MacNet supports co-operation across various topologies and among more than a thousand agents without exceeding context limits. More versatile and scalable, MacNet can be considered as a more advanced version of ChatDev's chain-shaped topology. Our preprint paper is available at https://arxiv.org/abs/2406.07155. This technique has been incorporated into the macnet branch, enhancing support for diverse organizational structures and offering richer solutions beyond software development (e.g., logical reasoning, data analysis, story generation, and more).

• May 07, 2024, we introduced "Iterative Experience Refinement" (IER), a novel method where instructor and assistant agents enhance shortcut-oriented experiences to efficiently adapt to new tasks. This approach encompasses experience acquisition, utilization, propagation and elimination across a series of tasks and making the pricess shorter and efficient. Our preprint paper is available at https://arxiv.org/abs/2405.04219, and this technique will soon be incorporated into ChatDev.

• January 25, 2024: We have integrated Experiential Co-Learning Module into ChatDev. Please see the Experiential Co-Learning Guide.

• December 28, 2023: We present Experiential Co-Learning, an innovative approach where instructor and assistant agents accumulate shortcut-oriented experiences to effectively solve new tasks, reducing repetitive errors and enhancing efficiency. Check out our preprint paper at https://arxiv.org/abs/2312.17025 and this technique will soon be integrated into ChatDev.

• November 15, 2023: We launched ChatDev as a SaaS platform that enables software developers and innovative entrepreneurs to build software efficiently at a very low cost and remove the barrier to entry. Try it out at https://chatdev.modelbest.cn/.

• November 2, 2023: ChatDev is now supported with a new feature: incremental development, which allows agents to develop upon existing codes. Try --config "incremental" --path "[source_code_directory_path]" to start it.

• October 26, 2023: ChatDev is now supported with Docker for safe execution (thanks to contribution from ManindraDeMel). Please see Docker Start Guide.

• September 25, 2023: The Git mode is now available, enabling the programmer to utilize Git for version control. To enable this feature, simply set "git_management" to "True" in ChatChainConfig.json. See guide.

• September 20, 2023: The Human-Agent-Interaction mode is now available! You can get involved with the ChatDev team by playing the role of reviewer and making suggestions to the programmer ; try python3 run.py --task [description_of_your_idea] --config "Human". See guide and example.

• September 1, 2023: The Art mode is available now! You can activate the designer agent to generate images used in the software; try python3 run.py --task [description_of_your_idea] --config "Art". See guide and example.

• August 28, 2023: The system is publicly available.

• August 17, 2023: The v1.0.0 version was ready for release.

• July 30, 2023: Users can customize ChatChain, Phasea and Role settings. Additionally, both online Log mode and replay mode are now supported.

• July 16, 2023: The preprint paper associated with this project was published.

• June 30, 2023: The initial version of the ChatDev repository was released.

🚀 Quick Start

📋 Prerequisites

  • OS: macOS / Linux / WSL / Windows
  • Python: 3.12+
  • Node.js: 18+
  • Package Manager: uv

📦 Installation

  1. Backend Dependencies (Python managed by uv):

    uv sync
  2. Frontend Dependencies (Vite + Vue 3):

    cd frontend && npm install

🔑 Configuration

  • Environment Variables:
    cp .env.example .env
  • Model Keys: Set API_KEY and BASE_URL in .env for your LLM provider.
  • YAML placeholders: Use ${VAR}(e.g., ${API_KEY})in configuration files to reference these variables.

⚡️ Run the Application

Using Makefile (Recommended)

Start both Backend and Frontent:

make dev

Then access the Web Console at http://localhost:5173.

Manual Commands

  1. Start Backend:

    # Run from the project root
    uv run python server_main.py --port 6400 --reload

    --reload watches the server's Python source folders only; agent-generated files under WareHouse/ no longer trigger restarts. Pass --reload-dir or --reload-exclude (repeatable) to customise.

  2. Start Frontend:

    cd frontend
    VITE_API_BASE_URL=http://localhost:6400 npm run dev

    Then access the Web Console at http://localhost:5173.

    💡 Tip: If the frontend fails to connect to the backend, the default port 6400 may 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

Utility Commands

  • 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.

🦞 Run with OpenClaw

OpenClaw can integrate with ChatDev by invoking existing agent teams or dynamically creating new agent teams within ChatDev. To get started:

  1. Start the ChatDev 2.0 backend.

  2. Install the required skills for your OpenClaw instance:

    clawdhub install chatdev
  3. 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.
    

🐳 Run with Docker

Alternatively, you can run the entire application using Docker Compose. This method simplifies dependency management and provides a consistent environment.

  1. Prerequisites:

    • Docker and Docker Compose installed.
    • Ensure you have a .env file in the project root for your API keys.
  2. Build and Run:

    # From the project root
    docker compose up --build
  3. Access:

    • Backend: http://localhost:6400
    • Frontend: http://localhost:5173

The services will automatically restart if they crash, and local file changes will be reflected inside the containers for live development.


💡 How to Use

🖥️ Web Console

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.

🧰 Python SDK

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 Developers

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, while runtime/ manages agent abstraction and tool execution.
  • Orchestration: workflow/ handles the multi-agent logic, driven by configurations in entity/.
  • Frontend: frontend/ contains the Vue 3 Web Console.
  • Extensibility: functions/ is the place for custom Python tools.

Relevant reference documentation:


🌟 Featured Workflows

RELATED

同じカテゴリの他のツール