components/agent-substrate¶
Agent Substrate is a runtime for
sandboxed agent workloads. It is in the full profile for one reason: kagent 1.0.1
requires it (owner decision, 2026-11-27). It is not a layer of the demo path.
OpenSandbox manages the demo's sandboxes in every profile, and nothing of the demo
touches Substrate. What it is and why it was not chosen for the demo:
../../docs/observability-options.md.
What is pinned¶
kagent's fork, kagent-dev/substrate, at
v1.0.0: four Helm charts from oci://ghcr.io/kagent-dev/substrate/helm/. That is what
kagent 1.0.1 installs and names as its requirement. Upstream is at v1.0.1, publishes no
chart and is installed by a tool built with Go from a checkout; whether kagent 1.0.1 runs
on it is unknown. The owner decided for the fork on 2026-11-28
(../../docs/design.md, section 10).
| Step | Chart | Namespace | Values |
|---|---|---|---|
substrate-crds |
substrate-crds 1.0.0 |
ate-system |
values.yaml (the CLI passes it; the chart uses none of it) |
substrate-podcert |
substrate-podcert 1.0.0 |
podcertificate-controller-system |
podcert-values.yaml |
substrate-atelet |
substrate-atelet 1.0.0 (node agent, a DaemonSet) |
ate-system |
values.yaml, then atelet-values.yaml |
substrate |
substrate 1.0.0 |
ate-system |
values.yaml |
The values are what kagent install --dry-run (kagent CLI 1.0.1) writes, plus one
block that sends Substrate's traces to the lab's Jaeger and switches its own metrics and
logs export off.
What the charts do not do¶
- Kubernetes feature gates.
ClusterTrustBundle,ClusterTrustBundleProjection,PodCertificateRequestand the APIcertificates.k8s.io/v1beta1, on the API server, the controller manager and every kubelet, set when K3s starts (../../infra/k3s/). - Certificate authorities, created once; they expire after a year and nothing renews them.
- PostgreSQL. One instance, shared with kagent, with separate logins, roles and
schemas: the development database that
kagent installdeploys in namespacekagent(postgres:18-alpine). Upstream says it is not intended for production. - Secrets: the connection strings and the object store's credentials. The object
store itself, RustFS, is bundled by the
substratechart.
kagent install does all four except the feature gates. So the full profile installs
Substrate and kagent with it:
The script checks the feature gates and the GPU node's taint, applies the namespaces,
fetches the kagent CLI 1.0.1 into .out/bin (checksum pinned in versions.yaml) and
runs kagent install --config components/kagent/install-config.yaml, which hands the CLI
the values files above. The virtual test compares what the CLI would apply, by its own
--dry-run, with what the profile's steps render (check kagent-install). kagent
install waits five minutes per Helm release; if images are slow to arrive it fails and
can simply be run again.
Where the node agent runs¶
On the control node only, never on the GPU node (owner decision, 2026-11-28). The
chart substrate-atelet has no nodeSelector, no affinity and no value for either;
its tolerations are fixed. So the control is a taint on the GPU node, set at bootstrap in
the full profile:
The node agent does not tolerate it. The workloads that belong on the GPU node do: the
vLLM, Whisper and image-model manifests carry the toleration, and HAMi's device plugin
has it by chart default. The virtual test checks both from the rendered manifests (check
gpu-node); the deploy script refuses to run if a node labelled gpu=on lacks the
taint, and checks afterwards that no node-agent pod is on one.
Cost¶
Memory requests: 1536 Mi for Substrate; 2304 Mi with kagent, the database and one worker pod. In use, idle, in the probe: about 360 Mi and 550 Mi. No GPU.
Status: rendered and schema-checked by make virtual-test. hack/deploy-kagent.sh ran
once, with these values files, against a throwaway single-node K3s in an OrbStack
machine on arm64 (2026-11-28; docs/compatibility.md, section Q): all pods ran, the
ModelConfig with this lab's provider was accepted, Substrate's traces arrived in the
lab's Jaeger, and with the taint on the node the node agent was not scheduled. Before
that, kagent install with its defaults had run next to this lab's gateway, gVisor and
OpenSandbox (P20 to P27). No agent was run, and nothing is known about Substrate next to
HAMi, vLLM or a GPU node (P29, P30, Q11). Unvalidated on real hardware.