← all projects

Keryx

@tang-vu·Tang Vu·24 followers·added 2026-07-19
1
stars
19k
lines
208
files
0
forks
24
followers
languages
TypeScript 95%JavaScript 2%Shell 2%Solidity 1%

Keryx makes citation itself the payment event. An autonomous reading agent (lib/agent/run-agent.ts) decomposes a question, discovers candidate sources, and decides buy/skip/cache per source with a plain-language rationale, paying an x402 toll for each source it reads. After synthesizing a cited answer, it weighs each source's real contribution and settles weighted USDC nanopayments to creator wallets, with multi-author splits computed in lib/payments/split-allocation.ts. The LLM proposes value while the orchestrator enforces a hard budget cap in code, backed by an economic-invariant test suite. Creators register sources on-chain through the SourceRegistry contract in contracts/source-registry.sol, and the keryx-mcp package under mcp/ plugs the whole loop into any MCP-capable agent.

events
tags
circle components
builder bio

Death is like a wind always by my side

team · solo

1 (Solo) — Tang Vu - Solo builder

on xx/tangvu_dev
repo description

Fork-and-run citation-toll reading agent on Arc — pays creators in USDC every time their work is cited. Autonomously buys paid sources over x402, settles weighted nanopayments to each cited creator. Reusable Arc primitives (two-toll x402, on-chain attribution registry, non-custodial spend cap) + a one-command ~90s demo.

last pushed 2026-07-24