Lattice Labs
Hands-on tutorials to learn Station Lattice step by step.All lab materials are available in the Station repository under
examples/lattice-lab/.Lab Overview
Lab 1: Local Docker Setup
Start a NATS server with Docker and connect a station.Prerequisites
- Docker installed
- Station CLI (
stn)
Steps
Expected Output
Cleanup
Lab 2: Embedded NATS Orchestrator
Run a station as the orchestrator with embedded NATS.Steps
Connect a Member
In another terminal:Lab 3: Multi-Station Mesh
Create a mesh with multiple specialized stations.Architecture
Steps
Verify Mesh
Lab 4: Authentication
Secure your lattice with token authentication.Option 1: Token in NATS URL
Option 2: Embedded Orchestrator with Auth
CLI Client with Auth
Lab 5: Async Work Queue
Assign long-running tasks with progress tracking.Steps
Real-Time Dashboard
Lab Agents
Theexamples/lattice-lab/agents/ directory contains pre-built agents for testing:
Using Lab Agents
E2E Local Test
Run a complete local test with Docker:Troubleshooting
”No responders available”
This usually means the target station isn’t subscribed. Check:Stale station registrations
If a station was restarted, old entries may remain:Connection refused
Next Steps
Architecture
Deep dive into internals
CLI Reference
Complete command reference

