Skip to content

The stack

One layer, one project. Each layer of the stack is filled by one existing open-source project, installed from its official chart or release at a pinned version and joined to its neighbours by standard protocols. The lab writes no adapters. Its only own code is one small demo application.

Where things run: Local, a Mac Mini with llama.cpp and one K3s node in an OrbStack machine; Cloud, two Vultr servers in one VPC

Where each project runs. Left: Local, which runs today. Right: Cloud, which is the design and is not deployed.

Layer by layer

Layer Project What it does here Today
Agent harness DeepSeek Harness The agent loop: it plans with the model and calls tools. It runs inside the demo application's pod, through its SDK Runs
AI and agent gateway Agentgateway The one gateway: model traffic, the agent's tool calls (MCP), the public entry with its rate limit, and the sandboxes' way out Runs
Sandbox management OpenSandbox Creates a sandbox for each job and runs commands in it Runs
Sandbox runtime gVisor by default; Kata Containers as an opt-in Isolates sandbox pods from the node's kernel. gVisor gives each sandbox a user-space kernel, Kata a virtual machine gVisor runs. Kata needs KVM and is not automated in Local
Inference routing llm-d Its endpoint picker chooses the model replica that serves a request Runs against two simulators
Inference engine vLLM in Cloud; llama.cpp in Local Serves the small model, Qwen3-4B llama.cpp runs. vLLM is planned
Image editing FLUX.2 [klein] 4B on vLLM-Omni in Cloud; an external API in Local Edits the photo in the demo The external API runs. The self-hosted model is planned
GPU management HAMi, a CNCF Incubating project Splits the one GPU by quota between two model replicas, the image model and speech to text Planned, Cloud only
Context and database PowerContext with seekdb Memory and session context for the agent Not deployed
Orchestration K3s One Kubernetes cluster: one node in Local, two in Cloud Runs, one node
Metrics Prometheus and Grafana Scrape and show the components' metrics Run. The lab's own dashboards are not written
Tracing Jaeger One pod that receives spans directly and keeps them in memory Runs when switched on (TRACING=on)
Agent control plane kagent, with Agent Substrate Optional, beside the demo path. Nothing else depends on it Not deployed
Machines Vultr in Cloud; a Mac Mini with OrbStack in Local The servers Local runs

What "runs against simulators" means

A Mac has no NVIDIA GPU, so Local cannot run two vLLM replicas or share a GPU. To still exercise llm-d, Local puts its endpoint picker in front of two simulated model servers. The routing decisions are real. The tokens and the latencies are not, and nothing measured there counts as an inference result. The model that answers the agent in Local is a real one: Qwen3-4B on llama.cpp, reached through the same gateway.

What is deliberately left out

Istio, Redis, Kafka, a separate vector database, Argo CD, KEDA, distributed storage, a logging platform, an identity provider and an OpenTelemetry Collector. The control plane has one replica and there is no high availability. It is a lab.

How settled each layer is

The lower layers (Kubernetes, gVisor, Kata Containers, vLLM) are mature. The upper layers (DeepSeek Harness, PowerContext) are moving fast. Expect the upper layers to change more often.

The project names and logos in the diagrams are trademarks of their owners. They are used only to refer to the projects. The lab is not affiliated with or endorsed by any of them.

Next: how a request travels through these layers.