Skip to content
xuilenPublic

About

Local-first multi-Agent Swarm & Git Worktree desktop workspace · Orchestrate Codex, Claude Code, Gemini CLI & APIs with isolated worktrees, independent verification, and diff review.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

multiwork

One local workspace for your AI agents — now with 2.0 Swarm & Git Worktree isolation

Orchestrate Codex, Claude Code, Gemini CLI, and OpenAI-compatible APIs in one local-first desktop workbench. Compare replies in parallel, or run a Swarm where agents code in isolated Git Worktrees, get audited by an Independent Verifier, and merge safely through a Human Gate.

Windows x64 CI Website Electron Vue 3 License

Explore the Website · Download for Windows (v1.1.0) · Release Notes · 简体中文


Inside the workspace

A multiwork group conversation with two agents reviewing a desktop release

Local-first by design: Conversations, task state, run ledgers, and Git Worktrees stay on your machine. No cloud agent fleet, no mandatory backend server, and no plaintext secret storage.


What's New in 2.0 (Swarm Workbench)

Available on main (run from source), multiwork 2.0 adds a deterministic local Swarm engine on top of the existing 13+ native CLI and API adapters:

flowchart LR
  U["User Goal & Boundaries"] --> K["Swarm Kernel (DAG Scheduler + Mailbox)"]
  K --> W1["Worker A (Codex)<br/>Git Worktree #1"]
  K --> W2["Worker B (Claude Code)<br/>Git Worktree #2"]
  W1 --> V["Independent Verifier<br/>Read-Only · verifier != worker"]
  W2 --> V
  V -->|"Changes Requested"| K
  V -->|"Approved + Test Evidence"| G["Human Gate & Diff Review"]
  G -->|"Safe Squash Merge"| M["Target Branch + Worktree Cleanup"]
Loading
Capability What it does
DAG Task Board & Mailbox Decompose work into SwarmTask nodes with cycle detection, topological scheduling, failure isolation, and structured peer handoffs (handoff, blocker, review_finding, decision).
Git Worktree Write Isolation Writable tasks automatically run in managed, isolated Git Worktrees (multiwork/swarm-<runId>/<taskId>) so parallel coding agents never overwrite each other. Non-Git folders fail closed to a single-writer serial lock.
Independent Adversarial Verifier Enforces verifierAgentId !== workerAgentId at the scheduler layer. Verifiers run read-only with only acceptance criteria, Unified Diff, and test output evidence — triggering bounded revision loops on changes_requested.
Unified Diff Review & Safe Merge Inspect file-level stats and unified diffs per worktree, then squash-merge back to your target branch with dirty-tree detection, conflict fail-closed rollback, and automatic orphan worktree cleanup.
Human Gate & Run Ledger Explicit approval gates for write access, token budgets, and final merges. Atomic checkpoints reconcile interrupted runs safely after crashes or restarts without silently re-running write tasks.

Ways to work

Mode / Goal How it works in multiwork
Direct Focus with one selected Agent while preserving its native CLI session and token tracking.
Concurrent Responses Send the same frozen prompt snapshot to multiple Agents in parallel, compare replies as they arrive, and stop individual participants anytime.
Swarm & Auto Discussion Coordinate multi-step engineering tasks with DAG scheduling, isolated Git Worktrees, peer review, and Independent Verification before merge.
Usage & Quota Tracking Inspect per-agent runs, reported input/output token totals (Today / 7 Days / All Time), and dated Codex quota windows from saved replies.
Task Board & Resume Jump back to any conversation or Swarm run from the home task board grouped by status.

Supported Agents

Works natively with the Agent CLIs already installed on your machine — no vendor lock-in or gateway wrapper required:

Codex · Claude Code · Gemini CLI · Qwen Code · Kimi Code · MiMo Code · OpenCode · OpenCodeReview · Hermes · Zcode · Pi Agent · OpenClaw · WorkBuddy · OpenAI-Compatible APIs · Agent Connector SDK

See CATALOG.md for setup notes and capabilities per Agent.


Quick start

Option 1: Windows x64 Binary (v1.1.0)

  1. Download multiwork-1.1.0-windows-x64.zip, extract the entire archive into one folder, and launch multiwork.exe (includes the Electron runtime).
  2. For native CLIs, complete their own sign-in in your terminal and refresh discovery in Agent Settings. For API models, configure Chat Completions-compatible endpoints and OS-secured credentials.
  3. Start a conversation, select participants, and send a prompt. Enable workspace write access only when a task calls for file changes.

SHA-256 checksums and release verification notes are published on the v1.1.0 release page.

Option 2: Run from source (includes 2.0 Swarm & Worktree Workbench)

Requires Node.js 22.12+ and npm. From the repository root:

npm --prefix frontend ci
npm --prefix desktop ci
npm --prefix desktop run dev

Run the verification suites locally:

npm --prefix frontend test
node --test meldwork-landing/test/landing.test.cjs
npm --prefix desktop test

Security & Local-First Boundaries

  • Main-process execution only: All CLI and Git subprocesses run in the Electron main process with strict argument allowlists (no shell interpolation).
  • Narrow, sanitized Preload IPC: Renderer code never receives host executable paths, raw credentials, or sensitive absolute worktree paths (only sanitized worktreeId and relative diff paths).
  • OS-backed secrets: API keys are stored only via operating-system secure storage with no plaintext fallback.
  • Opt-in writes: Workspace modification requires explicit user authorization; selected Agents only contact the model providers configured in their own CLI or API settings.

Documentation

Product Website · Agent Catalog · Desktop Setup · Architecture · Security Policy · Contributing

Credits and license

xuilen independently maintains this distribution of multiwork. Its public history starts with the Windows distribution snapshot. The application builds on Meldwork and is distributed under the Apache License 2.0. Commercial use, private use, modification, and redistribution are permitted under the license terms. The distribution includes the original copyright and third-party notices.

License · Notices · Commercial Use

About

Local-first multi-Agent Swarm & Git Worktree desktop workspace · Orchestrate Codex, Claude Code, Gemini CLI & APIs with isolated worktrees, independent verification, and diff review.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages