How openbmb/chatdev works
DevAll is a zero-code multi-agent workflow platform. A user designs a workflow in the Vue frontend, submits YAML or editor data through the server, and receives an executed workflow result. The runtime validates configuration, builds graph topology and cycles, schedules node execution, invokes agents, models, skills, and tools, then records sessions and artifacts. The tree documents broad integrations and batch/websocket operation; several server-to-runtime call sites were not sampled, so those relationships are represented conservatively.
Main entry points: agent_executor.py Agent Executor · session_execution.py Session Execution · app.py API Server · App.vue Vue Workbench
Components 24
Workflow Authoring
- Vue Workbench
frontend/src/App.vue - Workflow YAML
server/services/workflow_storage.py
Server Services
- Config Validation
check/check.py - API Server
server/app.py - Session Execution
server/services/session_execution.py - Batch Runs
server/services/batch_run_service.py
Workflow Orchestration
- Runtime Builder
workflow/runtime/runtime_builder.py - Graph Manager
workflow/graph_manager.py - Cycle Manager
workflow/cycle_manager.py - Workflow Execution
workflow/executor/dag_executor.py - Resource Manager
workflow/executor/resource_manager.py
Agent Runtime
- Agent Executor
runtime/node/executor/agent_executor.py - Thinking Manager
runtime/node/agent/thinking/thinking_manager.py - Agent Skills
runtime/node/agent/skills/manager.py - Tool Manager
runtime/node/agent/tool/tool_manager.py - Function Manager
utils/function_manager.py - Function Tools
functions/function_calling - LLM Providers
runtime/node/agent/providers
Results and State
- Vuegraph Store
server/services/vuegraphs_storage.py - Session Store
server/services/session_store.py - Artifact Dispatcher
server/services/artifact_dispatcher.py - Workflow Result
workflow/runtime/result_archiver.py
Other components
- User
- MCP Services
Connections 25
- User → Vue Workbench: designs workflows
- Vue Workbench → API Server: submits requests
- Vue Workbench → Vuegraph Store: stores editor data
- API Server → Config Validation: validates config
- Config Validation → Workflow YAML: checks YAML
- API Server → Session Execution: starts sessions
- API Server → Batch Runs: starts batches
- Session Execution → Runtime Builder: builds runtime
- Batch Runs → Session Execution: runs sessions
- Runtime Builder → Graph Manager: constructs graph
- Graph Manager → Cycle Manager: manages cycles
- Graph Manager → Workflow Execution: prepares execution
- Workflow Execution → Resource Manager: coordinates resources
- Workflow Execution → Agent Executor: dispatches agents
- Resource Manager → Agent Executor: guards execution
- Agent Executor → Thinking Manager: invokes thinking
- Agent Executor → Agent Skills: loads skills
- Agent Executor → Tool Manager: requests tools
- Agent Executor → LLM Providers: calls models
- Tool Manager → Function Manager: loads functions
- Function Manager → Function Tools: discovers tools
- Tool Manager → MCP Services: calls MCP
- Session Execution → Session Store: records session
- Session Execution → Artifact Dispatcher: dispatches artifacts
- Artifact Dispatcher → Workflow Result: archives results