Per-citation micropayment toll layer for independent publishers — AI agents pay in USDC on Arc every time they cite your work.
Keryx is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on Agent, Blockchain, Payment. It currently has 5 GitHub stars and 0 forks, and sits alongside related tools like x402-payments-mcp, ProwlFi, AgenticDeFi-Trainer, AgenticDeFi-Trainer, chaoschain-genesis-studio, AgenticDeFi-Trainer.
Lepton Agents Hackathon submission (Canteen × Circle) — Live Demo
Keryx is the first AI agent that pays publishers every time it cites their work, using Circle's x402 micropayment protocol on the Arc Testnet. It is a full toll layer for the agent-first internet.
AI agents consume publisher content at scale to answer user questions — often without compensating the original creators. Keryx solves this with a machine-to-machine payment rail: every citation costs the agent a small USDC fee, which flows instantly to the publisher's wallet.
User asks a question
↓
Agent identifies knowledge gaps (Groq / Llama 3.3)
↓
Agent fetches free previews of candidate articles
↓
Agent decides: PAY or SKIP based on relevance
↓
Circle Gateway pays the cite endpoint via x402 (Arc Testnet)
↓
Publisher receives USDC; citation receipt stored on-chain
↓
Agent integrates paid content into final answer
| Feature | Details |
|---|---|
| x402 Paywall | 402 Payment Required toll layer on every citation endpoint |
| AI Agent | 5-step ReAct loop: Plan → Draft → Evaluate → Pay → Reflect |
| RSS Ingestion | Publishers register via RSS; articles SHA-256 fingerprinted |
| Sybil Prevention | Domain ownership verified via DNS TXT records |
| Data Freshness | Vercel Cron job re-ingests all RSS feeds every hour |
| Publisher Dashboard | Live USDC earnings, citations, Arc Explorer links |
| Transaction Explorer | Live on-chain tx table with Arc Testnet links |
| Mobile Responsive | Sliding drawer sidebar, responsive header |
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router, nodejs runtime) |
| Payments | @circle-fin/x402-batching, Circle Gateway, Viem |
| Network | Arc Testnet (Chain ID: 5042002) |
| LLM | Groq llama-3.3-70b-versatile |
| Database | Supabase (PostgreSQL + Realtime) |
| Deployment | Vercel (with Cron) |
Create a .env.local file:
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=
SUPABASE_SERVICE_ROLE_KEY=
ARC_TESTNET_RPC=
SELLER_ADDRESS=
SELLER_PRIVATE_KEY=
BUYER_ADDRESS=
BUYER_PRIVATE_KEY=
GROQ_API_KEY=
NEXT_PUBLIC_BASE_URL=
CRON_SECRET= # Optional: secures /api/cron endpoint
npm install
npm run dev
# Navigate to http://localhost:3000
Configured for Vercel. All env vars must be set in the Vercel dashboard. The vercel.json configures a cron job to refresh RSS feeds every hour automatically.
[!WARNING] Security Disclaimer — This is a hackathon prototype for the Arc Testnet only.
- Private Keys: The buyer agent's private key is read from environment variables in the serverless function. This is not safe for production. A real system must use a KMS or MPC wallet..
- Domain Verification: DNS TXT verification is implemented but can be bypassed via
DEMO_MODE=true. Disable this for production.- Do not use with real funds.
Hackathon Submission — This project incorporates components from the arc-nanopayments sample to demonstrate x402 Gateway capabilities natively in a Next.js App Router environment.
Give AI agents a wallet — x402 payment tools over Model Context Protocol.
The world's first privacy layer for AI agents on Solana — stealth addresses + x402 payments. Every payment lands at a fresh, unlinkable address.
Autonomous AI Agent Swarm framework with x402 self-executing wallets. Empowers LLM-driven agents to trade, bridge, and manage crypto treasuries without human intervention. The ultimate Agentic DeFi toolkit for 2026.
Autonomous AI Agent Swarm framework with x402 self-executing wallets. Empowers LLM-driven agents to trade, bridge, and manage crypto treasuries without human intervention. The ultimate Agentic DeFi toolkit for 2026.
ChaosChain Genesis Studio: The first end-to-end commercial prototype for ERC-8004. Demonstrating on-chain agent identity, verifiable work, direct USDC payments, and the foundation for IP monetization.
Autonomous AI Agent Swarm framework with x402 self-executing wallets. Empowers LLM-driven agents to trade, bridge, and manage crypto treasuries without human intervention. The ultimate Agentic DeFi toolkit for 2026.
Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
A local-first AI agent with persistent memory, emotional intelligence, and a peer-to-peer skills economy.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.