claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// DevOps & CI/CD

fusion

Multi-model consensus planner for coding agents — Claude + Codex + DeepSeek draft a plan independently, cross-verify, and must agree before any plan is emitted.

// DevOps & CI/CD[ cli ][ api ][ mobile ][ claude ]#claude#devopsMIT$open-sourceupdated 15 days ago
Actively maintained
95/100
last commit 18 days ago
last release none
releases 0
open issues 0
// install
git clone https://github.com/malakhov-dmitrii/fusion

fusion

A multi-model consensus planner for coding agents. Claude, Codex, and DeepSeek (or any models you reach through opencode — GLM, Kimi, MiniMax…) each draft a plan independently, cross-verify one another ("idiot-test"), and must reach consensus before a single plan is emitted. The output is a plan — fusion never touches your code.

Status: v0.1, experimental. The harness (fan / cross-verify / collect / cleanup) is verified working across Claude, Codex, and opencode (incl. an opencode-only roster of GLM + Kimi + DeepSeek), and the full /fusion cycle runs end-to-end. It's young — flags and ergonomics will change — but the core mechanism is the point, not a finished product.

Why

One frontier model has one set of blind spots. Three different model families, forced to debate and agree, cover for each other — the "fusion beats frontier" idea, applied to planning instead of answers. fusion makes the disagreement explicit and refuses to emit a plan until the models actually converge (or escalates the fork to you).

This is not a marginal quality bump. A single agent routinely hallucinates specifics — a flag, an API, a cost number — believes its own fiction, and ships something that does not work. The cross-verify rotation and the hard consensus gate exist to catch exactly that. fusion's own design and plan (in docs/) were built this way, and the process caught real errors a solo agent had already written down as fact: a fabricated cost figure, a transport that did not survive a spike, a "read-only writes" contradiction, a missing .gitignore. That gap — between a grounded plan and confident fiction — is the whole point.

How it works

brief (raw repo context, not a Claude summary)
   │
   ▼
fan ──► claude   ┐
        codex    │ each drafts a full plan, independently, challenging
        deepseek ┘ "don't build it / simpler / depends on future / scenarios"
   │
   ▼
cross-verify  (rotation — nobody grades themselves)
   claude → codex's plan,  codex → deepseek's,  deepseek → claude's
   each re-checks every claim INSTRUMENTALLY (grep/read/counter-example)
   │
   ▼
consensus gate  (hard: all agree on material axes, no majority override)
   split survives → spike the assumption → re-discuss → operator breaks the tie
   │
   ▼
synthesize  → plan.md  (+ debate.md: who proposed what, how it resolved)

Two invariants make it trustworthy:

  • Hard consensus gate. No plan is emitted until every available model agrees on the material axes (architecture, approach, key assumptions). A 2-of-3 majority never overrides a dissenter; an unresolved fork goes to you (decision: operator_decision), never silently averaged.
  • Write isolation. Planning is read-only. A git guard snapshots your repo before and after every fan; if a model mutates a tracked file, the run stops (write_leak: true).

See a real run in examples/selftest-plan.md.

Quickstart

git clone https://github.com/malakhov-dmitrii/fusion fusion && cd fusion
./install.sh                 # detects Claude Code / Codex, links the skill
# authenticate the providers in your roster (below), then:
/fusion <task> --dir <path-to-your-repo>

Installing with your coding agent

Point your agent at this and it can install fusion itself:

Clone https://github.com/malakhov-dmitrii/fusion, run ./install.sh from the repo root, then read README.md → "Providers & auth" and make sure the CLIs for my chosen roster are authenticated. Default roster is claude codex deepseek. Confirm /fusion is available and report back.

Requirements & providers

You only need the CLIs for the models in your roster.

ParticipantCLIAuthSmoke test
ClaudeclaudeClaude Code login or ANTHROPIC_API_KEYclaude -p "say OK"
Codex / GPTcodexcodex login (ChatGPT) or OPENAI_API_KEYcodex exec "say OK"
GLM / Kimi / DeepSeek / MiniMax…opencodeopencode auth login (OpenCode Go / OpenRouter)opencode run -m opencode-go/glm-5 "say OK"

git, bash, shasum are assumed. If a participant's CLI is missing or unauthenticated, fusion drops it and runs degraded (and labels the output as such — it won't pretend two models are three).

Models & rosters

Everything is configured by environment variables — no config files:

VarMeaningDefault
FUSION_ROSTERparticipant listclaude codex deepseek
FUSION_MODEL_DEEPSEEKmodel for the deepseek aliasopencode-go/deepseek-v4-pro
FUSION_MODEL_CLAUDE--model for claudeCLI default
FUSION_TIMEOUTper-call timeout (s)300
FUSION_GUARD_REPOrepo the write-guard watches$PWD
FUSION_SCRATCHscratch dir for model writes/tmp/fusion-scratch

Set these in your shell profile (~/.zshrc / ~/.bashrc) for a default roster, or prefix one run: FUSION_ROSTER="…" /fusion ….

A participant is claude[:model] · codex · opencode:<model> · deepseek (alias). So you can run a fully opencode-only ensemble of three different families:

export FUSION_ROSTER="opencode:opencode-go/glm-5 opencode:opencode-go/kimi-k2.7-code opencode:opencode-go/deepseek-v4-pro"

Usage

/fusion <task> --dir <target-repo> [--depth lite|full]

Or drive the harness directly (no host needed):

bash skills/fusion/fusion.sh fan draft prompt.txt runs/r1 claude codex deepseek
bash skills/fusion/fusion.sh cross-verify codex runs/r1/draft/codex.md runs/r1
bash skills/fusion/fusion.sh collect runs/r1
bash skills/fusion/fusion.sh --help

Artifacts land in <target-repo>/.fusion/runs/<timestamp>/: a *-plan.md (the consensus plan, with ranked assumptions and explicit operator-unknowns) and a *-debate.md (the trail).

Works in Claude Code and Codex

The harness is plain bash + CLI adapters, so the orchestrator host is interchangeable. install.sh links the skill into ~/.claude/skills/ (Claude Code, invoked as /fusion) and/or ~/.codex/skills/ (Codex reads SKILL.md). The only host-specific step is the operator interview — AskUserQuestion in Claude Code, a plain text question elsewhere.

Claude Code can also load the repo as a plugin (the .claude-plugin/plugin.json manifest) via a plugin marketplace; the install.sh symlink is just the simplest path.

Limitations (read these)

  • Plan-only. fusion writes plans, never code. Hand the plan to an executor (e.g. forge, improve execute).
  • Batch, not interactive. A full run is multiple models × rounds — expect minutes, not seconds.
  • Costs more than one model. Several models × rounds — reach for it when being wrong is expensive (architecture, migrations, irreversible or hard-to-reverse calls), not for quick edits.
  • Provider drift. CLI flags and quotas change. Codex in particular has a usage quota and a strict config.toml (a bad service_tier will break codex exec).

Internals & design

The full design, the decision log, and the implementation plan (themselves produced and reviewed through fusion) live in docs/design/.

License

MIT © Dmitrii Malakhov

// compatibility

Platformscli, api, mobile
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageShell

// faq

What is fusion?

Multi-model consensus planner for coding agents — Claude + Codex + DeepSeek draft a plan independently, cross-verify, and must agree before any plan is emitted.. It is open-source on GitHub.

Is fusion free to use?

fusion is open-source under the MIT license, so it is free to use.

What category does fusion belong to?

fusion is listed under automation in the Claudeers registry of Claude-compatible tools.

0 views
12 stars
unclaimed
updated 15 days ago

// embed badge

fusion on Claudeers
[![Claudeers](https://claudeers.com/api/badge/fusion.svg)](https://claudeers.com/fusion)

// retro hit counter

fusion hit counter
[![Hits](https://claudeers.com/api/counter/fusion.svg)](https://claudeers.com/fusion)

// reviews

// guestbook

0/500

// related in DevOps & CI/CD

🔓

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI…

// devopssansan0/Python60,216GPL-3.0[ claude ]
🔓

Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.

// devopsmusistudio/TypeScript35,590MIT[ claude ]
🔓

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antig…

// devopslbjlaq/Rust30,028NOASSERTION[ claude ]
→ see how fusion connects across the ecosystem