Skip to content

Agent Platform

Lattice provides two ways for AI agents to join the WireGuard mesh:

MethodCommandIsolationPrivilege
Regular nodelattice upNone (host process)root / CAP_NET_ADMIN
Sandboxlattice sandbox startgVisor user-space netstackZero-privilege

The Sandbox is the recommended approach for AI agent workloads — it runs entirely in user space, requires no kernel capabilities, and integrates with the same NATS signaling, ICE, and LRP infrastructure as regular nodes.

Community vs Pro

CapabilityCommunityPro
gVisor user-space network stack
NATS registration + ICE/LRP tunneling
Credential persistence (restart-safe)
Local file audit (/tmp/lattice-audit-<name>.jsonl)
Egress policy filtering (EgressFilter, --egress-allow)
Inbound port forwarding (--forward)
SOCKS5 proxy (--proxy-addr)
NATS flow audit (server-side la_flow_events)

Sub-agent Architecture

Agents can delegate identity to child agents via the Delegate API — a parent agent issues a short-TTL token that a sub-agent uses to self-register with a constrained identity (AgentIdentity.spec.parentRef).

Quick Navigation

Built with Lattice · Console