agent-substrate-overview
Reference for the alpha agent-substrate/substrate project as an alternative ultra-scale control plane that shares snapshot and runtime primitives with…
от vinnie357★ 30 звёзд на GitHub
Установить agent-substrate-overview в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
agent-substrate-overview
Agent Substrate is an Apache-2.0 Kubernetes runtime for agent-like workloads that multiplexes many stateful actors onto fewer worker pods, preserving in-memory + disk state via gVisor checkpoint/restore. It is explicitly alpha (v0.0.0, README quote: "VERY early development… APIs are almost guaranteed to change"). This skill is a short reference so you can evaluate it against k8s-agent-sandbox, not an operational guide.
If the operational decision is already "use Substrate," read the upstream README directly — this skill is intentionally not a step-by-step install guide because Substrate is at v0.0.0 with API churn between commits, so pinning a recipe here would go stale.
What Substrate is
From the upstream README: "Agent substrate is a system built on top of Kubernetes which manages agent-like workloads to achieve higher scale and efficiency than Kubernetes alone can offer, with lower latency."
Architectural diff vs kubernetes-sigs/agent-sandbox:
agent-sandbox (kubernetes-sigs) |
agent-substrate |
|
|---|---|---|
| Maturity | v0.4.6 (released) | v0.0.0 (alpha) |
| Control plane | k8s controller + CRDs only | k8s controller + dedicated gRPC ateapi |
| Workload model | One sandbox per claim | Many actors multiplexed onto fewer pods |
| Suspend/resume | Pod snapshots (GKE feature) | gVisor runsc checkpoint/restore first-class |
| CLI | kubectl + Python SDK |
kubectl-ate plugin |
| Use case | per-session ephemeral agents | high-density actor swarms |
Per Google's 2026-05-20 blog: "Substrate is the open-source ultra-scale tier sharing Sandbox's core secure runtime and snapshotting capabilities with a minimal control plane designed to bypass some of the limitations of Kubernetes for millions of sub-second tool calls."
Components
ateapi— gRPC control plane.atelet— node-level DaemonSet supervising workers and snapshots.atecontroller— k8s controller reconciling Substrate CRDs.atenet— networking controller: DNS, Envoy routing, proxy sidecars.ateom-gvisor— interior helper runningrunsc checkpoint/restore.podcertcontroller— Pod Certificate signer polyfill.kubectl-ate— operator CLI plugin.
External deps: gVisor, Valkey (Redis-compatible), RustFS.
CRDs
WorkerPool— N pods that will host actors. Configures pod sizing and oversubscription.ActorTemplate— describes a workload container image + boot/snapshot config; many actors instantiate from one template.
SessionIdentity (not a CRD; a service exposed by ateapi) exchanges ephemeral kubelet credentials for stable JWT/cert identities that persist across worker migrations.
Claude Code on Substrate
Substrate's demos/claude-code-multiplex/ ships a working example:
- A
WorkerPoolof 2 pods is oversubscribed by 3ActorTemplates (luna,mars,orion). - Each agent is a container built from
workload/(Dockerfile + Python wrapper around Claude Code) and referenced bysha256digest inclaude-code-multiplex.yaml.tmpl. - A Go dashboard in
ui/calls theateapigRPC + Kubernetes API.
Example: WorkerPool + ActorTemplate field semantics
Trimmed from demos/claude-code-multiplex/claude-code-multiplex.yaml.tmpl upstream (Apache-2.0) — the WorkerPool plus one of its three ActorTemplates (mars and orion are structurally identical to luna, differing only in metadata.name and the ACTOR_NAME/TASK env values):
# 2 worker replicas for 3 actors — the multiplex pressure that makes the
# substrate suspend/resume behavior visible.
apiVersion: ate.dev/v1alpha1
kind: WorkerPool
metadata:
name: claude-workerpool
namespace: claude-multiplex-demo
labels:
workload: claude-multiplex
spec:
replicas: 2
ateomImage: ko://github.com/agent-substrate/substrate/cmd/ateom-gvisor
---
apiVersion: ate.dev/v1alpha1
kind: ActorTemplate
metadata:
name: agent-luna
namespace: claude-multiplex-demo
spec:
pauseImage: "registry.k8s.io/pause:3.10.2@sha256:f548e0e8e3dc1896ca956272154dde3314e8cc4fde0a57577ee9fa1c63f5baf4"
containers:
- name: claude
image: ${WORKLOAD_IMAGE}
env:
- name: ACTOR_NAME
value: "luna"
- name: TASK
value: "Tell me one short, surprising fact about the Moon. One sentence."
- name: ANTHROPIC_API_KEY
valueFrom:
secretKeyRef:
name: anthropic-api-key
key: api-key
workerSelector:
matchLabels:
workload: claude-multiplex
snapshotsConfig:
location: gs://${BUCKET_NAME}/claude-multiplex-demo/
Field semantics not obvious from the names alone:
WorkerPool.spec.replicas— pod count, independent of how manyActorTemplates target it. Here, 2 pods host 3 actors, so Substrate must suspend at least one actor at any moment.WorkerPool.spec.ateomImage— theateom-gvisorinterior helper image each pod runs to perform checkpoint/restore; not the workload image itself.ActorTemplate.spec.workerSelector.matchLabels— restri
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-substrate-overview?
Reference for the alpha agent-substrate/substrate project as an alternative ultra-scale control plane that shares snapshot and runtime primitives with kubernetes-sigs/agent-sandbox. Use when comparing agent-sandbox vs Substrate, evaluating the WorkerPool + ActorTemplate multiplexing model, reviewing the kubectl-ate CLI, or deciding which control plane fits a workload that needs millions of sub-second agent tool calls.
Как установить скилл agent-substrate-overview?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-substrate-overview запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…