Lucid Agent Runtime
The Lucid Agent Runtime is a pre-built Docker image designed for deploying AI agents without writing any code. It supports any OpenAI-compatible provider and automatically generates receipts when connected to the Lucid API.Quick Start
To quickly deploy an AI agent using the Lucid Agent Runtime, you can use the following command:Two Independent Concerns
The Lucid Agent Runtime separates concerns into two main areas: Inference (PROVIDER_URL): This is where the LLM (Large Language Model) calls are directed. You can use any OpenAI-compatible endpoint.
Verification (LUCID_API_URL): This handles receipts, identity, and reputation through the Lucid API.
These two concerns operate independently, allowing you to use any provider while still participating in the verified network.
Inference Providers
You can use any OpenAI-compatible endpoint as your inference provider. Here are some examples:Verification (Receipts + Reputation)
To connect to Lucid for verification, use the following setup:Endpoints
The Lucid Agent Runtime provides several endpoints:Environment Variables
Configure your deployment using the following environment variables:What’s Automatic
WhenLUCID_API_URL is set:
- A cryptographic receipt is generated for every inference call.
- Receipts contribute to the reputation oracle.
- Identity is attached to every receipt.
- The
X-Lucid-Passport-Idheader is included in every response. - A health check is available at
/health(indicatingreceipts: true/false). - An OpenAI-compatible API is available at
/v1/chat/completions. - Structured error responses are provided.
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=8b4c7e6431e9a6af1ef23b77bb4ff5fd)
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=d5651a45e4bfbabc33f74e146af3f94a)