← all projects

CitationPay

@PhiBao·Kiter·2 followers·added 2026-07-19
0
stars
4.9k
lines
58
files
0
forks
2
followers
languages
TypeScript 99%JavaScript 1%

CitationPay makes citation a payable event for AI agents. The Next.js/Supabase app (src/app, supabase/schema.sql) imports Mastodon instances and RSS feeds as priced sources via src/lib/mastodon.ts and src/lib/rss.ts, so fediverse and newsletter creators earn USDC when an agent cites their work. An agent loop in src/lib/agent.ts searches the source pool, reasons over cost and benefit, selects citations, and settles per-citation x402 nanopayments through Circle's Gateway batching client in src/lib/payment.ts (@circle-fin/x402-batching). An MCP server in src/lib/mcp/server.ts exposes the whole flow to external agent clients, with wallet handling in src/lib/wallets and API routes under src/app/api.

events
tags
circle components
builder bio

dreaming is my dope.

team · solo

1 (Solo) — 1. Kiter

on xx/0xKiter
repo description

Paid citations for AI agents on Arc. Built on Mastodon

last pushed 2026-07-16