Built for YC founders
Openkrill is an agent skill for micropayments.
Prefill a wallet for your coding agent
to pay for its own tools on demand.
Works with your favorite code editor
OpenClaw
Cursor
ClaudeAdd skill to your agent in seconds
/create-skill Help me create this skill: github.com/emilankerwiik/openkrillIn your code editor you can also open settings, find rules, click new skills, and paste repo.
How it works
From setup to payment in minutes.
Get your AI agents making payments with just a few steps.
01
Configure API key
Get your secret key from thirdweb dashboard and set the THIRDWEB_SECRET_KEY environment variable.
export THIRDWEB_SECRET_KEY='your-key'02
Create wallet
The agent creates a server wallet using a unique identifier. Fund it with USDC and ETH for gas.
npx ts-node scripts/create-wallet.ts03
Discover services
List available services like Browserbase and Firecrawl that accept x402 micropayments.
npx ts-node scripts/list-services.ts04
Make payments
Wrap API calls with fetchWithPayment. The x402 protocol handles payment negotiation automatically.
npx ts-node scripts/fetch-with-payment.ts --url <api>