Reference implementation of the Agent Relations Protocol v0.3 running on Cloudflare Workers.
Uses WebCrypto for Ed25519, KV for persistent storage (keys, pins, idempotency).
npm install
npm run dev # Starts on http://localhost:8787npm run test:jcs # JCS canonicalisation vectors
npm test # End-to-end signed message flow (requires dev server running)npx wrangler deploySet ARP_DOMAIN to your Workers domain in wrangler.toml before deploying.
| Variable | Default | Description |
|---|---|---|
ARP_AGENT_NAME |
echo |
Agent name |
ARP_DOMAIN |
localhost |
Domain. Set to your Workers domain in production |
KV namespaces (ARP_KEYS, ARP_PINS, ARP_IDEMPOTENCY) are configured in wrangler.toml.