Skip to content
Lovelace

Lattice Runtime

Lattice runs models on your own devices and ties them to your Lovelace account. Each device runs a background daemon (lattice-daemon) with a control CLI (lattice-ctl). The daemon serves model inference locally through providers you already run — Ollama and LM Studio — and manages agents and sessions on that device.

Pair more than one device with the same account and they work as one network: a request can run on any of your paired devices that is online. Behind the hosted Lattice gateway (Lattice Cloud), Lovelace-hosted capacity takes requests that no paired device can serve, when fallback is on.

Building a third-party app or an assistant backend? Start with Lattice Cloud, the gateway your app calls. A paired device becomes a personal runtime, so a user's requests run on their own compute.

Install and start#

bash
# macOS and Linux
curl -fsSL https://d.uselovelace.com/lattice | sh

# Start the daemon and confirm it's running
lattice-ctl daemon start
lattice-ctl ping

The quickstart takes you from here to a first model response; the installation guides cover per-platform detail and the signed package installers.

Two CLIs#

  • lattice-ctl — controls this daemon (start/stop, status, providers, pairing). It comes with the install above.
  • ada (aka lovelace) — the higher-level Lovelace product CLI (chat, agents, workspaces), installed separately (curl -fsSL https://d.uselovelace.com/install | sh). See the CLI docs.

Find what you need#

You want to…Go to
Understand what the runtime is and how it's builtUnderstanding Lattice
Run a local model (Ollama, LM Studio)Local models
Configure providers, models, and env varsConfiguration · Environment variables
Learn the CLI commandsCLI reference
Create and run agents locallyManage agents · First agent
Drive the runtime from codeProgrammatic usage
Pair this machine with Lattice CloudPersonal runtimes
Fix a problemTroubleshooting

What it's for#

  • Local, private inference — models run on your hardware; data stays on the machine unless you route it out.
  • Serving your own compute — pair the daemon with your account so an app you authorize can run on your device instead of hosted capacity.
  • One network of your devices — pair up to 5 devices with one account and list or remove them with ada devices list and ada devices remove.
  • Local agent and session workflows — start agents and manage sessions against your local models with lattice-ctl.