
Concord Engine
io.github.harsh-chandak由 GitHub 账号 harsh-chandak 发布v0.3.2更新于 Oct 24, 2026
Scale parallelism. Preserve alignment. A fleet of coding agents builds one task in parallel against
发布方自己的服务:Concord
概览
一个本地 MCP 服务器,让助手记录、拦截并审计架构决策,使并行工作的编码代理保持一致。
- 可以做什么
- 编写并校验任务契约,在写代码前把其中的决策绑定进共享日志(write_contract、bind_contract)。为每个工作单元生成简报,并输出按依赖分波的并行计划(brief_unit、fleet_plan)。记录决策,与已生效决策冲突时会被拒绝,并列出生效决策与未决冲突(record_decision、binding_decisions、open_conflicts)。记录尝试并查看运行状态(record_attempt、status)。执行验收命令、根据日志生成设计文档,并统计分发的字节数(run_acceptance、generate_docs、cost_report)。
- 适用场景
- 当多个编码代理并行处理同一任务、且不能对同一问题给出不同答案时使用;也适合需要把决策、决策者和理由与代码一起记录并可审计的场景。
- 运行要求
- 以 stdio 在本地运行,通常通过 npx concord-engine 或 Claude Code 插件安装。决策日志默认位于工作目录下的 .concord-engine,可用 CONCORD_ENGINE_DIR 或 --dir 改到别处。验收会执行契约中指定的命令,因此项目需具备相应的测试工具。
安装
在 SourceWeft 中
- 打开 控制台中的 Concord Engine,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Concord Engine
Scale parallelism. Preserve alignment.
Describe a task. A fleet of agents builds it. They come back with work that is finished, tested and documented — and that agrees with itself, because none of them was allowed to contradict a decision another had already made.
Parallel agents don't scale past the human in the middle. You run five to go faster, four of them are right, the product is broken, and the only thing that catches it is you — reading everything, holding the whole picture, re-explaining choices that were already settled.
That isn't a prompting problem. Your agents have memory and they have verification, and neither answers the question that actually breaks a parallel run:
Did these two agents just settle the same question differently?
Concord Engine answers it by comparison, never by a model, and refuses the second answer at the moment it is written.
Recorded, not drawn. brag/record.mjs runs the real CLI and captures its
output verbatim; brag/video.html only renders what was captured. The loop
shows the refusal arc — the full run also writes the contract, binds it and
briefs four workers first.
What a decision is
This is the part that gets undersold. A "decision" is not a variable name. It is any question two agents could answer differently and both be reasonable — and the cost is never the question itself, it's that nothing goes red.
Four agents implementing four reasonable answers to "what does an error body look like" produce four green test suites and one broken product. That is the whole category, and it is much wider than route paths.
The failure it stops
A refunds feature, split across a backend worker and a client worker. The backend settles the error shape. The client, working in parallel and with no visibility into the backend's files, reaches a different answer:
Verbatim from the recording above.
The agent is stopped at the moment it tries to disagree, and told what is in force, who decided it, why, and the two legitimate ways out. Not at integration. Not by you.
Three ways to run it
As a skill, which is how most people will use it. Describe the task; the agent runs the whole loop — authors the contract, binds it, briefs each worker, fans out, gates every decision, runs the acceptance checks, writes the design doc.
Nothing about the task has to be small, and nothing has to be a route.
As an MCP server, so an agent already mid-task can reach the gate without
being handed a workflow. Twelve tools: write_contract, bind_contract,
brief_unit, fleet_plan, run_acceptance, generate_docs, cost_report,
plus record_decision, binding_decisions, open_conflicts,
record_attempt, status.
As a CLI, for humans and for CI. concord-engine check exits non-zero
when anything contradicts, which is a one-line pipeline step.
Why this isn't another memory tool
And the obvious way to answer it — store decisions as prose, ask a model whether two of them conflict — is slow, costs a call per check, and is wrong often enough that people stop trusting it. A coordination layer nobody trusts is worse than none, because it adds latency and false alarms to a workflow that had neither.
Concord Engine decides agreement by comparison, never by a model. Decisions are typed and narrow, so a contradiction is a comparison: same subject, different value. No API call exists anywhere in the decision path — there's a test that fails if any file in that path can reach outside the process, and a second one that fails if any file in the package, anywhere, calls a model.
The loop
The gate above is one organ. v0.2 is the body around it: you describe a task, and the fleet that builds it is bound to one set of decisions from before the first line of code.
Every loop command takes --contract. The MCP server exposes the same set as
write_contract, bind_contract, brief_unit, fleet_plan, run_acceptance,
generate_docs and cost_report.
The contract
One JSON document. The agent writes it; the package decides whether it holds.
openSubjects is the part people skip and shouldn't. Naming a thing before
anyone decides it is what stops two workers inventing two different names for
it — see Honest limits for the run where that went wrong.
Validation is not a formality. A contract is rejected when two of its own decisions contradict each other, when a unit depends on one that doesn't exist, when the dependency graph has a cycle, when a unit has no acceptance criterion, or when a criterion has no command. All of it in one pass, because fixing one error per round trip is the expensive way to find four:
bind then puts the contract's decisions into the log at PM layer. If one of
them contradicts a decision already live, binding refuses — a new contract
quietly overriding decisions in force is the exact failure this tool exists to
prevent.
What one worker gets
A brief, and not the conversation. This is the actual brief the unit that wrote this file was given. Verbatim, abridged only where marked:
fleet prints all of them at once, grouped into waves by dependsOn, so the
host knows what it can run in parallel.
What the package decides, and what it doesn't
The package never calls a model. The agent authors; the host spawns; the package decides everything that can be decided by comparison.
Every row on the right is a comparison, a schema check or a subprocess exit
code. Two tests enforce the split: nothing in the decision path may leave the
process by any means, and no file anywhere — including accept, which exists
to spawn subprocesses — may reach a model.
This is the differentiator, not a gap. Fan-out is a loop and a prompt; every orchestrator has one. What nobody does is make the fleet's decisions binding on each other, and that only stays trustworthy while no model is in the path.
Install
The harsh-chandak marketplace is hosted in the shadowjoin repo and carries
both tools — that first line is not a typo.
Then describe the work and let it run the loop:
Or without Claude Code:
Use
Leads and the PM decide. Workers write code and decide nothing.
Outside a contract, decide still refuses a decision that contradicts one in
force — it just cannot check what a unit was allowed to settle, because
without --unit there is nothing that says.
verify means route verification, as it did in v0.1. Acceptance criteria are
run by accept.
Five kinds, each with its own comparison rule:
Where the log lives
.concord-engine/decisions.jsonl, in the working directory — append-only JSON
Lines, one decision per line, no parser needed to read it. Contracts sit beside
it in .concord-engine/contracts/.
Commit it. The log is the contract between your agents, so it has to travel
with the code the way a migration does. Set CONCORD_ENGINE_DIR or pass
--dir to put it elsewhere; the CLI and the MCP server resolve the location
the same way, so check always audits the file the server writes.
Who resolves what
Adjudication is read off the hierarchy, not judged. A PM decision overrides a lead's — that's an override, not a conflict. Two leads who disagree go to the PM. Two PMs who disagree reach you, because nothing outranks them.
Two attempts at a layer, then it escalates. What reaches you is a packet — both positions, who holds each, why, and what has already been tried:
Not "something went wrong, go read the logs."
The design doc nobody writes
docs renders the run from the decision log: the goal, what was in and out of
scope, every decision in force with its author, timestamp and rationale, and a
table of the commands that proved the work. It is generated, so it can't drift
from what was actually decided — and it's the first design doc that costs
nothing to keep current, because nobody writes it.
The number that matters
Every other orchestrator reports agents launched, tokens spent, tasks completed. None of them reports whether the system handled itself — which is the only number that says whether running ten agents actually cost you less than running one.
What the fan-out cost
The saving is structural, not a trick: a worker receives its brief, not the conversation. A brief is one unit's slice plus the decisions that bind it — small, fixed, and identical across the run. A transcript is none of those things.
The package measures bytes, because bytes are what it can count. Run on this repo's own contract — five units, five binding decisions. Reproduce it by cloning and running the same command:
Every token figure it prints is labelled an estimate and states the chars-per-token assumption behind it. The baseline is the whole contract per worker, not your real session — your actual saving is larger, and this tool will not guess by how much.
A worked example
examples/linkfold.contract.json is the contract from the run this README
keeps citing: a URL shortener built by four workers who never saw each other's
code, which came out working — 55 tests and a real HTTP round trip between
three units that agreed on a wire format they never discussed.
It carries the openSubjects the original run was missing, which is why that
run settled the error format twice under two names. CI revalidates it on every
push.
Honest limits
-
Only what's recorded is checked. A lead who decides something in prose and never records it is invisible to this.
-
Subjects are matched by wording, not by meaning. Case, punctuation and accents are normalised, so "User Identifier" and "user identifier" collide. Two agents who describe the same thing in genuinely different words do not. This is the tool's sharpest edge, and it is not theoretical: on the first run of this loop against another project, two workers settled the error format under "error response body shape" and "api error response body", chose incompatible payloads, and
checkreported no contradiction because it never compared them.The mitigation is
openSubjects: name the thing in the contract before anyone decides it, anddecide --contract <id> --unit <id>refuses a subject the contract never declared, offering the declared spelling instead. That makes subject identity a lookup rather than a guess. Matching subjects by similarity would close the gap too, and would put a judgement back in the decision path — which is the one thing this package will not do.The residual risk is real: a decision recorded without
--contract, or with--new-subject, is matched by wording again. -
verifyonly recognises Express-shaped registrations. It looks forapp/router/server/apifollowed by a method call, plus FastAPI and Flask decorators. A plainnode:httpserver that switches onreq.urlserves routes it cannot see. Broadening the pattern to any identifier would makecache.get("key")look like a route, so it stays narrow and under-reports. -
verifyreads literal paths only. A router mounted under a prefix, or a path built at runtime, is invisible to static extraction. It under-reports rather than accusing falsely, and prints how many files it read so the number isn't mistaken for completeness. -
It doesn't spawn workers.
fleetemits briefs; your host spawns. A package that shells out to another agent CLI inherits that tool's auth, rate limits and failure modes, and stops being a library. -
It doesn't write the contract. Authoring is a model call, and model calls happen outside the package.
-
It doesn't count tokens. No tokenizer ships. Bytes are measured; tokens are divided and labelled.
-
It doesn't verify the work was done.
acceptruns the commands the contract named. If the contract named weak commands, it will pass. -
It doesn't judge which decision is better. It reports that two can't both hold, and who gets to rule.
-
A worker can still bypass the gate.
decidewithout--unitskips the check on what that unit may decide, and--forcerecords a contradiction deliberately. Both are visible in the log, andreportcounts them. The gate is a guardrail, not a sandbox. -
Five kinds, deliberately.
dependencyis deferred until semver range intersection is implemented properly; a comparator that calls^1.0.0and^1.2.0incompatible would be worse than not having it.
License
MIT © Harsh N. Chandak
来源:README.md,提交 4801ffa
工具
0版本历史
2- v0.3.2最新Oct 23, 2026
- v0.3.1Oct 17, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Concord 集成
Concord
tech.concord官方发布者
使用您的 Concord 隐私与信任数据:同意、隐私请求、数据地图、风险、供应商。AI 翻译

Concord
由 GitHub 账号 standards-concord 发布
Concord 的远程 MCP 端点,这是 ODI 标准中心原型平台,让助手读取、查询 OWL/LinkML 本体、校验数据并报告缺口。

Concord
由 GitHub 账号 jeswr 发布
远程 MCP 服务器,让助手读取、查询 ODI 标准中心本体(OWL、LinkML),并对照本体检查数据、报告差距。

Concord Mcp
由 GitHub 账号 zkwasm 发布
Concord 让 AI 编程代理加入端到端加密的多代理协作房间,与其他代理和人类收发消息、共享文件并协调工作。

Concord MCP
由 GitHub 账号 Get-Concord-AI 发布
本地 MCP 服务器,为不同客户端中的编码智能体提供共享工作区,用于认领任务、互相发消息并带证据交接工作。