Understanding Lattice
This section explains the concepts, architecture, and philosophy behind Lattice.
Topics#
- What is Lattice? - Mental model and key concepts
- How It Works - Architecture deep dive
- Agents & Tasks - Core primitives explained
- Privacy & Data - Data sovereignty and security
Quick Comparison#
How the daemon and the gateway work together: The Lattice daemon runs models on your own device. You can pair several devices with one Lovelace account, and requests then run on whichever paired device is online. The hosted gateway, Lattice Cloud, is where apps send those requests. It routes a request to the paired device the app targets and, for untargeted requests when fallback is on, to Lovelace-hosted capacity. Requests to the local API at
127.0.0.1stay on the device and never reach the gateway.
| Aspect | Lattice (local runtime) | Lovelace platform services | Hybrid mode |
|---|---|---|---|
| Data Storage | Local only | Cloud + local | Local by default |
| Connectivity | Offline capable | Requires internet | Optional cloud |
| Setup | One installer plus a model download | No installation | Install Lattice |
| Scaling | Your paired devices | Hosted capacity | Your devices, then hosted |
| Team Collaboration | Not available yet | Full featured | With optional sync |
| Cost | Free | Subscription | Free (local) + optional paid |
| Control | Complete | Platform managed | You decide per feature |
When Lattice is Right for You#
Use Lattice for:
-
Building privacy-critical applications
-
Developing offline-first features
-
Testing in air-gapped environments
-
Learning without cloud dependencies
-
Small to medium scale deployments
-
Cost-sensitive development
Don't use lattice for:
-
Large distributed team collaboration
-
Enterprise-scale deployments
-
Applications requiring high availability
-
Real-time team features
-
Managed security requirements