# ChatDev | OpenBMB | Knowledge Base | Instagit

ChatDev 2.0: Dev All through LLM-powered Multi-Agent Collaboration

GitHub Stars: 32.5k

Repository: https://github.com/OpenBMB/ChatDev

---

## Articles

### [How to Integrate External LLM Providers with ChatDev: A Step-by-Step Guide](/OpenBMB/ChatDev/integrating-external-llm-providers-with-chatdev-beyond-openai)

Integrate external LLM providers with ChatDev using ModelProvider and ProviderRegistry. Customize your AI assistant beyond OpenAI with this step by step guide.

- Tags: how-to-guide
- Published: 2026-04-01

### [ChatDev Workflow Versioning and Storage Management: A Complete Technical Guide](/OpenBMB/ChatDev/chatdev-workflow-versioning-and-storage-management)

Master ChatDev workflow versioning and storage management with this technical guide. Learn how ChatDev uses semantic versioning and secure file storage for definitions and outputs.

- Tags: how-to-guide
- Published: 2026-04-01

### [Implementing Human-in-the-Loop Feedback in ChatDev Agent Workflows: A Complete Technical Guide](/OpenBMB/ChatDev/implementing-human-in-the-loop-feedback-in-chatdev-agent-workflows)

Learn to implement human-in-the-loop feedback in ChatDev agent workflows with this technical guide. Explore the three-layer architecture for seamless human interaction via CLI, WebSocket, or custom integrations.

- Tags: how-to-guide
- Published: 2026-04-01

### [Schema Validation for ChatDev Workflow Configuration Contracts: A Complete Technical Guide](/OpenBMB/ChatDev/schema-validation-for-chatdev-workflow-configuration-contracts)

Master schema validation for ChatDev workflow configuration contracts. This guide details the two-layer system used by ChatDev for robust YAML file checking and graph structure integrity. Learn how ChatDev ensures workflow reli...

- Tags: how-to-guide
- Published: 2026-04-01

### [ChatDev REST API vs WebSocket Execution Modes: Architecture and Implementation Guide](/OpenBMB/ChatDev/chatdev-rest-api-vs-websocket-execution-modes-comparison)

Explore ChatDev REST API vs WebSocket execution modes. Understand their architecture and implementation differences for real-time feedback and interactive support.

- Tags: architecture
- Published: 2026-04-01

### [ChatDev Docker Deployment and Containerization: Multi-Stage Setup Guide](/OpenBMB/ChatDev/docker-deployment-and-containerization-of-chatdev)

Deploy ChatDev locally with Docker Compose multi-stage builds. This guide simplifies containerization, separating Python and Node.js services for immediate development access.

- Tags: how-to-guide
- Published: 2026-04-01

### [Logging and Debugging ChatDev Workflow Execution Traces: A Complete Guide](/OpenBMB/ChatDev/logging-and-debugging-chatdev-workflow-execution-traces)

Master ChatDev logging and debugging with our guide. Learn to capture and analyze hierarchical JSON execution traces for smoother AI workflow development.

- Tags: how-to-guide
- Published: 2026-04-01

### [Creating Custom Function Tools for ChatDev Agents: A Complete Implementation Guide](/OpenBMB/ChatDev/creating-custom-function-tools-for-chatdev-agents)

Implement custom function tools for ChatDev agents easily. Learn to add Python files or use the POST API to register functions and generate JSON schemas for enhanced agent capabilities.

- Tags: how-to-guide
- Published: 2026-04-01

### [Session State Persistence and Workflow Recovery in ChatDev: A Complete Technical Guide](/OpenBMB/ChatDev/session-state-persistence-and-workflow-recovery-in-chatdev)

Explore ChatDev's session state persistence and workflow recovery using its UUID-based in-memory registry. Seamlessly continue AI workflows after WebSocket reconnections. Read the complete technical guide.

- Tags: deep-dive
- Published: 2026-04-01

### [ChatDev Workspace Artifact Management and File Storage: Hook and Store Architecture](/OpenBMB/ChatDev/chatdev-workspace-artifact-management-and-file-storage)

Learn how ChatDev manages workspace artifact and file storage using its novel hook and store architecture for efficient tracking, persistence, and streaming of multimodal message blocks.

- Tags: architecture
- Published: 2026-04-01

### [Error Handling and Retry Strategies for Failed ChatDev Workflow Nodes: A Complete Guide](/OpenBMB/ChatDev/error-handling-and-retry-strategies-for-failed-chatdev-workflow-nodes)

Master ChatDev workflow error handling and retry strategies. Learn how to configure Tenacity-based loops to automatically retry failed nodes based on status codes, exceptions, and messages.

- Tags: how-to-guide
- Published: 2026-04-01

### [Token Tracking and Cost Optimization in ChatDev LLM Agent Calls: A Complete Guide](/OpenBMB/ChatDev/token-tracking-and-cost-optimization-in-chatdev-llm-agent-calls)

Master token tracking and cost optimization in ChatDev LLM agent calls. Our guide details how ChatDev's TokenTracker enables precise cost analysis and budget control for your workflows.

- Tags: how-to-guide
- Published: 2026-04-01

### [Batch Execution of Multiple ChatDev Workflows Programmatically: A Complete Guide](/OpenBMB/ChatDev/batch-execution-of-multiple-chatdev-workflows-programmatically)

Learn to programmatically run multiple ChatDev workflows in batch. Explore the stateless run_workflow SDK function for isolated sessions and efficient execution. Improve your development process.

- Tags: how-to-guide
- Published: 2026-04-01

### [Cycle Detection and Loop Handling in ChatDev Workflow Execution](/OpenBMB/ChatDev/cycle-detection-and-loop-handling-in-chatdev-workflow-execution)

Learn how ChatDev uses Tarjan's algorithm for cycle detection and loop handling ensuring efficient workflow execution with super-nodes and a dedicated CycleExecutor.

- Tags: internals
- Published: 2026-04-01

### [Implementing Subgraph Workflows and Reusable Workflow Modules in ChatDev](/OpenBMB/ChatDev/implementing-subgraph-workflows-and-reusable-workflow-modules-in-chatdev)

Learn to implement subgraph workflows and reusable modules in ChatDev Build modular AI agent pipelines by embedding directed graphs as nodes for hierarchical automation.

- Tags: tutorial
- Published: 2026-04-01

### [Handling Attachments and File Uploads in ChatDev Multi-Agent Workflows](/OpenBMB/ChatDev/handling-attachments-and-file-uploads-in-chatdev-multi-agent-workflows)

Learn how ChatDev handles file uploads and attachments seamlessly using AttachmentStore and MessageBlock for efficient agent communication. Explore our OpenBMB/ChatDev repo.

- Tags: how-to-guide
- Published: 2026-04-01

### [Dynamic Edge Conditions and Conditional Branching in ChatDev Workflow Graphs](/OpenBMB/ChatDev/dynamic-edge-conditions-and-conditional-branching-in-chatdev-workflow-graphs)

Explore dynamic edge conditions and conditional branching in ChatDev workflow graphs. Learn how YAML config, condition managers, and execution modes control workflow paths based on message content for efficient development.

- Tags: how-to-guide
- Published: 2026-04-01

### [Building Custom MCP Integrations for ChatDev: A Complete Technical Guide](/OpenBMB/ChatDev/building-custom-mcp-integrations-for-chatdev)

Master ChatDev MCP integrations with this technical guide. Learn to discover, cache, and execute tools via HTTP and stdio, normalizing results for LLM consumption.

- Tags: how-to-guide
- Published: 2026-04-01

### [Memory Management and Context Persistence Across Agent Interactions in ChatDev: A Deep Dive into the Architecture](/OpenBMB/ChatDev/memory-management-and-context-persistence-across-agent-interactions-in-chatdev)

Explore ChatDev's layered memory system for AI agents. Discover how it stores, retrieves, and persists context across interactions using abstracted stores and graph orchestration.

- Tags: deep-dive
- Published: 2026-04-01

### [Implementing Parallel vs Sequential Execution Strategies in ChatDev Workflows](/OpenBMB/ChatDev/implementing-parallel-vs-sequential-execution-strategies-in-chatdev-workflows)

Explore parallel vs sequential execution strategies in ChatDev workflows. Learn how ChatDev manages blocking and non-blocking operations for efficient development.

- Tags: how-to-guide
- Published: 2026-04-01

### [ChatDev YAML Workflow Schema Validation and Schema Registry Usage: A Complete Guide](/OpenBMB/ChatDev/chatdev-yaml-workflow-schema-validation-and-schema-registry-usage)

Learn ChatDev YAML workflow schema validation methods. Explore schema registry usage for component mapping, type checking, and UI generation for robust configurations.

- Tags: how-to-guide
- Published: 2026-04-01

### [Configuring WebSocket for Real-Time Workflow Monitoring in ChatDev: A Complete Guide](/OpenBMB/ChatDev/configuring-websocket-for-real-time-workflow-monitoring-in-chatdev)

Configure WebSocket for real-time ChatDev workflow monitoring. Stream logs artifacts and interact live with WebSocketManager WebSocketLogger and WebSocketGraphExecutor.

- Tags: how-to-guide
- Published: 2026-04-01

### [How to Implement Custom Agent Nodes in ChatDev Workflow Graphs](/OpenBMB/ChatDev/how-to-implement-custom-agent-nodes-in-chatdev-workflow-graph)

Learn to implement custom agent nodes in ChatDev workflow graphs by subclassing AgentConfig and NodeExecutor. Register your new nodes easily for extended functionality.

- Tags: how-to-guide
- Published: 2026-04-01

