← all projects

Keryx

🥇 Lepton Awards · 1st place✨ standalone
@tang-vu·Tang Vu·28 followers·added 2026-07-19
1
stars
27k
lines
275
files
0
forks
28
followers
languages
TypeScript 93%JavaScript 5%Shell 1%Solidity 1%HTML 0%

Keryx makes citation itself the payment event. An autonomous reading agent in 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 micropayments to creator wallets, with multi-author splits computed in lib/payments/split-allocation.ts. Browsers co-sign payments under a funded, non-custodial spending cap through lib/payments/browser-cosign-gateway.ts and lib/payments/session-grants.ts, while lib/payments/client-payto-allowlist.ts verifies every payee against on-chain registry authority. The LLM proposes value and 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.

✨ Standalone repo — reusable primitives extracted into a dedicated, forkable repository.
events
tags
circle components
builder bio

Solo engineer · agents, x402, infra · ContribAI author · available for contract work

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-09-08