Back to directory

Lucid

A protocol-agnostic TypeScript runtime that turns typed functions into services AI agents can discover, call, pay for, stream or run as tasks, supporting crypto and fiat payment rails such as AP2, A2A, x402 and ERC-8004.

Lucid

Lucid provides one runtime for schemas, payment admission, policy, idempotency, fulfillment, discovery and accounting for services meant to be consumed by AI agents, while wallets, payment protocols, networks and facilitators stay external and pluggable. It ships CLI-generated templates and drop-in adapters for Hono, Express, Next.js and TanStack.

A generated service exposes health and discovery endpoints and a typed entrypoint that agents can invoke over HTTP, with the entrypoint definition acting as the single source for validation, invocation, streaming, tasks, discovery and every framework adapter. Public npm packages form the Stable release channel; the GitHub repository is the Next channel and may be ahead of npm. Requires Bun 1.3+ or Node.js 20.9+.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.