{"slug": "an-ai-agent-just-paid-a-lightning-invoice-the-agent-only-holds-usdc", "title": "An AI agent just paid a Lightning invoice. The agent only holds USDC.", "summary": "Cinderwright has built a payment bridge that allows an AI agent holding only USDC on Base to pay a Lightning Network invoice for the first time. The agent requested a joke from an L402 service and was charged $0.066 USDC from its proxy balance, completing the entire cycle in under three seconds without ever sending a Lightning payment or decoding an invoice. The bridge now connects agents to 2,811 services across previously incompatible payment ecosystems, unifying x402 and Lightning protocols into a single interoperable layer.", "body_md": "Today something happened that hasn't happened before.\n\nAn AI agent sent a task to Cinderwright: *\"tell me a joke.\"*\n\nThe agent's wallet holds USDC on Base. The best joke service runs on Lightning (L402). Those two things have never been able to talk to each other.\n\nUntil today.\n\nHere's what the agent saw:\n\n```\ncurl -X POST https://api.ideafactorylab.org/proxy/do \\\n  -H \"X-CW-Key: sk_cw_your_key\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"task\": \"tell me a joke\"}'\n```\n\nResponse:\n\n```\n{\n  \"joke\": \"Why do programmers prefer dark mode? Because light attracts bugs.\",\n  \"via\": \"Cinderwright proxy/do\",\n  \"protocol\": \"l402\",\n  \"cost_sats\": 100,\n  \"powered_by\": \"x402joker.com via Lightning\"\n}\n```\n\nThe agent was charged $0.066 USDC from its proxy balance. It never sent a Lightning payment. It never decoded an invoice. It never knew Lightning existed.\n\nWe did all of that.\n\nThe entire cycle took under 3 seconds.\n\nThere are currently three separate agent payment ecosystems:\n\nThese ecosystems don't talk to each other. An x402 agent can't reach L402 services. A Lightning agent can't reach x402 services. Each one is a walled garden.\n\nToday Cinderwright became the bridge.\n\nAn agent with USDC can now reach any of 2,811 services regardless of which payment protocol they use. An agent with Lightning can reach x402 services. The walls are gone.\n\nThis is what TCP/IP did to the fragmented networking protocols of the 1980s. It didn't replace any of them. It made them interoperable. One protocol layer that abstracted the differences away.\n\nGet a proxy account:\n\n```\ncurl -X POST https://api.ideafactorylab.org/proxy/setup \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"wallet\": \"0xYourBaseWallet\"}'\n```\n\nDeposit USDC on Base to the returned deposit address. Then:\n\n```\n# Call ANY service - x402 or Lightning - same API\ncurl -X POST https://api.ideafactorylab.org/proxy/do \\\n  -H \"X-CW-Key: sk_cw_your_key\" \\\n  -d '{\"task\": \"describe this image\", \"context\": \"https://...\"}'\n\n# Check Lightning status\ncurl https://api.ideafactorylab.org/lightning-status\n\n# Find L402 services\ncurl \"https://api.ideafactorylab.org/discover?q=weather&protocol=l402\"\n```\n\nWe're 1,185 Lightning services and 1,503 USDC services into the unified agent economy.\n\nDiscovery hub: [api.ideafactorylab.org](https://api.ideafactorylab.org)\n\nLightning status: [api.ideafactorylab.org/lightning-status](https://api.ideafactorylab.org/lightning-status)\n\nGitHub: [github.com/cinderwright-ai/cinderwright-api](https://github.com/cinderwright-ai/cinderwright-api)\n\nMCP for Claude: `npx cinderwright-mcp-server`", "url": "https://wpnews.pro/news/an-ai-agent-just-paid-a-lightning-invoice-the-agent-only-holds-usdc", "canonical_source": "https://dev.to/tufti/an-ai-agent-just-paid-a-lightning-invoice-the-agent-only-holds-usdc-246m", "published_at": "2026-06-06 02:12:04+00:00", "updated_at": "2026-06-06 03:12:26.936446+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "ai-products", "ai-tools"], "entities": ["Cinderwright", "USDC", "Base", "Lightning", "L402", "x402", "x402joker.com"], "alternates": {"html": "https://wpnews.pro/news/an-ai-agent-just-paid-a-lightning-invoice-the-agent-only-holds-usdc", "markdown": "https://wpnews.pro/news/an-ai-agent-just-paid-a-lightning-invoice-the-agent-only-holds-usdc.md", "text": "https://wpnews.pro/news/an-ai-agent-just-paid-a-lightning-invoice-the-agent-only-holds-usdc.txt", "jsonld": "https://wpnews.pro/news/an-ai-agent-just-paid-a-lightning-invoice-the-agent-only-holds-usdc.jsonld"}}