cron402
Cron-as-a-service for AI agents, billed per run in USDC over the x402 protocol — no accounts, no API keys.
- Year
- 2026
- Role
- Solo build — protocol integration, Workers backend, site
- Discipline
- AI Tooling
The problem
An autonomous agent that needs to run something on a schedule has no good options. Every cron service assumes a human signs up, verifies an email, holds a credit card, and manages an API key — none of which an agent has. The credential model itself is the blocker, not the scheduling.
The approach
cron402 makes the wallet the credential. It implements the x402 payment protocol so an agent pays per scheduled run in USDC on Base and receives service immediately, with no account and no key exchange. The API is a Cloudflare Worker on Hono behind an x402 paywall; each scheduled job becomes its own Durable Object whose alarm() fires the webhook, which keeps per-job state isolated and makes scheduling reliable at the edge. Jobs, executions, and payments are recorded in D1. Destructive operations are authorised with an EIP-712 signature rather than a bearer token, so ownership is proved cryptographically by the same wallet that paid.
Outcome
Live at a flat $0.008 per run on Base mainnet, validated end-to-end on Sepolia before mainnet cutover. Built for Coinbase Agentic Wallets and any x402-compatible client.
Details
- x402-native — the agent's wallet is the only credential required
- Flat $0.008 per run, settled in USDC on Base mainnet (eip155:8453)
- One Durable Object per job; alarm() dispatch keeps scheduling isolated and reliable
- D1 for jobs, executions, and payment history
- EIP-712 signature auth for deletes — cryptographic ownership, not bearer tokens
- Turborepo monorepo: Cloudflare Worker API + SvelteKit site
Built with
- TypeScript
- Cloudflare
- Durable Objects
- Hono
- SvelteKit
- x402
- Base
- Web3
Links
Need something like this? AI Tooling & Developer Infrastructure is what I do.
Related work
abracadabra
2026Biometric-gated secrets vault that lets AI agents fetch credentials without a human in the loop.
AI ToolingGotchi Trader
2026Numer.ai-style research platform for multi-chain DEX trading, with honest paper-trading accounting.
AI Tooling
Last updated .