PayLabs is a Next.js 15 AI-search and RSSHub discovery platform (lib/paylabs/rsshub) where every query is gated by an x402 entry payment and priced by a deterministic quote engine (lib/paylabs/delegated-runtime/quote-engine.ts). A LangGraph brain planner and three macro-node graphs orchestrate 12 registered agent services (lib/paylabs/langgraph, lib/paylabs/agent-services/registry.ts) that pay each other over Circle Gateway x402 edges. The payment_decider service is hard-locked to deterministic execution (lib/paylabs/agent-services/execution-mode.ts). Reusable x402 primitives ship in-repo: Arc submitBatch calldata decoding for on-chain payment proof, seller HTTP 402 PAYMENT-REQUIRED challenges via Circle's BatchFacilitatorClient, buyer transport, and Circle DCW/UCW wallet signing (lib/paylabs/x402/). Creator payouts settle automatically in USDC on Arc testnet through a deterministic claim resolver, an atomic 85/10/5 split policy, and an idempotent claim-before-transfer payout ledger (lib/paylabs/creator-distribution/). Supabase migrations and jose-JWT/WebAuthn auth back the stack.
Agentic economy
1 (Solo) — Riyan
AI search/Rsshub discovery + creator monetization platform. Every search is budgeted, every verfied source is paid, every verified creator gets their share.