CLI tool
agent-substrate/substrate avatar
agent-substrate/substrate

Agent Substrate: A Kubernetes layer for high-density agent workloads

Agent Substrate: the core system. 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.

6,631 stars747 forksGoApache-2.0

At a glance

What is it?
Agent Substrate is an early-stage, Apache-2.0 licensed system that multiplexes stateful agent actors onto a smaller pool of Kubernetes pods, claiming resume operations in less than 500ms and more than 500 activations per second.
Who is it for?
Adopt Agent Substrate if you run many mostly-idle, untrusted agents on Kubernetes and want them sandboxed and multiplexed onto fewer workers. Before adopting, check the release notes for v1.0.0-rc.1, verify that you can run gVisor or Cloud Hypervisor microVMs in your environment, and that your agents can tolerate snapshot-based suspend and resume without losing in-memory state that is not captured.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 1 day ago.
What is it written in?
Mainly Go, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 14, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • agent-substrate/substrate6,631 ★ · +5,711
Star history
Repository2026-07-312026-11-14
agent-substrate/substrate9206.6k

5,711 Stars in the last 106 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What Agent Substrate actually solves

Agent Substrate addresses a specific operational problem: running thousands of stateful agent processes on a cluster without paying for each one's idle time. The README is explicit that agent-like applications tend to be idle most of the time. Instead of giving every agent its own pod, the system maps a larger set of actors onto a smaller set of ready workers. This is not a general-purpose scheduler. It is a control plane that manages the lifecycle of actor sandboxes, assigns actors to workers in real time, and routes traffic to them. The intended user is a team running large-scale agent deployments, particularly those involving AI agents, that need higher density than Kubernetes alone provides. The system is framework agnostic, so it can host agents built with ADK, LangChain, Claude Code, or CodeX, as long as they run as OCI containers.

The actor-worker model and its mechanism

The core mechanism is a mapping between actors and workers. An actor is an application, such as an agent, with a lifecycle that can be suspended and resumed. A worker is a Kubernetes pod that is ready to host an actor. The system relies on the observation that agents are mostly idle, so many actors can share a small pool of workers. When an actor needs to run, it is assigned to an available worker. When it becomes idle, it can be suspended and its state snapshotted. The README claims resume operations in less than 500ms, and the demo shows ~250 stateful actors multiplexed across 8 physical pods. The state persistence mechanism uses full-state snapshots that preserve volatile RAM and filesystem state across hibernation cycles. This is not a process fork or a container restart. It is a full snapshot that can be restored onto any worker, which is what enables the teleport-like behavior.

Sandbox technologies and Kubernetes integration

Agent Substrate supports multiple sandbox technologies, including microVMs and gVisor. The README says it runs standard OCI container images inside gVisor or microVM sandboxes, which is how it remains framework agnostic. The control plane uses Kubernetes for infrastructure provisioning and worker lifecycle management, specifically Pods and Pod autoscaling. Agent Substrate adds its own scheduling and control on top to achieve lower latency than Kubernetes alone. The design choice is to build on Kubernetes rather than replace it, which means you get consistent infrastructure management across all workload types. The README says this lets agentic, inference, training, and reinforcement learning workloads share one infrastructure plane. The system is low-opinion, so the workloads it manages do not have to be literal AI agents, but they must fit the actor model with suspend and resume.

Getting it running: the quickstart path

The README links a development quickstart from the top of the page. The repository carries hack/, cmd/, manifests/ and demos/ directories, and the Counter Demo in demos/counter/README.md explains how to reproduce the multiplexing demo in your own cluster.

A genuine limitation: early development and API instability

The most significant limitation is the project's maturity. Releases have moved quickly, from v0.5.0 on 2026-10-14 and v0.6.0 on 2026-10-22 to v1.0.0-rc.1 on 2026-10-29. Another limitation is the reliance on snapshot-based suspend and resume. If an agent holds state outside the snapshot, such as external database connections or in-memory caches that are not captured, those will not be preserved across hibernation cycles.

Alternatives: a different approach to density

The most direct alternative is to run agents as plain Kubernetes pods with autoscaling, which is what Agent Substrate builds on. The difference is that Kubernetes alone does not provide sub-second suspend and resume or the actor-to-worker mapping. With plain pods, an idle agent still occupies a full pod, and scaling down means terminating the pod and losing its state unless you implement external persistence. Another alternative is to use a serverless container platform like Knative, which scales to zero when idle, but it does not preserve in-memory state across cold starts. Knative's approach is to restart from scratch, not to snapshot and restore. Agent Substrate's approach is fundamentally different: it keeps the actor's state in a snapshot and restores it onto any worker, which allows for much faster resume than a cold start. If your agents are stateless, Knative or plain Kubernetes is simpler. If they are stateful and idle-heavy, Agent Substrate's model is worth evaluating, but only if you can tolerate its instability.

Maintenance and upgrade cost, and license implications

The project is licensed under Apache-2.0, which is permissive and allows commercial use, modification, and distribution, with the condition that you include the license and attribution. There is no copyleft requirement, so you can use it in proprietary systems. The maintenance cost is high at this stage. You will need to track the main branch closely and be prepared to update your integration with each release. Recent releases are v0.5.0, v0.6.0 and v1.0.0-rc.1, all in October 2026.

Editorial conclusion

Adopt Agent Substrate if you run many mostly-idle, untrusted agents on Kubernetes and want them sandboxed and multiplexed onto fewer workers. Before adopting, check the release notes for v1.0.0-rc.1, verify that you can run gVisor or Cloud Hypervisor microVMs in your environment, and that your agents can tolerate snapshot-based suspend and resume without losing in-memory state that is not captured. The project is young, with its first release candidate published on 2026-10-29.

Frequently asked questions

What does substrate mean?

This repository uses the word in its ordinary engineering sense: the underlying runtime an actor executes on. The project multiplexes many actors onto a smaller set of ready workers, so each actor has a substrate it can be suspended away from and resumed onto, together with its memory and filesystem state. The system manages actor lifecycle, assigns actors to workers in real time, and routes incoming traffic to them, and it explicitly does not help you write the agent that runs inside.

How does Agent Substrate map actors onto workers?

Actors are mapped in many-to-one onto workers, relying on agent-like applications being idle most of the time, with full-state snapshots used to preserve working memory and filesystem state across a hibernation cycle. The demo moves a whole actor onto any available worker in the pool, which the page calls teleporting.

how to use substrate

Start with the Quickstart linked at the top of the README, then reproduce the multiplexing demo with the Counter Demo in demos/counter/README.md.

What licence does Agent Substrate use, and what builds on it?

It is a Kubernetes-based runtime for agent-like workloads, distributed under the Apache 2.0 licence, with v0.5.0, v0.6.0 and v1.0.0-rc.1 released in October 2026. The ecosystem section points at two projects built on it, one under that provider's own organisation and one that is a sandbox project in the cloud native foundation.

How does Agent Substrate isolate workloads?

It is a secure-by-default runtime with kernel and network isolation, supporting both micro virtual machines and a userspace kernel, and it runs standard OCI container images inside gVisor or microVM sandboxes; plain Linux containers are not supported. The host firewall binding and the container runtime specifications in its dependency list are what back the network isolation claim.

Official sources

  1. Official README
  2. Project repository
  3. Release notes
Community

Where developers are discussing it

Posts on Hacker News, dev.to and Lobsters that link to this repository, found by our scan of those communities. 2 in the last 30 days; newest first.

Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/agent-substrate-substrate.svg)](https://hysenlabs.com/projects/agent-substrate-substrate)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/agent-substrate-substrate.svg)](https://hysenlabs.com/projects/agent-substrate-substrate)

Was this useful?