Station Lattice enables multiple Station instances to form a mesh network, allowing agents to discover and invoke each other across stations. This creates a powerful distributed system where specialized agents can collaborate on complex tasks.
Station Lattice is designed for teams that need to distribute agent workloads across multiple machines, environments, or security boundaries.
# Start with embedded NATS serverstn serve --orchestration --workspace ./orchestrator# The orchestrator will:# - Start embedded NATS on port 4222# - Create JetStream KV buckets for registry# - Begin accepting member connections
# On another machine or terminalstn serve --lattice nats://orchestrator-host:4222 --workspace ./member# The member will:# - Connect to orchestrator's NATS# - Register its station and agents# - Begin heartbeat presence
# List all connected stationsstn lattice stations list# List all available agents across the meshstn lattice agents list# Check mesh healthstn lattice status