Run agents in production, on infrastructure you control.
Lantern is the self-hosted runtime for AI agents. The agent loop runs on your control plane; untrusted code runs in its own microVM. Durable runs, hard budgets, capability-routed models and signed receipts come with it.
The shape of the system
The control plane owns the agent: workflow interpreter, journal, model router and budgets. When a durable tool_call step runs code, the workflow engine calls ExecTool on the runtime-manager on a data-plane host, which runs the code inside a microVM whose PID 1 is the Lantern harness. In broker mode (LANTERN_EGRESS_MODE=broker, opt-in, Firecracker only) the VM has no network device; its requests leave over vsock through a host broker that checks the allowlist and adds the credential.
What the runtime gives you
New since 0.2.0
Control plane orchestrates. Your cloud executes.
The data-plane agent dials out to the control plane, so your VPC opens no inbound ports. Untrusted code and its data run in your cluster; self-host the control plane too and prompts, keys and run data never leave your infrastructure.
Swipe sideways to pan the diagram. Tap a component for details.
Click a component for what it does, its port, the trust boundary it enforces, and the code. Runtime manager and harness open into component views.
- Trusted host code
- Untrusted guest code
- The microVM wall
- A gate: what a caller must present
Open it full width, with every sequence diagram, in the architecture explorer.