Skip to content

Clerkboard/arp-server-cf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARP Server -- Cloudflare Workers

Reference implementation of the Agent Relations Protocol v0.3 running on Cloudflare Workers.

Uses WebCrypto for Ed25519, KV for persistent storage (keys, pins, idempotency).

Run locally

npm install
npm run dev          # Starts on http://localhost:8787

Test

npm run test:jcs     # JCS canonicalisation vectors
npm test             # End-to-end signed message flow (requires dev server running)

Deploy

npx wrangler deploy

Set ARP_DOMAIN to your Workers domain in wrangler.toml before deploying.

Environment Variables

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.

About

ARP reference implementation - Cloudflare Workers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors