← all projects

CiteFlowAI

@vickman787·Vickman·72 followers·added 2026-07-19·updated 2026-07-23
28
stars
5.0k
lines
76
files
0
forks
72
followers
languages
TypeScript 80%JavaScript 20%

CiteFlowAI is a research terminal where every answer pays its sources. Users authenticate through Circle User-Controlled Wallets bridged into Supabase sessions, lock a micro-budget per query, and get grounded answers back. The orchestration loop in src/lib/ai/research-agent.ts evaluates registered articles with embedding retrieval from src/lib/ai/embeddings.ts and routes USDC nanopayments to cited creators, with src/lib/payments/circle-api.ts wrapping Circle's Programmable Wallets API and src/lib/payments/treasury.ts managing pay-per-prompt escrow and dynamic refunds. Agents get first-class access: an x402-payable research endpoint built on @x402/core and @circle-fin/x402-batching in src/lib/x402/server.ts, plus an MCP server in mcp-server/ that plugs the paid research tool into any MCP client. Creators prove ownership of their sites with a durable citeflow-owner proof token verified live in src/lib/verification/verify.ts. The Next.js app ships dashboard, research, treasury, receipts, and register-article routes under src/app, backed by Supabase for research history and the citation ledger.

events
tags
circle components
builder bio

0x9a30f8579fcFC81bD93b00E40f39e54d55dFcC46

team · solo

1 (Solo) — vickman

on xx/CiteFlowAI
last pushed 2026-07-24