Work · Open-source TypeScript runtime
Lucid Agents
Lucid Agents is Daydreams' open-source TypeScript runtime for machine commerce: define a typed capability, set a price, and let agents discover, pay for, and call it.
Read the Lucid Agents docsIn short
Lucid Agents is Daydreams’ open-source TypeScript runtime for machine commerce. You define one typed capability, advertise one clear price, and other agents can discover it, pay for it over x402, and call it from the framework they already use. It also covers the other side: a budgeted buyer that calls paid services from a server-side wallet under a spending policy.
Who it is for
TypeScript developers who want to sell an API or agent capability to other software, and teams building agents that must buy paid services within a budget.
How it works
- 01
Define a typed capability
Wrap a TypeScript function as one capability with typed input and output, so another agent can call it predictably and know what it gets back.
- 02
Advertise one clear price
Attach a price and receive x402 payments for each call. The buyer sees the price before it pays, and you keep the framework you already use.
- 03
Or buy under a budget
The buyer path calls paid services from a server-side wallet with a recipient and spending policy, so an agent cannot spend past what you allowed.
Published evidence
- The runtime and its examples are open source on GitHub.
- The Taskmarket CLI ships under the @lucid-agents package scope.
- The documentation publishes an installable skill so coding agents can work with the framework directly.
Limitations
- Open-source software still needs secure deployment, monitoring, and key management.
- Being paid does not validate the quality of a capability's output.
- Interfaces change between releases; pin versions and check the docs before you ship.