Payment Router

Wrap outbound fetch with a transparent HTTP 402 detect-classify-pay-retry loop so a skill or adapter can call cost-gated external resources without inline payment logic. Use when a request may return 402 Payment Required, when calling metered/paid APIs advertising an x402, l402, or agentbox-ledger challenge, or when you need operator-capped, fail-closed spend on the agentbox Lightning ledger rail.

dreamlab-ai Updated 23 repo stars
Conceptual modular agent workshop with connected workspaces

File contents

dreamlab-ai/agentbox commit f7f83ceece

Frequently asked questions

npx get-skill add dreamlab-ai/payment-router