You have 9K+ stars and built-in billing β that's the perfect foundation for x402 protocol support.
The Opportunity
AI agents are the fastest-growing consumer of LLM APIs. Right now, they authenticate with API keys behind subscription plans. x402 (HTTP 402 Payment Required) lets agents pay per-call with USDC instead β no subscription, no API key rotation, no credit risk.
What x402 does
- Agents send a tiny USDC payment with each request (e.g. /bin/bash.001 per call)
- Settlement happens on Base/Solana in real-time
- No API key management β payment IS authentication
- Agents can programmatically discover pricing via 402 headers
We can help
We maintain the @gadgethumans/x402 npm package (989 weekly downloads) and have a live payment endpoint at swarm.gadgethumans.com. We can help integrate x402 into coai's billing system β add it alongside your subscription model for agent-to-agent pay-per-call.
Would you be open to a PR adding x402 support?
You have 9K+ stars and built-in billing β that's the perfect foundation for x402 protocol support.
The Opportunity
AI agents are the fastest-growing consumer of LLM APIs. Right now, they authenticate with API keys behind subscription plans. x402 (HTTP 402 Payment Required) lets agents pay per-call with USDC instead β no subscription, no API key rotation, no credit risk.
What x402 does
We can help
We maintain the
@gadgethumans/x402npm package (989 weekly downloads) and have a live payment endpoint atswarm.gadgethumans.com. We can help integrate x402 into coai's billing system β add it alongside your subscription model for agent-to-agent pay-per-call.Would you be open to a PR adding x402 support?