logicsrc/packages/agentswarm/src
Anthony Ettinger 0e5a13f5fb feat(agentswarm): M5 — x402 billing wrapper for the swarm route
withX402() wraps the Web handler so unpaid calls get a standard HTTP 402
challenge (x402Version + accepts[]) and paid calls fall through to the agent.
Payment verification is injectable (host wires CoinPay/x402); CORS preflight
passes through untouched; custom challenge responses supported. README documents
the optional c0mpute.com GPU backend.

4 new tests; 38/38 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 17:48:12 +00:00
..
budget.test.ts feat(agentswarm): M4 — per-agent budget ledger + withBudget guard 2026-06-25 17:45:19 +00:00
budget.ts feat(agentswarm): M4 — per-agent budget ledger + withBudget guard 2026-06-25 17:45:19 +00:00
compute.test.ts feat(agentswarm): optional c0mpute.com inference backend 2026-06-25 17:47:00 +00:00
compute.ts feat(agentswarm): optional c0mpute.com inference backend 2026-06-25 17:47:00 +00:00
handler.ts feat(agentswarm): M1+M3 — embeddable swarm runtime wrapping deepagents 2026-06-25 17:41:49 +00:00
index.test.ts feat(agentswarm): M1+M3 — embeddable swarm runtime wrapping deepagents 2026-06-25 17:41:49 +00:00
index.ts feat(agentswarm): M5 — x402 billing wrapper for the swarm route 2026-06-25 17:48:12 +00:00
rubric.test.ts feat(agentswarm): M1+M3 — embeddable swarm runtime wrapping deepagents 2026-06-25 17:41:49 +00:00
rubric.ts feat(agentswarm): M1+M3 — embeddable swarm runtime wrapping deepagents 2026-06-25 17:41:49 +00:00
runner.ts feat(agentswarm): optional c0mpute.com inference backend 2026-06-25 17:47:00 +00:00
swarm.test.ts feat(agentswarm): M2 — peer-coordination swarm (router + handoffs) 2026-06-25 17:44:12 +00:00
swarm.ts feat(agentswarm): M2 — peer-coordination swarm (router + handoffs) 2026-06-25 17:44:12 +00:00
types.ts feat(agentswarm): M1+M3 — embeddable swarm runtime wrapping deepagents 2026-06-25 17:41:49 +00:00
x402.test.ts feat(agentswarm): M5 — x402 billing wrapper for the swarm route 2026-06-25 17:48:12 +00:00
x402.ts feat(agentswarm): M5 — x402 billing wrapper for the swarm route 2026-06-25 17:48:12 +00:00