Docs & Technical Reference
Plain-English setup guides at the top; full HTTP API, CLI, libp2p protocol, LUMEN, and PLASM specifications underneath. Press ⌘K or / to search every section, or fetch raw Markdown via llms.txt and llms-full.txt.
Getting Started
Install LUCID
Download, verify, and auto-update LUCID v0.2.0-rc42 on macOS Apple Silicon (.dmg or CLI), Windows x86_64 (per-user signed CUDA/Vulkan Desktop setup + managed portable Node.js LTS, or PowerShell CLI), Linux x86_64 & aarch64 (.deb or baseline tarball), or build from source.
Your first chat and joining a circle
Use the Chat-first Consumer UI with Multimodal Vision, offline Markdown/KaTeX/Mermaid/HTML rendering, opt-in local chat history (RAM-only in Tor/TailsOS), Tools & Skills Hub (MCP 2026-07-28, Web Browser auto-launcher, managed portable Node.js v24.23.0 LTS, Tor .onion search), compact resizable Activity Monitor with Pin toggle, Prompt Queue, and Context Window (8K–256K + q8_0).
Connect Open WebUI, Pi, OpenCode, Hermes & MCP
Ready-to-paste setup for Open WebUI (native tool calling + Docker), Pi 1.6.1, OpenCode 2.4.2, Hermes Agent, and LUCID Desktop's MCP 2026-07-28 dual-era engine (persistent stdio + Streamable HTTP) and Web Browser MCP (Slim/Basic/All/Custom levels, Visible/Persistent/Attach/Headless modes).
Models, Ollama import and sharing your GPU
Read-only local GGUF discovery from Ollama and LM Studio, fast restarts with signed hash caching, permission-gated GPU sharing, verified P2P pulls with exact-offset resume, and pinning llama.cpp b12977.
LUMEN & PLASM
LUMEN: decentralized image generation and editing
Active qualification preview of decentralized image generation and PNG reference-image editing on Phase (JobSpec::ImageGen, stable-diffusion.cpp sd-cli, SD 1.5 / FLUX.3 Klein / Qwen-Image 2.1 Turbo, SlotQueue exclusive GPU arbitration, and /phase/shard-rpc/leased/1.0.0).
PLASM: globally distributed verifiable WebAssembly compute
Apache-2.0 cross-platform WebAssembly compute daemon (plasmd, WasmtimeWorker on Wasmtime 36 LTS) enabling deterministic, sandboxed JobSpec::Wasm workloads with Ed25519 SignedManifests and SignedReceipts on consumer hardware.
Operating & Pooling
Operator policy and safety controls
Complete reference for policy.toml and node.toml: hot-reload, SIGHUP, battery and thermal auto-pause, fair Prompt Queue concurrency caps, Slice Quorum and helper budget settings, and default-deny allowlists.
Workers and GPU backends
How llama.cpp b12977 (Metal, CUDA, ROCm, Vulkan, CPU), Apple Silicon MLX, and the echo dev worker isolate keys, strip co-tenant KV caches, run 180s prefill / 30s idle watchdogs, and report /api/ps residency.
Pool GPUs across machines (Tier-1 Trusted-Circle)
Split large GGUF models automatically via Discrete Slice Quorum (~3 GiB uniform slices, quorum-gated availability, Auto/explicit helper budgets, idle repacking & Rebalance, Q8_0 KV cache) with trusted-source slice hydration and wire-dedup /phase/shard-rpc/2.0.0 over Noise.
Run a Cloud Relay and Tor/Tails guidance
Deploy an unprivileged Linux Circuit Relay v2 node on port 443 or 4001, see how roaming self-heals across QUIC, TCP, and relays, configure DNS TXT bootstrap, and run native fail-closed --tor-socks5 with v3 .onion relays and Tor DuckDuckGo .onion search.
APIs & CLI
HTTP API reference
Every Ollama /api/* and OpenAI /v1/* endpoint (including native tool calling, quorum 503 + Retry-After, and queue heartbeats), Bearer-authenticated /api/lucid/* control, cluster rebalance & telemetry endpoints, caps, and all five X-Lucid-Trust-Label values.
CLI, subcommands and environment variables
Every lucidd subcommand (probe, models, peers, invite, join, update, bench, cluster), all daemon flags including --llama-kv-cache-q8, node.toml Slice Quorum keys, and runtime/desktop/signing environment variables.
Protocols & Architecture
Phase network protocols and wire formats
Wire specifications for all /phase/* libp2p protocols (including /phase/capacity-offer/1.0.0, slice hydration, and wire-dedup /phase/shard-rpc/2.0.0), fair FIFO SlotQueue heartbeats, self-healing roaming, Kademlia/Relay v2/DCUtR/Ping/AutoNAT behaviours, and all ten DHT key namespaces.
Cryptography, receipts and verification
Ed25519 NodeIdentity and PeerId binding, SignedManifest, SignedReceipt, streaming CommitmentAccumulator replay, composite shard chains, DHT rollback and equivocation protection, and verification limits.
Workspace architecture, crates and Plasm
The Apache-2.0 Phase substrate powering three flagships (LUCID AGPL-3.0-or-later, LUMEN merged on main in active qualification, PLASM Apache-2.0) and Phase Boot renewal, all nine Rust crates (including lumend), #![deny(unsafe_code)], Wasmtime 36 LTS, Desktop security boundaries, and release signing.