Weft Coordination Protocol (WCP): live coordination for parallel coding agents across harnesses, built on Cloudflare. An Atelier (elier.ai) open-source project.
See the codeWeft coordinates coding agents while they edit—not only when they open a pull request. Agents submit tool-call edits to a per-repository sequencer. The sequencer validates each edit against accepted changes since the agent's base and returns actionable diagnostics to the agent through its native hooks. Humans see the same event stream and can approve, pause, message, undo, or inspect evidence.
The goal is to make concurrent agent work safer without file locks or requiring agents to stop and wait for a human merge. WCP is the harness-neutral wire protocol; Weft is its Cloudflare-backed implementation and set of adapters.
Live demo: weft.elier.ai — the web UI over the real event logs of the dogfood repo and the demo runs, public and read-only (no login).
Status: research/demo implementation; WCP v0.1 is a draft, not a published standard. See the design, protocol specification, and try it yourself.
flowchart LR
subgraph agents[Agent workspaces]
H[Claude Code / Codex / OpenCode / Hermes] --> A[Harness adapter + analyzer]
end
A -->|check / edit / events| G[Gateway]
G --> C[Repo coordinator\nDurable Object + SQLite\nordered WCP log]
C -->|verdicts / diagnostics / inbox| A
C --> Q[Queues]
Q --> W[Workflows\nprocess / select / land / revert]
W --> S[Sandbox containers\nmerge / tests / agent]
W --> R[Artifacts + evidence]
G --> D[D1 index]
HN[Human web / iOS clients] <-->|observe / human actions| G
Adapters translate harness hooks into WCP requests; the protocol and coordinator do not depend on any one coding agent. Artifacts hosts repos and candidate forks. A single Durable Object per repo assigns event order and validates edits. Workflows orchestrate revision processing, candidate selection, landing, and revert. Sandboxes perform git and test operations without exposing credentials to the agent container. D1 indexes tasks, changes, revisions, and evidence; R2 stores run artifacts. The live demo and preview environment are described in the runbook.
The implementation is evolving; the design distinguishes core, strong, and optional product integrations. No production deployment is implied by this repository.
Follow docs/try-it.md to install the toolchain, run the protocol conformance suite locally, and optionally deploy a preview using your own Cloudflare account. The local path needs no Cloudflare account, API token, or provider credential.
packages/protocol — WCP types, schema, validator, reference coordinator, and conformance fixtures.packages/analyzer — TypeScript diff-to-symbol read/write analysis.packages/adapters — harness-specific hook translators.apps/gateway, apps/workflows, apps/sandbox, apps/web — coordination API, durable jobs, isolated execution, and human UI.demo/ — scenarios, drivers, and recorded evidence.docs/ — design, protocol, runbooks, and AAIF proposal.MIT; see LICENSE.
Weft Coordination Protocol (WCP): live coordination for parallel coding agents across harnesses, built on Cloudflare. An Atelier (elier.ai) open-source project.
See the codeWeft coordinates coding agents while they edit—not only when they open a pull request. Agents submit tool-call edits to a per-repository sequencer. The sequencer validates each edit against accepted changes since the agent's base and returns actionable diagnostics to the agent through its native hooks. Humans see the same event stream and can approve, pause, message, undo, or inspect evidence.
The goal is to make concurrent agent work safer without file locks or requiring agents to stop and wait for a human merge. WCP is the harness-neutral wire protocol; Weft is its Cloudflare-backed implementation and set of adapters.
Live demo: weft.elier.ai — the web UI over the real event logs of the dogfood repo and the demo runs, public and read-only (no login).
Status: research/demo implementation; WCP v0.1 is a draft, not a published standard. See the design, protocol specification, and try it yourself.
flowchart LR
subgraph agents[Agent workspaces]
H[Claude Code / Codex / OpenCode / Hermes] --> A[Harness adapter + analyzer]
end
A -->|check / edit / events| G[Gateway]
G --> C[Repo coordinator\nDurable Object + SQLite\nordered WCP log]
C -->|verdicts / diagnostics / inbox| A
C --> Q[Queues]
Q --> W[Workflows\nprocess / select / land / revert]
W --> S[Sandbox containers\nmerge / tests / agent]
W --> R[Artifacts + evidence]
G --> D[D1 index]
HN[Human web / iOS clients] <-->|observe / human actions| G
Adapters translate harness hooks into WCP requests; the protocol and coordinator do not depend on any one coding agent. Artifacts hosts repos and candidate forks. A single Durable Object per repo assigns event order and validates edits. Workflows orchestrate revision processing, candidate selection, landing, and revert. Sandboxes perform git and test operations without exposing credentials to the agent container. D1 indexes tasks, changes, revisions, and evidence; R2 stores run artifacts. The live demo and preview environment are described in the runbook.
The implementation is evolving; the design distinguishes core, strong, and optional product integrations. No production deployment is implied by this repository.
Follow docs/try-it.md to install the toolchain, run the protocol conformance suite locally, and optionally deploy a preview using your own Cloudflare account. The local path needs no Cloudflare account, API token, or provider credential.
packages/protocol — WCP types, schema, validator, reference coordinator, and conformance fixtures.packages/analyzer — TypeScript diff-to-symbol read/write analysis.packages/adapters — harness-specific hook translators.apps/gateway, apps/workflows, apps/sandbox, apps/web — coordination API, durable jobs, isolated execution, and human UI.demo/ — scenarios, drivers, and recorded evidence.docs/ — design, protocol, runbooks, and AAIF proposal.MIT; see LICENSE.