The Agent Substrate dataplane is the path a request and a snapshot take: ateapi holds actor state, atenet routes, atelet moves checkpoint bytes, and ateom runs the sandbox. Kubernetes only sees WorkerPool and ActorTemplate. If you only watch pods, you will restart the wrong thing.
I learned the names the way you learn any runtime: something broke, I needed to know which process owned the failure. What is Agent Substrate is the user-facing model. This is the machine.
What is the Agent Substrate dataplane?
The path a request and a snapshot take, plus the control plane that remembers which actor is in which bay.
On a running cluster I treat it as:
- Control plane:
ateapi. In my lab it sits on Valkey. The kagent concept page describes it as a gRPC API and workflow engine. I care that live assignment is here, not in etcd as a Pod status. - Router:
atenet. L7 path into actors. DNS is part of this story. - Snapshot mover:
atelet. Per-node. DaemonSet-shaped in the architecture docs. Pushes and pulls checkpoint bytes. - Worker supervisor:
ateom. Talks to the sandbox runtime. One actor per worker.
Object storage is the fifth box people forget. Snapshots are zstd-compressed checkpoints. My lab used an in-cluster store. Production is a bucket you already back up. Agent checkpoint to object storage is the contract: the runtime decides what to snapshot and when it is committed, the storage path moves bytes and should own integrity.
gVisor is a dataplane concern, not a helm footnote. The sentry is an application kernel in userspace. ateom talks to runsc. One actor per sandbox, always. A microVM is a different isolation bar and a different ateom job. I would not mix classes in one pool. Running Agent Substrate in production.
What does each of ateapi, atenet, atelet, and ateom do?
ateapi. Control plane. In my lab it sits on Valkey. It knows actors, workers, and assignments. Kubernetes CRDs (WorkerPool, ActorTemplate in ate.dev) are the desired-state envelope. The interesting live state is here. If ateapi is wrong, Scope is wrong, autoscaling is wrong, and you will reset the wrong thing. I do not restart ateapi to fix a wedged worker.
atenet. Router into actors. On the cluster I ran, atenet was agentgateway under the hood. Config lived at /etc/agentgateway/config.yaml in the pod. Traffic to an actor goes through here, not through a Service per agent, because there is no Pod per agent. Resume lands on a different worker. Anything that keyed policy on a pod IP is now wrong. Identity has to be the agent. Kubernetes network policy for agents is policy on the wrong grain if you aim it at the worker pod and call it done.
atelet. Per-node snapshot mover. This is the process that actually pushes and pulls checkpoint bytes. When restore is slow, I look here and at object storage, not at the scheduler. When restore never starts, I look at image pulls on the worker. My first SandboxAgent sat in Resuming for 25 minutes because a digest pinned to cr.kagent.dev no longer existed there. The identical digest still existed on ghcr.io. Substrate retried the pull forever. That was not an ateapi bug.
ateom. Worker supervisor. Talks to the sandbox runtime (runsc for gVisor in my lab). One actor per worker. If the sandbox will not start, ateom is the process whose logs I want before I blame the agent image. If a killed session leaves a ghost actor, ateom is still holding the bay. The pool looks idle. New sessions get substrate worker pool has no free workers. Ghost actors pin your workers.
Sandbox support is a dataplane concern. gVisor versus a microVM changes ateom’s job and your isolation story. gVisor intercepts syscalls and reimplements the Linux interface in the sentry. A held flock() survived checkpoint because it was sentry state. Host-network sockets and bind-mounted devices are the class I still expect to pin a worker. Does checkpoint survive a held file lock?.
What can Kubernetes actually see?
Two CRDs. A Deployment for the pool. Node agents. That is it.
Which actor is in which bay is not a Pod annotation I would trust. I pull it from ateapi via kagent:
kubectl port-forward -n kagent svc/kagent-controller 8083:8083
curl -s http://127.0.0.1:8083/api/substrate/status
The payload carries four lists: workerPools, actorTemplates, actors (with live status like Resuming or Suspended), and workers (one row per worker pod, naming the actor it currently hosts). Workers list, not actors list. Every completed session leaves a Suspended actor entry, so the actors list grows without bound. Mine passed 900 entries in a day in the first lab and started returning partial results. Running sessions disappeared from a board that joined through actors. kubectl is lying to you. The actors list lies. Trust the workers list.
On a cluster without kagent, Substrate Scope falls back to kubectl CRDs. Scaling still works. Which actor is on which worker does not, because that state lives in ateapi behind gRPC and JWT auth. kubectl-ate get actors without a bearer token fails with missing bearer token. I treat that as a reminder: the CLI you already have is not the control plane.
kubectl scale workerpools.ate.dev is real. It takes field ownership of .spec.replicas, so later helm upgrade runs need --force-conflicts. That is a dataplane ops detail hiding in a kubectl verb.
What do I restart when Agent Substrate wedges?
| Symptom | What I touch |
|---|---|
no free workers, pool looks empty | WorkerPool deployment (ghost actor). Snapshots survive. |
| Actors cannot egress, DNS errors | deploy/dns in ate-system. Mine wedged on a CoreDNS reload. |
| Restore stuck, image pull errors | Registry pin, not ateapi. I had a digest that only existed on ghcr.io. |
| Visualizer missing assignments | Stop reading actors. Read workers. Do not restart anything. |
| Golden snapshot stale after a model change | Delete and re-apply the SandboxAgents. Snapshots freeze the resolved model config at bake time. |
A dataplane you cannot restart in pieces is a monolith. This one you can. That is the part I like, and the part that will burn you if you restart ateapi to fix a wedged worker.
Verbatim errors I actually searched for, so you do not have to guess:
substrate worker pool has no free workersplugin/reload: Corefile changed but reload failedno such manifest: cr.kagent.dev/kagent-dev/kagent/golang-adk@sha256:e014...spec.substrate may only be set when spec.platform is substrateAgent kagent/<agent> not foundon the regular A2A path (SandboxAgents live on/api/a2a-sandboxes/)message contextId (session id) is required for substrate sandbox agents
The DNS one is the one that looks like a model outage. Actor egress resolves through substrate’s own CoreDNS. Mine could not reach Ollama on the host until I ran:
kubectl rollout restart deploy/dns -n ate-system
Ghost slots look like capacity you still have. The fix in the lab:
kubectl rollout restart deploy/kagent-default-deployment -n kagent
Only the wedged sessions die. Every agent’s snapshot survives. Suspend and resume agents is why that is cheap.
Where is the dataplane going?
I expect sandbox classes to multiply before the CRDs get smaller. I expect atenet to grow more actor identity, because routing without identity is network policy on the wrong grain. I do not expect kubectl to learn actors next quarter. Build the view.
I also expect the scarce resource to keep sitting outside this dataplane: model tokens, GPU time, provider rate limits. Extra workers in front of a serial generator made latency worse. The autoscaler made it worse. ateom can give you a bay. It cannot give you a token.
A checklist I keep next to the four names:
- Live assignment: workers list from ateapi, not
kubectl get pods. - Restore slow: atelet plus the bucket, then image pulls.
- Restore never starts: registry pin,
platform: substrateon the SandboxAgent. - Egress dead:
deploy/dnsinate-systembefore you blame the model. - Slot pinned, pool looks idle: WorkerPool rollout, then confirm snapshots.
- Traffic: atenet, not a Service per agent.
- Isolation class: one per pool. gVisor or microVM, not both silently.
Field guide: Agent Substrate. The lab that produced these restarts is kagent Agent Substrate.