Agentic Infra Lab¶
Agentic Infra Lab is a small reference implementation of the infrastructure an AI agent needs: a model, a gateway, a sandbox to run code in, memory, metrics and traces. It builds no new infrastructure product. It composes existing open-source projects, one per layer, on one Kubernetes cluster, in the spirit of "Kubernetes The Hard Way". It is a lab, not a platform: small enough to read end to end, and made to be created and destroyed again and again.
The stack, layer by layer. Solid boxes run today, on one Mac. Dashed boxes are planned or optional and not deployed. Click any diagram to enlarge it.
Two ways to run it¶
| Local | Cloud | |
|---|---|---|
| For | Trying the stack without cloud spend | The reference deployment |
| Hardware | One Mac Mini (Apple M4, 16 GB), no NVIDIA GPU | Two Vultr servers and one L40S 48 GB GPU |
| Small model | Qwen3-4B on llama.cpp, a process on the Mac | Two vLLM replicas sharing the GPU through HAMi |
| Image editing | An external API | A self-hosted open-weight model on the same GPU |
| State | Runs today | Designed, not deployed |
What works today¶
All of it in the Local option, on one Mac:
- One command per step. Five
maketargets create the stack, check every layer and remove it again. - A real agent. DeepSeek Harness plans with Qwen3-4B and makes the tool calls itself. A job is not a script.
- One gateway for everything. Every model call and every tool call of the agent goes through Agentgateway.
- Code runs in a sandbox. OpenSandbox creates a gVisor sandbox for each job. The sandbox has one way out, the gateway, and the gateway refuses it.
- Metrics and traces. Prometheus and Grafana run. With tracing switched on, one job is one trace in Jaeger.
- Two acts of the live demo. A photo of the room is edited by an external image model and shown on the big screen in about 20 seconds (17.5 to 21 s in eight jobs, measured on an idle Mac with a synthetic test picture).
- An offline check.
make virtual-testrenders every chart and manifest at the pinned versions and validates them, without a cluster.
What is planned and not built¶
- The Cloud option. Nothing has run on a GPU or on cloud servers yet. vLLM, GPU sharing with HAMi and a self-hosted image model exist as manifests that pass the offline check, and no more than that.
- Real inference routing. llm-d runs in Local, but against two simulators, not against model replicas.
- Memory. PowerContext with seekdb is not deployed, so the agent remembers nothing between jobs.
- Act 2 of the demo, in which the audience uploads its own photos.
- The experiments on GPU sharing, secure execution and context, and the lab's own Grafana dashboards.
Where to go next¶
| If you want to | Read |
|---|---|
| See which project does what | The stack |
| Understand what the live demo shows | The demo |
| Run it on your own Mac | Try it yourself |
| Follow a request through the stack | How it works |
| Know what comes next | Roadmap |
| Get a short answer | FAQ |