Cinderwright — Roteador de Pagamentos Universal para Agentes IA
cinderwright-ai/cinderwright-api
Descubra e pague qualquer serviço IA sem gerenciar wallets
Ver no GitHubMCP server que funciona como hub de descoberta e roteador de pagamentos interoperável entre protocolos x402 (USDC/Base) e L402 (Lightning Bitcoin). Indexa 2.800+ serviços e abstrai a complexidade de pagamento — agentes IA fazem chamadas simples enquanto o sistema detecta e roteia pagamentos automaticamente.
Instalação
npx convez-ai cinderwright-ai/cinderwright-api1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Agentes IA chamarem APIs pagas sem conhecer o protocolo de pagamento subjacente
- Abstrair complexidade de múltiplos padrões de pagamento (USDC, Lightning) em um endpoint único
- Descobrir e integrar serviços de IA entre 2.800+ endpoints indexados
- Gerenciar orçamentos e limites de custo por chamada em agentes autônomos
Veredito

Solução robusta e bem arquitetada para o problema real de abstração de pagamento em ecosistemas de agentes IA. Mantém foco técnico (x402, L402, Lightning, USDC) sem hype, com ferramentas de debug sólidas e documentação clara. Pronto para produção com suporte MCP nativo.
README
A tradução para o português deste README ainda está na fila.
What shipped this week
June 9, 2026: Both bridge directions confirmed on mainnet.
- Lightning --> USDC proxy: pay a Lightning invoice, get agent credit within 30 seconds
- USDC --> Lightning: agent with USDC pays L402 services automatically
- Free demo: api.ideafactorylab.org -- no account needed
- CLI:
npx cinderwright "Bitcoin price" - 2,835 services indexed. $0.10 free credit on new accounts.
Cinderwright — Universal Payment Router for AI Agents
x402 + L402 (Lightning) interoperable. First confirmed cross-protocol agent payment June 2026.
An AI agent with a USDC balance can now call any Lightning-gated (L402) service. We detect the protocol, route the payment, and return the data. The agent never knows which protocol settled.
# One endpoint. Any protocol. 2,811 services.
curl -X POST https://api.ideafactorylab.org/proxy/do \
-H "X-CW-Key: sk_cw_your_key" \
-d '{"task": "get weather in Tokyo"}'
What's Live
| Protocol | Services | Status |
|---|---|---|
| x402 (USDC on Base) | 1,503 | Live |
| L402 (Bitcoin Lightning) | 1,185 | Live |
| MPP (Stripe/Tempo) | 92 | Coming soon |
Lightning status: https://api.ideafactorylab.org/lightning-status
How It Works
- Agent deposits USDC to their proxy account
- Agent sends a plain-English task to
/proxy/do - Cinderwright searches 2,811 services, finds the best match
- Detects the payment protocol from the 402 response headers
- Routes payment accordingly: USDC for x402, Lightning invoice for L402
- Returns the data, charges USDC equivalent from agent's balance
The agent never manages wallets, signs transactions, or knows which protocol ran.
Quick Start
# Get a proxy account
curl -X POST https://api.ideafactorylab.org/proxy/setup \
-d '{"wallet": "0xYourBaseWallet"}'
# Deposit USDC on Base to the returned address
# Call any service
curl -X POST https://api.ideafactorylab.org/proxy/do \
-H "X-CW-Key: sk_cw_your_key" \
-d '{"task": "Bitcoin price now", "max_cost_usd": 0.10}'
MCP Server for Claude Desktop
npx cinderwright-mcp-server
Add to claude_desktop_config.json:
{
"mcpServers": {
"cinderwright": {
"command": "npx",
"args": ["-y", "cinderwright-mcp-server"],
"env": { "CW_KEY": "sk_cw_your_key_here" }
}
}
}
17 tools including proxy_do, proxy_setup, proxy_balance, and service discovery.
Free Developer Tools
| Tool | What it does |
|---|---|
| /test | Live service tester |
| /debug | 16-check diagnostic engine with host pollution + scheme detection |
| /sandbox | Test EIP-3009 signing without spending USDC |
| /budget | Per-call caps and kill switch |
| /setup | Wallet setup wizard |
| /lightning-status | Lightning node status and outbound capacity |
| /onchain | On-chain settlement data via TomSmart mapper.db |
Discovery
# Free search
curl "https://api.ideafactorylab.org/discover?q=weather"
curl "https://api.ideafactorylab.org/discover?q=bitcoin+price&protocol=l402"
# On-chain settlement data for any service
curl "https://api.ideafactorylab.org/onchain?endpoint=https://your-service.com/api"
# Submit your service
curl -X POST https://api.ideafactorylab.org/submit \
-d '{"url": "https://your-service.com"}'
Architecture
The universal payment router sits between agents and services:
Agent (USDC balance)
|
v
POST /proxy/do {"task": "..."}
|
v
Cinderwright Router
|-- detect protocol from 402 response headers
|-- x402: sign USDC payment via EIP-3009
|-- L402: pay Lightning invoice via LND REST
|-- MPP: (coming soon)
|
v
Service returns data
|
v
Agent receives data + charged USDC equivalent
Links
- Hub: https://api.ideafactorylab.org
- Lightning status: https://api.ideafactorylab.org/lightning-status
- npm:
npx cinderwright-mcp-server - Twitter/X: @Cinderwright