一个用于 Pi 编码代理的扩展,并行运行两个前沿模型(架构师和构建者),融合它们的输出并提供归属,还可通过门控循环自动验证构建。

Stars

232

7 天增长

+65

Fork 数

50

开放 Issue

0

开源协议

MIT

最近更新

2026-07-27

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它将以架构师/编辑器融合模式实现为一流的、镜头前清晰的工作流,具有硬标记角色、门优先验证循环和逐行来源追踪,让工程师可以组合计算而不是选择单一模型。

适合谁使用

  • 使用 AI 编码代理(Claude Code、Pi)并希望利用多个模型的开发者
  • 评估用于编码任务的前沿模型并需要系统比较机制的团队
  • 构建多代理工作流或扩展代理编码框架的工程师
  • 对代理工程和模型融合模式感兴趣的研究人员和实践者

典型使用场景

  • 就编码问题获取两个模型的独立观点(/opinion)
  • 将两个模型的计划或代码融合为单一、有归属的结果(/fusion)
  • 根据预先设计的验收门自动验证构建(/auto-validate)
  • 将观点、融合和验证串联起来,在一次会话中运行微软件开发生命周期

项目优势

  • 在同一对代理上提供具体的三命令价值阶梯(观点、融合、自动验证)
  • 干净室的子进程,没有技能、扩展或上下文文件,行为确定
  • 门优先验证循环,在构建前设计验收标准,防止自我评分
  • 融合输出中的逐行来源追踪和归属(共识与分歧)

使用前须知

  • 需要特定的外部工具和 API 密钥(Pi、just、jq、uv、Anthropic/OpenAI 密钥)
  • 并行工作器如果被要求写入相同路径而不使用身份文件名,可能会相互覆盖文件
  • 持久的架构师会话可能过时,需要手动重置(/fh-reset),并且在长对话下 fable-5 可能触发 Anthropic 使用策略误报

README 快速开始

fusion-harness

Fuse frontier models instead of racing them. AND, not OR. A standalone Pi coding agent extension harness for two-model agentic engineering.

📺 Watch this video to get the full breakdown of this codebase: GPT-5.6 Sol vs Fable 5 Is the Wrong Question (Fusion) on YouTube

"Which model is best" is a benchmark question, not an engineering question. One model plans, another builds, and the results fuse: you combine compute instead of selecting it. Aider called the pattern architect/editor (the original fusion); Devin calls it fusion; OpenRouter calls it model fusion. This repo makes the pattern a first-class, on-camera-clear workflow: two hard-labeled agents, a gate-first validation loop, and attributed fusion. You don't have to pick a winner when you can hire both.


Install

Agentic Install

claude "/install"   # runs the /install slash command in Claude Code (or Pi, or your favorite agentic coding tool)

The /install command lives at .claude/commands/install.md and handles toolchain checks, key checks, and project-specific setup.

Manual Install

Prereqs: pi, just, jq, uv.

npm install -g @earendil-works/pi-coding-agent    # the Pi coding agent
brew install just jq uv                           # task runner, json inspection, gate runner
printf 'ANTHROPIC_API_KEY=sk-ant-...\nOPENAI_API_KEY=sk-...\n' >> .env   # architect + builder keys
just fh-workhorse                                 # launch on the cheap test pair

Why this exists

Every frontier release restarts the same argument: GPT-5.6 Sol or Fable 5? Benchmarks crown a winner, teams switch, and next quarter the crown moves. Meanwhile the two models are genuinely different animals: one plans and critiques with more depth, the other ships working diffs faster. Picking one means losing the other's edge on every single task.

The deeper problem is review, the second constraint of agentic engineering. A single unchecked agent drif

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

TanStack
精选
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web 开发前端框架
14,861
vercel-labs
精选
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

开发者工具代码质量与构建
1,985
Jakubantalik
精选
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI 与机器学习AI 智能体
1,191