Reference implementations

These implementations are maintained by FΔFΌ★LΔB alongside the spec. They track the latest draft and serve as the canonical test of spec correctness.

Python v0.1.0 — Reference
PyHall

Full Python implementation. Registry, router, policy gate, Hall API server, 133 tests passing. The reference for spec correctness. Implements WCP-Full compliance.

pip install pyhall
TypeScript v0.1.0
@pyhall/core

TypeScript SDK for WCP routing decisions. Runs in Node.js and browser (Web Crypto API for attestation). 83 tests passing.

npm install @pyhall/core
Go v0.1 scaffold
pyhall-go

Go scaffold with types, router stub, and CLI. For production routing use the Python reference implementation. Go implementation is in active development.

go get github.com/fafolab/pyhall/sdk/go

Compliance levels

WCP defines three compliance tiers. All reference implementations target WCP-Full.

Level Requirements
WCP-Basic Capability routing, fail-closed, deterministic decisions
WCP-Standard + Controls enforcement, mandatory telemetry (3 events), dry-run mode
WCP-Full + Blast radius scoring, privilege envelopes, policy gate, evidence receipts, discovery API, signatory tenant validation, worker code attestation

Add your implementation

Built a WCP implementation? Open a pull request to add it here.

Requirements for listing:

Open a GitHub Issue →