lucidAGENTS
Start

Choose your path

Start with the machine-commerce outcome you need to deliver.

Lucid turns typed TypeScript capabilities into paid services. Start with the economic role your application plays; you can add the other side later.

The commercial loop

  1. A seller defines a typed capability. In the SDK, its definition is an entrypoint.
  2. Lucid publishes HTTP and Agent Card discovery metadata from that definition.
  3. An unpaid request receives an x402 402 Payment Required challenge.
  4. A buyer checks its policy, signs the accepted payment, and retries.
  5. Lucid verifies the payment, runs fulfillment, settles, and records the result.

Lucid owns the application transaction around the payment rail. It does not replace wallets, facilitators, networks, or the x402 protocol.

If you only need a route-level paywall, the official x402 middleware may be the smaller choice. Read When to use Lucid for the decision boundary.

Stable and Next

Stable examples install public npm releases. Next pages document the newer workspace surface in this repository and say so visibly. Read release channels before mixing examples from the two channels.

On this page