Johnson-Durui/ApexCluster
About
旗舰级 6 大厂商多 Agent 集群:自动场景路由(Claude Design / Astra 6.2 Max + Claude Science)、Fabel 快速编排、GrokBot/Muse 一键部署直聊、小模型去重直答与 14 项内置开源 Skills | 6-lab multi-agent workbench: auto design/academic routing, Fabel orchestration, GrokBot/Muse 1-click deploy, small-model guard & 14 open-source skills.
AI & Machine LearningMeasured star growth
- in 24h
- +3
- in 7 days
- +25
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalApexCluster
Direct Local Multi-Platform Subscriptions · One Prompt Dispatches the Right Models · Partial-Model Ready · Production-Grade Multi-Agent Cluster
▶ Live Demo · 中文 · English · Architecture · Configuration · Extending · Security
▶ Open Live Demo (No Backend, No API Keys) → | Try the Delivered RoomDesk App →
The online demo runs this repository's real React 19 Command Deck web interface on scripted preset data (zero model calls; UI is in Chinese). Click ▶ 播放完整演示 in the status bar to watch a meeting-room booking app (RoomDesk, with 30 automated tests) go end to end:
- Architecture cluster (PRD & prototype): multiple seats clarify requirements, explore options, and cross-review risks while the live task map animates every dispatch and return along fibres;
- Gate A human checkpoint: the run pauses with the frozen PRD, architecture spec, demo, and acceptance contract for sign-off (auto-confirms after 20 s without input);
- Cross-vendor build & independent acceptance: opposing provider families co-sign plans, build in isolation, cross-review, and pass independent acceptance;
- Gate B delivery: preview or download the PRD, architecture spec, source code, test report, and complete project archive.
Run the same demo locally: npm ci --prefix web && npm --prefix web run dev:demo (open http://localhost:5180).
Why ApexCluster?
ApexCluster (Multi-Agent Workbench) is a local-first, program-governed, cross-vendor multi-agent product & software engineering cluster built around five core capabilities:
- Direct Local Multi-Platform Subscriptions (No Extra API Keys)
The Dual-Model Review Workbench (
/api/runs,npm run probe) plugs directly into your existing local Claude Code (Claude Pro/Max) and Codex CLI (ChatGPT Plus/Pro) logins with no extra API keys. Child processes automatically isolateANTHROPIC_API_KEY,OPENAI_API_KEY,CODEX_API_KEY, and all*_API_KEYenv vars so invocations stay purely on your subscription channel. Proof-gated local CLI chats (incl. optional Cursor Agent CLI) and full BYOK API mode are also supported. - One Prompt Dispatches the Right Models Automatically
Describe your goal in a single sentence; the Lead Agent decomposes tasks and dynamically dispatches authorized flagship seats and up to
64-way parallel worker pools (agent_submit/worker_submit/fanout_submit), collecting and adjudicating results without manual model switching or context copying. - Best-Fit Model Workflow & Auto Scene Routing
Natively orchestrating Anthropic, OpenAI, Google, xAI, DeepSeek, and Meta:
Claude Fableleads, clarifies, and rapidly plans multi-agent workflows;Gemini Carbondiverges;GPT Solbuilds & integrates;Claude Opusimplements in isolation & cross-reviews;GPT Astraruns independent acceptance; andGrok / Gemini Hydrogen / DeepSeek / Meta Musepower worker pools and direct chats. Art, PPT, web, and software UI prompts auto-route toclaudedesign, while academic paper & research prompts auto-route toastra6.2max+claude science— outputting a complete PRD & prototype at Gate A (standalone for PMs) through verified delivery at Gate B. - Partial-Model Ready — Per-Task Teams & Custom Lead Agent
No need for all 5 labs: start cleanly with 1, 2, or any subset of available models, with unavailable options transparently reported and zero silent downgrade. In Command Deck (or
POST /api/chats), freely designate any available API model or local CLI seat as the Lead Agent, pick0–16collaborators, and grant explicit dispatch permissions (proactive/explicit/none); even one API provider (single-provider) delivers complete PRDs & prototypes at Gate A. - Production-Grade Multi-Agent Engineering Cluster
Model prose can never promote the pipeline. Weighted delegation (
4 → 3 → 2 → 1), mandatory cross-vendor separation, lossless context window rotation, immutablesha256:Docker sandboxes, structuredCONTRACT.json, and cryptographicTRACEenforce every engineering boundary in code.
Best-Fit Model Workflow & Flagship Roster
Built for Product Managers too (Standalone Architecture Layer): Start from a rough product idea and let the cluster clarify edge cases, explore competing designs, cross-review feasibility across labs, and build an interactive
demo/prototype — freezingPRD.md+ARCHITECTURE.md+DEV_GUIDE.md+CONTRACT.jsonat Gate A. Stop right at Gate A for pure PM workflows, or confirm to enter cross-vendor implementation seamlessly.
flowchart TD
subgraph Arch["Architecture Layer · Product & Tech Blueprint (Standalone for PMs: PRDs & Prototypes)"]
direction LR
A1("1. Clarification<br/>Fable (W4)"):::archNode
A2("2. Diverse Options<br/>Carbon (W2)"):::archNode
A3("3. Cross-Review<br/>Astra ⇄ Opus (W3)"):::archNode
A4("4. Demo + PRD Spec<br/>Sol demo/ · CONTRACT"):::archNode
GA{{"◆ Gate A Freeze<br/>PM Sign-Off Ready"}}:::gateA
A1 --> A2 & A3 --> A4 --> GA
end
subgraph Impl["Implementation Layer · Cross-Vendor Build & Immutable Sandbox Verification"]
direction LR
I1("5. Co-Signed DAG<br/>Sol ⇄ Opus Plan"):::implNode
I2("6. Parallel Build<br/>Sol Main + Opus Isolated"):::implNode
I3("4×64 Worker Pools<br/>xAI · Google · DeepSeek"):::implNode
I4("7-9. Review + Accept<br/>Docker · Sol · Astra"):::implNode
GB{{"◆ Gate B Delivery<br/>Hashed TRACE Sign-Off"}}:::gateB
I1 --> I2 & I3 --> I4 --> GB
end
Arch ==>|"confirm (Gate A)"| Impl
classDef archNode fill:#ffffff,stroke:#6366f1,stroke-width:1.4px,color:#1e293b
classDef implNode fill:#ffffff,stroke:#10b981,stroke-width:1.4px,color:#1e293b
classDef gateA fill:#eef2ff,stroke:#4f46e5,stroke-width:2px,color:#1e1b4b
classDef gateB fill:#ecfdf5,stroke:#059669,stroke-width:2px,color:#064e3b
style Arch fill:#f5f7ff,stroke:#818cf8,stroke-width:1.5px,color:#1e293b
style Impl fill:#f2fbf7,stroke:#34d399,stroke-width:1.5px,color:#1e293b
Permissions belong strictly to the seat and phase, never to a model string. When delegationWeight is configured, every agent may only dispatch work to targets with a strictly lower weight.
5 Flagship Leadership & Engineering Seats
| Seat | Weight | Default Flagship Model | Provider Family | Effort | Role & Enforced Authority |
|---|---|---|---|---|---|
claude (Lead) |
4 |
claude-fable-5-2 |
Anthropic | max |
Sole user interface, clarification, owns shared proposal & final delivery; delegates downward, no direct main writes |
astra (Secondary) |
3 |
gpt-6.2-astra |
OpenAI | max |
Feasibility analysis, risk correction, cross-family independent acceptance (acceptance, exec) |
opus (CrossRef) |
3 |
claude-opus-5-5 |
Anthropic | max / xhigh |
Architecture critique, milestone DAG co-signing, isolated candidate coding (writeIsolated) & cross-vendor review |
carbon (Ideator) |
2 |
gemini-4-carbon |
high |
Generates diverse architectural directions, applicability bounds & blind spots without adjudication authority | |
sol (Builder) |
2 |
gpt-6.2-sol |
OpenAI | max |
Sole main-workspace writer & integrator (writeMain, integrate, exec); builds demo/ |
4 High-Concurrency Worker Pools (Weight 1)
| Pool | Default Model | Provider Family | Max Concurrency | Active Layers | Specialty |
|---|---|---|---|---|---|
grok |
grok-4.7 |
xAI | 64 |
Architecture + Implementation | Fast, bounded engineering subtasks and isolated edits |
hydrogen |
gemini-4-hydrogen |
64 |
Architecture + Implementation | Massive parallel workers, long-context analysis & verification subtasks | |
deepseek |
deepseek-v4-pro |
DeepSeek | 64 |
Implementation | Implementation-layer deep code analysis & cost-efficient engineering subtasks |
mini |
Parent-matched (claude-haiku-5-5 / gpt-6-luna / gemini-4-hydrogen) |
Adaptive | 64 |
Architecture | Low-cost fast subtasks matched to the parent seat's provider |
Local Subscriptions & Per-Task Custom Teams (Partial-Model Ready)
The flagship roster is the full ceiling, not a starting prerequisite. ApexCluster cleanly separates local-subscription CLI drivers from BYOK API key drivers, with zero silent cross-mode switching and no browser cookie scraping:
1. Access Modes & Scope Matrix
| Surface / Subsystem | Auth Mode | Supported Providers / Agents | Direct Local Subscription | Channel Isolation & Exact Scope |
|---|---|---|---|---|
| Dual-Model Review Workbench ( /api/runs · npm run probe · Web New Review) |
Local Subscription CLI | Claude Code (Claude Pro/Max) Codex CLI (ChatGPT Plus/Pro) Optional Cursor Agent CLI (Grok) |
✅ Out of the Box (Claude Code + Codex CLI) |
Child processes automatically isolate ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, OPENAI_API_KEY, CODEX_API_KEY, CURSOR_API_KEY, and all *_API_KEY env vars to stay purely on local subscriptions; npm run probe verifies claude auth status & codex login status. Cursor CLI requires H7 capability records |
| Command Deck Chat CLI Mode ( driverMode: "cli") |
Local Subscription CLI | claude (Claude Code), astra / sol (Codex CLI), grok (Cursor Agent CLI) |
🔒 Proof-Gated (No API Keys) |
Dynamic host tools + per-task custom Lead Agent across any qualified CLI seat (cliRoster); requires local capabilities/models.json proofs + Windows Job supervisor isolation (plus WSL2 bwrap for Cursor chat) |
| Command Deck Chat API Mode ( driverMode: "api", default) |
BYOK API Keys | Anthropic · OpenAI · Google Gemini · xAI · DeepSeek · Meta Muse + custom/local OpenAI-compatible endpoints | Configured provider keys | Verify only the providers you own (npm run models:verify -- --provider <p>); supports loopback 127.0.0.1 / localhost endpoints via config/models.registry.local.json; full auto scene routing, Fabel rapid orchestration, small-model guard & per-task custom teams |
| v1 Two-Layer Flagship Pipeline ( npm run pipeline · Web Pipeline) |
BYOK API Keys | Same 5 labs (single-provider through Gate A; multi-family for full delivery) |
API mode only | v1 Two-Layer Pipeline requires API mode; Google Gemini and DeepSeek are API-key only; single chats do not mix CLI and API seats, with zero silent downgrade |
2. What You Have → Ready Immediately
| What You Have Today | Ready Immediately | Behavior (Zero Silent Downgrade) |
|---|---|---|
| Local Claude Code / Codex CLI subscriptions | Dual-Model Reviews (OOTB) + CLI Chat Custom Teams (proof-gated) | No API keys needed; CLI chat lets you designate claude, astra, sol, or grok as Lead Agent |
| 1 API model / 1 provider (e.g. OpenAI only) | Solo Custom Team (allowLeadWrite) + single-provider Architecture Pipeline |
Select single-provider in both Web UI and CLI to run the full Architecture Layer through Gate A (PRD, tech spec & demo) |
| Any 2+ available models (partial API or multi-CLI) | Command Deck Custom Team (UI / POST /api/chats) |
Designate any available model as Lead Agent + 0–16 collaborators + explicit dispatch & review permissions |
| All 5 frontier API keys | Full flagship Two-Layer Pipeline + 4×64 Worker Pools |
Full cross-vendor review, isolated parallel coding, Docker independent acceptance & hashed TRACE |
3. Per-Task Custom Teams & Lead Agent Dispatch
Before sending a task in Command Deck, click Auto Collab (自动协作) → Custom Team (自定义协作团队) (CollabPopover) — or pass team to POST /api/chats (mutually exclusive with pipeline):
- Freely Designate ANY Lead Agent (
leadModel): Pick any verified registered model & reasoning effort in API mode, or any qualified local CLI seat (claude,astra,sol,grok) in CLI mode (no longer locked to Claude). - Explicit Lead Dispatch Authority (
delegation):proactive(autonomously decompose and dispatch authorized collaborators),explicit(dispatch only on demand), ornone(Lead works solo). - Granular Write & Independent Acceptance Controls: Configure
allowLeadWrite(grant Lead main-workspace write &execauthority) andrequireAcceptanceReview(require an independentreviewersign-off before completion; settingtruewithout arevieweror undernonereturns HTTP400). - Select 0–16 Collaborators (
members): Assign per-member roles —collaborator(read-only analysis & synthesis),writer(main-workspace or isolated-copy implementation &exec), orreviewer(read-only snapshot verification & acceptance); unavailable options are visibly disabled and fail closed with HTTP503. - Frozen Per Session & Program-Enforced (
FrozenChatTeam): Validated teams freeze onto the chat (apiRosterorcliRoster).agent_submit(and CLIgrok_submitwhen authorized) binds strictly to frozen members and fails closed with HTTP503if a member goes offline mid-session — never silently dropping it (default non-pipeline chats auto-prune offline seats/pools fromagent_submit/worker_submit/fanout_submit), alongside programmaticdelegationWeight,can.delegateSeats, andWorkspaceGatewayenforcement.
Example (POST /api/chats — designating a custom Lead Agent and collaborators using only OpenAI & Anthropic):
{
"title": "Refactor checkout settlement",
"workspaceId": "w-my-project",
"team": {
"leadModel": "gpt-6.2-astra",
"leadEffort": "max",
"delegation": "proactive",
"allowLeadWrite": false,
"requireAcceptanceReview": true,
"members": [
{ "model": "gpt-6.2-sol", "role": "writer", "effort": "max" },
{ "model": "claude-opus-5-5", "role": "reviewer", "effort": "max" }
]
}
}
Smart Scene Routing · Fabel Rapid Orchestration · One-Click Bots · Small-Model Guard · Built-In Open-Source Skills
Alongside the full two-layer engineering pipeline, ApexCluster adds five out-of-the-box productivity & efficiency pillars (100% API/config-driven with zero forced local Claude CLI verification or auth prompts):
- Auto Scene Routing (
claudedesign+astra6.2max&claude science)- Art & Design tasks (PPT decks, websites/landing pages, software UI/UX, posters & visual layouts): automatically route to the
claudedesignprofile (defaulting toclaude-opus-5-5, overridable viaCLAUDEDESIGN_MODEL/CLAUDEDESIGN_BASE_URLor Settings#env-routing) paired with design system prompts and design/slides skills. - Academic Paper & Scientific Research tasks (manuscript drafting, literature reviews, peer review, LaTeX venue formatting, statistical analysis): automatically route to cross-family
astra6.2max(gpt-6.2-astra@max) +claude science(defaulting toclaude-opus-5-5, overridable viaCLAUDE_SCIENCE_MODEL/CLAUDE_SCIENCE_BASE_URL), loading scientific skills with independent cross-vendor verification. - Command Deck previews matched routes live in the composer (
POST /api/chat-route/preview) and supports automatic scene routing at chat creation or first turn (autoSceneRoute/autoScenePrompt).
- Art & Design tasks (PPT decks, websites/landing pages, software UI/UX, posters & visual layouts): automatically route to the
- Fabel Rapid Workflow Orchestration (
claude-fable-5-2/fabel)- Switch the composer target to Fabel Rapid Orchestration (or call
POST /api/fabel/orchestrate) to letclaude-fable-5-2(aliasfabel, defaultloweffort for fast planning; configurable viaFABEL_ORCHESTRATOR_MODEL/FABEL_ORCHESTRATOR_EFFORT) rapidly synthesize a multi-agent team, ordered DAG workflow steps, and recommended skills — then preview and launch directly into the existingFrozenChatTeamframework in one click.
- Switch the composer target to Fabel Rapid Orchestration (or call
- One-Click Deployment & Direct Chat for
grokbotandmuse- Ships hardened loopback-only bridge services (
services/grokboton127.0.0.1:18782, defaulting to xAIhttps://api.x.ai/v1/grok-4.7;services/museon127.0.0.1:18783, defaulting to Meta Model APIhttps://api.meta.ai/v1/muse-spark-1.3), plus SSRF-validated custom OpenAI-compatible upstream URLs (no browser cookie scraping). - Deploy, inspect, or stop in one click via Environment → Bot Deploy (
#env-bots), inline composer controls,compose.bots.yaml, orscripts/deploy-bots.{ps1,sh}(automode prefers Docker Compose and falls back seamlessly to a zero-dependency local Node process when Docker is unavailable). Once running, select@GrokBot/@Museor prefix messages with@grokbot/@museright inside the chat box.
- Ships hardened loopback-only bridge services (
- Small-Model Guard (Duplicate Auto-Cancellation & Trivial Topic Fast-Path)
- A configurable lightweight small model (default
gpt-6-luna; supportsclaude-haiku-5-5,deepseek-flash,muse-ember-1.0, plus deterministic offline heuristic fallback) intercepts low-value overhead before invoking heavy multi-agent workflows:- Duplicate / Similar Question Auto-Cancellation: detects identical or semantically similar prompts within a configurable window (covering both user turns and delegated subtasks in
worker_submit/agent_submit/grok_submit, while exempting independent reviews), cancels redundant work, links the original turn, and provides a one-click bypass (bypassSmallModelGuard: true). - Trivial / Chitchat Direct Answer: answers short greetings, filler, and simple quick-QA directly with the small model (badged in the thread) while strictly preserving non-interception guardrails for attachments, design/academic prompts, coding/analysis requests, and explicit team/bot targets.
- Duplicate / Similar Question Auto-Cancellation: detects identical or semantically similar prompts within a configurable window (covering both user turns and delegated subtasks in
- A configurable lightweight small model (default
- 14 Built-In Open-Source GitHub Skills (
agentskills.ioFormat)- Preserves ApexCluster's native
document-deliveryandsource-researchskills and bundles 12 curated, license-verified MIT / Apache-2.0 skills adapted fromanthropics/skills,nextlevelbuilder/ui-ux-pro-max-skill,hugohe3/ppt-master,zarazhangrui/frontend-slides,K-Dense-AI/scientific-agent-skills, andobra/superpowers— complete with structured metadata insrc/chat/skills/catalog.jsonand full attribution/modification notices insrc/chat/skills/ATTRIBUTION.md. - Browse by category, inspect full
SKILL.mdbodies lazily, and toggle individual skills on/off via Settings → Built-in Skills (#env-skills) orGET /api/skills/catalog.
- Preserves ApexCluster's native
Architecture Comparison & Core Engineering Guarantees
| Dimension | Single-Model / Typical Frameworks | ApexCluster |
|---|---|---|
| Subscriptions & Access | Forces multiple API keys or lacks local subscription channel isolation | Local Subscriptions + BYOK Dual-Track: Out-of-the-box Claude Code & Codex CLI subscriptions with automatic *_API_KEY env isolation; API mode supports partial-provider verification & custom endpoints |
| Partial Models & Lead | Breaks if one model is missing; hardcodes a single fixed lead | Partial-Model Ready & Custom Lead Agent: Starts cleanly with 1 or any subset of models; pick any Lead Agent, collaborators & dispatch bounds per task |
| Review Independence | Same model or same vendor grades its own output | Mandatory Cross-Vendor Separation: Implementation author and reviewer must belong to different model families (Sol [OpenAI] ⇄ Opus [Anthropic]); Astra runs independent acceptance on a frozen copy |
| Source of Truth & Evidence | Trusts LLM prose claiming "Done / Tests passed" | Program-Owned State Machine: Every transition binds CONTRACT.json, SHA-256 artifact hashes, structured argv command receipts & post-adoption TRACE |
| Long-Horizon Context | Lossy LLM summarization drops specs and errors | Lossless Window Rotation: Tracks physical limits & actual token usage, rotating early with mechanically assembled reference-preserving handoff packets |
| Authority & Sandboxing | Flat loops edit main dirs directly; host shell strings | Weighted Delegation (4 → 3 → 2 → 1) + Immutable Docker: Default offline non-root containers (plus WSL bwrap / Windows MXC) with zero key leakage |
Six Core Engineering Guarantees
- Zero Silent Downgrade & Verifiable Model Registry:
config/models.registry.jsonpins exact model IDs, wire protocols, physical context limits, supported reasoning efforts, and pricing.npm run models:verifyvalidates availability via provider listing endpoints (zero inference calls); missing keys, SDK drift, or unsupported efforts fail explicitly instead of falling back. - Cross-Provider Family Independence: Implementation authors and reviewers are programmatically prevented from sharing a provider family. During architecture clustering,
AstraandOpusmust read and acknowledge each other's paged notes before deterministic aggregation;TRACEis emitted post-adoption so generating it never invalidates reviewed source hashes. - Lossless Context Rotation & Event-Sourced Recovery: Each invocation runs in a fresh window, tracking actual usage against
softTokens/hardTokens/hardRatioto rotate early with mechanically assembled handoff packets; crash recovery resumes only safe windows without blindly replaying failed tasks. - Hard-Boundary Sandboxes & Immutable Images: All model commands use structured
argvarrays inside non-root offline Docker containers pinned by local immutablesha256:image digests, with a separate opt-ininstallNetworkchannel and named caches; WSLbwrapand Windows MXC backends are supported via local capability proofs. - Conservative Pre-Request Budget Guardrails: Before each API request, the scheduler reserves against the most conservative price tier and reconciles actual normalized usage afterward, enforced by
budget.maxUsdandbudget.maxTokens. - Local-First Tri-Mode Delivery: One repository unites local-subscription dual-model reviews, the loopback-only (
127.0.0.1) React 19 Command Deck UI (with per-task custom Lead & team configuration), and a CI-ready headless JSONL engineering pipeline.
Screenshots
All screenshots are captured from the real Command Deck frontend running on the online demo's preset data:
![]() Live task map: the lead splits work; dispatches and returns between seats animate along fibres |
![]() Human Gate A: pauses where your decision is needed, listing the frozen PRD, demo & contract |
![]() Deliverables: each file names its producing seat and can be safely previewed or downloaded |
![]() Architecture view: full-screen topology, reasoning effort & context usage |
![]() Decision pipeline: architecture → gate A → implementation → acceptance → gate B → done |
![]() Task history: review runs with state, pending decisions & run metrics |
![]() Review runs: candidate comparison & structured decision |
![]() Environment: seat models, subscription/key status, execution sandbox & services |

The RoomDesk meeting-room booking app delivered by the demo pipeline: floor filter, conflict detection, and iCal export, with 30 automated tests.
Quick Start
Prerequisites: Node.js >= 22.12, Git (and a running Docker daemon for sandboxed pipelines).
1. Local Subscriptions Out of the Box (No API Keys: Claude Code / Codex CLI)
If Claude Code (Claude Pro/Max) and Codex CLI (ChatGPT Plus/Pro) are already installed and signed in locally, launch the dual-model review workbench immediately:
git clone https://github.com/Johnson-Durui/ApexCluster.git && cd ApexCluster
npm ci && npm run probe # Zero-inference check of CLI versions & subscription logins
npm ci --prefix web && npm run build:web && npm start
Open New Review (bound exclusively to 127.0.0.1:5170), confirm the local subscription-quota prompt, and start reviewing. To override binary paths or model IDs, copy config/workbench.config.example.json to config/workbench.config.json.
To also run Command Deck chats on local CLI subscriptions (including picking
claude,astra,sol, orgrokas Lead Agent), set"driverMode": "cli"inconfig/chat.config.jsonand supply the required isolation capability proofs.npm run pipelinealways uses the API driver.
2. Partial Models: Command Deck Web UI & Per-Task Custom Teams
Copy .env.example to .env with only the provider key(s) you own, verify those providers with zero inference calls, and start Command Deck:
npm run models:verify -- --provider openai --provider anthropic
npm ci --prefix web && npm run build:web && npm start
Open http://127.0.0.1:5170 (raw API key values are never exposed to the browser):
- Pick Smart Route / Fabel Rapid Orchestration / @GrokBot / @Muse right next to the composer to auto-route design (
claudedesign) or academic (astra6.2max+claude science) prompts, preview Fabel workflow plans, or chat directly with bots; - Click Auto Collab (
自动协作) → Custom Team (自定义协作团队) next to the composer to designate any available model as Lead Agent, pick0–16collaborators & roles, and set dispatch / write / acceptance permissions (API details in Configuration); - One-click deploy GrokBot / Muse local bridge services (or click Deploy inside Web Settings
#env-bots):# PowerShell (Windows) — auto mode uses Docker Compose when available, otherwise falls back to local Node loopback ./scripts/deploy-bots.ps1 all deploy # Bash (macOS / Linux) ./scripts/deploy-bots.sh all deploy # Or directly via Docker Compose profile docker compose -f compose.bots.yaml --profile all up -d - With only an OpenAI key, switch to Pipeline mode and pick
single-providerright in the UI to produce the full PRD & prototype through Gate A.
Note: When started via
npm start, the browser UI cannot grant access to a new project directory. To run a full pipeline against a local directory, usenpm run pipelinebelow.
3. Zero-Cost Offline Docker Demo / Live API Engineering Pipeline
# Recommended first check: scripted providers (0 live model calls) + real local Docker sandbox (prints PASS)
docker build -t dmw-sandbox:local docker/sandbox && npm run demo:offline
# Live API pipeline: first pin your local image sha256: ID and budget.maxUsd in config/chat.config.json
mkdir product
npm run pipeline -- --preset single-provider --requirement tests/fixtures/pipeline/todo-cli/requirement.md --workspace ./product
npm run pipeline -- --preset flagship --requirement tests/fixtures/pipeline/todo-cli/requirement.md --workspace ./product
CLI Options & NDJSON Exit Codes
| Flag | Description |
|---|---|
--requirement <file> |
Required UTF-8 requirement file |
--workspace <directory> |
Required existing product directory (accessed only after local native selection grant) |
--preset <name> |
Roster preset, defaulting to flagship (or single-provider / custom roster) |
--auto |
Automatically handle clarification and Gates A/B; without it, an interactive terminal accepts confirm, revise, or cancel |
Exit codes (streaming NDJSON): 0 completed · 2 invalid args/paths · 3 cancelled or gate input required in non-interactive mode · 4 runtime failure/stall · 5 missing config, model proof, or sandbox.
Repository Layout, Verification & ⭐ Star History
├── src/
│ ├── providers/ # Normalized Anthropic Messages, OpenAI Responses/Chat (incl. Meta Muse) & Google GenAI + ScriptedProvider
│ ├── chat/ # Durable runtime, scene router, Fabel orchestrator, small-model guard, bot deployer & built-in skills
│ ├── pipeline/ # Architecture cluster, Gates A/B, contracts, milestone DAG, cross-review, acceptance & TRACE
│ ├── exec/ # Immutable Docker sandbox, WSL bwrap, Windows MXC & command receipts
│ └── server/ # Loopback-only local API & real-time event stream
├── web/ # React 19 + TypeScript + Vite Command Deck UI (routing, bots & skills panels) & online demo (web/demo/)
├── services/ # Hardened local services: document-worker, grokbot (18782) & muse (18783)
├── config/ # 18-model exact registry, design/science/fabel/flagship/single-provider presets & config templates
├── docker/sandbox/ # Offline non-root execution container definition (plus compose.yaml & compose.bots.yaml)
├── scripts/ # Verification, prepublish scan & one-click bot deploy CLIs (deploy-bots.ps1 / deploy-bots.sh)
├── tests/ # Deterministic backend & frontend test suites (zero live API calls)
└── docs/ # Configuration, extending, security docs & UI screenshots
npm run check # TypeScript typecheck + full backend test suite
npm ci --prefix web && npm --prefix web test && npm run build:web
npm run prepublish:scan # Secret, personal path & identifier leak scan
0 → 184 stars in 5 days after the first star, peaking at +28 in a single hour · Live chart →
Documentation & License
- ARCHITECTURE.md — Two-layer pipeline design, window rotation & trust boundaries
- docs/CONFIGURATION.md — Model registry, weighted rosters, per-task custom teams & Lead Agent dispatch, budgets, Docker digest pinning & local CLI mode
- docs/EXTENDING.md — Adding models, providers, seats, tools & execution backends
- SECURITY.md — Security model, operator responsibilities, live-smoke guardrails & audit status
- CHANGELOG.md — Release history · 中文文档
Released under the MIT License.
Explore related projects
Loading…








