Roadmap¶
Status: no phase below has started on real infrastructure. What exists is the design, a paper check of the pinned versions, and a one-off feasibility probe of the Local option (next two sections). Phases are ordered by priority, not by date.
By owner decision on 2026-11-27 there are two deployment options, Cloud and Local
(deployment-options.md), and the representative workload is a
live photo-editing demo (demo.md) that replaces the earlier coding-agent
task. Since the same day that demo is a show in three acts, with every tool call through
Agentgateway, a stage camera and distributed tracing. The phases below are the Cloud
path unless they say otherwise.
Done: design and paper compatibility check¶
- A concrete plan:
design.md. - A compatibility matrix for the pinned versions, every claim with its evidence and a
status:
compatibility.md. - Values files, manifests and per-profile install steps for every component.
make virtual-test: fetches the pinned charts, renders them, validates them against Kubernetes and CRD schemas and checks image tags, without a cluster. It runs on pull requests.
This is not validation. It shows that the pinned artifacts exist, render, are
schema-valid and agree on API versions. It shows nothing about the GPU, the driver, KVM,
Kata, scheduling, runtime behaviour or performance; the unknowns listed in
compatibility.md are settled only by the P0 phases below.
Done: design of the two options and of the demo; local feasibility probe¶
deployment-options.mdanddemo.md.- A
localprofile, checked bymake virtual-testincluding image architecture. - A probe on the owner's Mac Mini (2026-11-27), in a throwaway VM: nested KVM, K3s 1.37, Kata with two overrides, OpenSandbox create/exec/delete, Agentgateway to a native model server, the llm-d EPP against simulators, memory figures. One run; the VM was deleted.
This is not validation either. It shows that the Local option is feasible on that machine. It also gave first evidence for three Cloud unknowns (OpenSandbox on 1.37, llm-d behind Agentgateway v1.7.0, Kata overhead metrics), on arm64 only.
Done: design of the three-act demo; third local probe¶
demo.md, second iteration: the three acts, a timed script, the tools through Agentgateway, the two staged interceptions, the trace, the stage camera and the vote.- Jaeger pinned and added to every profile, with a switch in
local; the Gateway's MCP endpoint with key and per-tool policies; a public listener with the demo's routes and rate limits. All rendered bymake virtual-test, which gained two checks and a tracing-off variant. - A third probe on the Mac Mini (2026-11-27), in a throwaway VM: those manifests applied
with stand-ins for the code that does not exist. Tool calls through the gateway, the
rate limit, the blocked egress as a tool result and the gateway's traces in Jaeger were
seen working (
compatibility.md, section N). One run; the VM was deleted. - The owner's decision for observability variant V1 (2026-11-27), and a fourth probe
for it: the harness SDK carrying a per-job trace context through the gateway, and a
gVisor sandbox's HTTP egress refused by a gateway listener, both seen working; Agent
Substrate and kagent installed next to the stack (
compatibility.md, section P). The egress listener is in every profile; Substrate is infull.
Not validation: no model, no harness, no EPP, no gVisor and no PowerContext were in that probe, and the two pieces of code the demo needs are not written.
P0: Decisions the next steps wait for¶
From deployment-options.md section 10 and demo.md section 8. The sandbox questions
are decided (gVisor by default, OpenSandbox kept, cp-0 on bare metal for now). The
ones that block work: the external
image provider for Local; how audience phones reach the demo; the privacy terms. From the
three-act demo (demo.md section 8, items 11 to 22), the ones that block work: the
tracing backend (Jaeger is designed in); how the egress interception is staged; the
camera in Cloud; the size and place of the two pieces of code.
P0: Local option end to end¶
Needs no cloud spend, so it can go first. Install llama.cpp on the Mac Mini, create an
OrbStack machine with K3s and the gVisor binaries (Lima only for the Kata opt-in),
bring up the local profile, build the PowerContext image on arm64 (untried), and run
one job by hand through every hop of demo.md section 3 with a stand-in for the demo
app. Everything simulated stays labelled as simulated. Local is also where the open
point of the gVisor default is settled first: run the demo's two sandbox scripts (decode
and normalise an uploaded photo; label and thumbnail the result) in a gVisor sandbox
(compatibility.md, M12).
P0: The demo application and the camera tool¶
The two pieces of new code (demo.md, section 6). Written against the Local option first.
The camera tool is the smaller one and can be tried on its own: one MCP tool behind the
gateway, on the Mac, taking a frame and uploading it (compatibility.md, N9, N50, N51).
With the application's image exists the image for the OpenSandbox MCP server, and the
first run of the harness against the gateway's tool endpoint (N16).
Its first milestone is the agent loop on its own: the DeepSeek Harness started through
its SDK at the pinned release (0.2.2rc2), with the PowerContext plugin, answering one
instruction with the expected tool calls. The plugin was accepted upstream against the
CLI 0.2.2-rc.1 only, so this is the first place that pairing is tried. That settles the caveats recorded with the decision (SDK release against the
pinned CLI, the plugin under the SDK, startup time and memory, the profile's own shell
tool; design.md R18 to R21)
before anything is built on top.
P0: Infrastructure compatibility¶
Prove that the base works together: Vultr servers, gVisor, Kubernetes and HAMi; and for
the Kata opt-in, KVM and Kata Containers. This phase decides between K3s and the kubeadm fallback (triggers: R1 in
design.md). It needs the owner's decisions on the GPU plan and region first.
Early check: OpenSandbox on Kubernetes 1.37 (gap G1). OpenSandbox 1.2.1 declares Kubernetes v1.34 as its maximum; the owner decided on 2026-11-27 to stay on 1.37 and test it for real. Run this as soon as K3s is up on the bare-metal server; it needs no GPU, so it does not wait for the GPU plan decision:
- Install OpenSandbox with
SANDBOX_RUNTIME=runc, then create a sandbox, run a command in it, delete it, and confirm the pod is gone. This isolates the Kubernetes version question from the sandbox runtime. - Repeat with gVisor, the default. This is also the first run of gVisor on an x86_64
node, which so far is inferred only (
compatibility.md, M11), and of the egress test under the sandboxNetworkPolicy. - Repeat with the Kata opt-in once Kata is installed.
The local probes ran this sequence with Kata and with gVisor on arm64 and it passed (compatibility.md,
K10, M5). That supports the decision but is not this check: it was not the Vultr server.
Two things it found (nothing created the opensandbox namespace, and the chart cannot
adopt a pre-created opensandbox-system, K11) are fixed in every profile by a
namespaces step and a chart value; the fix is checked on paper only (F7).
Until step 1 has passed, OpenSandbox on 1.37 stays Unknown (compatibility.md, A11).
If it fails with errors that point at the Kubernetes API, the options are, in order:
- a newer OpenSandbox release that raises its declared maximum, if one exists by then;
kubernetes-sigs/agent-sandbox, the first fallback named by the owner on 2026-11-27: it declares no Kubernetes maximum and ran on 1.37 in a probe, but the execution path has to be redone for it (sandbox-options.md, section 2);- report the failure upstream and wait for, or carry, a fix;
- lower Kubernetes to 1.34, which leaves llm-d's documented range (1.35 to 1.37) and therefore needs a new owner decision.
Early check: the full profile's cluster-wide settings, before anything depends on
them (risks R33, R35, R36). Agent Substrate, which kagent requires, needs three
Kubernetes feature gates at K3s start and brings a second sandbox system; both were seen
working in local probes only, without HAMi, vLLM, llm-d or Kata and on one arm64 node
(compatibility.md, P20, P26, P30). Run this right after the base checks above, on the
real two nodes:
- Start K3s with the feature gates (
infra/k3s/README.md) and taintgpu-0(nvidia.com/gpu=present:NoSchedule). Repeat the base checks on that cluster: HAMi's device plugin registers the GPU, a test pod gets its quota, a gVisor pod and (with the opt-in) a Kata pod start. If one fails only with the gates on,fullloses kagent, which is optional;minimalis not affected. - Once the inference path is up: one vLLM replica and the llm-d EPP on the same cluster, with the toleration in their manifests.
make deploy-kagent PROFILE=full. Confirm that noateletpod is ongpu-0and that the GPU is still advertised.- With an OpenSandbox sandbox running, start one kagent agent (a Substrate actor), and
the other way round: the two sandbox systems side by side on
cp-0, on x86_64.
Until this has run, the gates with HAMi, vLLM, llm-d and Kata, and the two sandbox systems beyond one idle worker, stay Unknown (P30, Q11).
P0: Inference path¶
HAMi + vLLM + llm-d + Agentgateway: two vLLM replicas on one split GPU, routed by the llm-d EPP behind Agentgateway. With the demo, the same GPU also carries the image model (vLLM-Omni) and speech to text. The split is decided (2 x 11, 18 and 3 GiB) but unmeasured.
Early check: does an LLM replica start in 11 GiB with --max-model-len=8192? The
owner decided on 2026-11-27 to keep 8192 and test it. Run this as soon as HAMi has
registered the GPU, before the image model, speech or llm-d are deployed:
- Deploy one replica from
components/vllm/manifests/vllm.yamlas it is. - Pass: the pod becomes
Ready,hami_vgpu_memory_limit_bytesshows 11 GiB, and the start-up log reports a KV cache of at least one 8192-token context. Record the reported KV cache size and the memory in use; they replace the paper figures indesign.mdsection 6. - Fail: vLLM exits saying the KV cache cannot hold
max_model_len(or with a CUDA out-of-memory error, which is risk R3 instead). Then, and only then, apply the steps ofdesign.mdrisk R14 in their order, one at a time, recording each change. - Repeat with the second replica running, then with the image model and speech on the card.
After that: whether the image model runs in its 18 GiB slice.
P0: Agent execution path¶
Harness + Agentgateway (MCP) + OpenSandbox + the selected sandbox runtime: the agent loop executes image-processing code in an on-demand sandbox pod, calling its tools through the gateway. The gateway-to-sandbox half was probed with runc; with gVisor, and with the harness as the client, it has not run. (Was: the harness on the MacBook executes code for the coding task.)
P0: Context runtime¶
PowerContext + seekdb + the harness plugin: memory and session handoff, now in the form of follow-up instructions that continue from the last image.
P0: The show¶
Rehearse the three acts against a clock (demo.md, sections 9 and 12): the stage job
with each theme, the follow-up, the camera and its fallback, the tap with real phones,
the egress drill with its control, the trace of the stage job, each step of the failure
ladder; then record one run. In Cloud, first the camera tool through a tunnel (N11) and
the public entry under the tap (risk R29).
P1: Observability and experiments¶
Tracing joins the metrics here: what the EPP's and vLLM's spans add to the gateway's is
first seen on the Cloud cluster (compatibility.md, N37).
Experiment 2 has a consequence beyond its own result: cp-0 stays bare metal until it
has run, because its Kata arm needs KVM. Afterwards, revisit whether cp-0 needs to be
bare metal (owner decision, 2026-11-27); gVisor, the default, does not.
Prometheus, Grafana dashboards and the three experiments in
../experiments/.
P1: Automation and reproducibility¶
Implement the make targets end to end (provision to destroy) for each profile,
with every version taken from versions.yaml.
P2: kagent / platform¶
Add kagent as the optional agent control plane (full profile).
kagent 1.0.1 requires Agent Substrate. By owner decision of 2026-11-27 the full
profile installs it, only as kagent's dependency (design.md, section
3.10a). What this phase has to do on the Cloud target:
- The early check in "P0: Infrastructure compatibility" comes first: the feature gates and the taint on the real nodes, and the two sandbox systems side by side.
make deploy-kagent PROFILE=full: Substrate (kagent's fork, v1.0.0) and kagent withkagent installand this repository's values. Written and run once locally (compatibility.md, Q5); not on the cloud target.- Run one kagent agent on Qwen3-4B through the gateway (P29, H4).
Installed locally twice, once with kagent's defaults and once with this repository's
values; no agent was run (compatibility.md, P23, Q5).