Preview Gates
Explore, understand, and enable preview features on Agent Substrate servers and clients.
Every feature in Agent Substrate is either in preview (gated and off by default) or GA (always on). Preview gates allow including new features in a release before they’re considered stable, keeping them disabled by default. Preview APIs and behavior are outside the compatibility policy and may change or be removed between releases. Preview gates do not enforce access control.
Enabling and Using Preview Features
Using a gated feature in the Control API requires enabling the gate on the server and (sometimes) opting in on the client:
Server enablement:
- Pass
--preview=<gates>to each Substrate binary as a comma-separated list of gate names, orALLto enable all preview features. - When deploying with
ate-setup, setpreviewin the configuration file,ATE_PREVIEWin the environment, or--preview=<gates>on the command line (see the Operator Install Guide). - Unknown gate names cause startup to fail.
- Component-level gates that expose no Control API fields take effect as soon as
--previewis enabled on the server. - When a feature reaches GA or is removed,
--previewcontinues to accept its gate name for compatibility while keeping the feature fixed on (if GA) or off (if removed).
- Pass
Client enablement:
- The client header is only required for requests that invoke a gated RPC method or configure a gated feature, such as creating an
ActorTemplatewith a gated field or callingCreateActorfrom a template with external volumes. Subsequent RPCs on an existingActororActorTemplate, includingResumeActor,SuspendActor,RevertActor,DeleteActor, andDeleteActorTemplate, do not require the header. - Send the
Ate-Preview-Allowed: truegRPC metadata header on requests toate-api-server. - Without this header,
ate-api-serverrejects requests that set gated fields, create gated resources, or call gated RPC methods (returningFAILED_PRECONDITIONfor gated methods). - Pass
--previewtokubectl ateto send the header from the CLI (see the CLI Reference). - If
--previewis later turned off on the server, unchanged fields on existing objects are not re-validated on update, andSuspendActor,DeleteActor,DeleteActorTemplate, andDeleteTagcontinue to release workers, detach external volumes, and delete snapshots so existing objects are not stranded.
- The client header is only required for requests that invoke a gated RPC method or configure a gated feature, such as creating an
Available Preview Gates
This is the list of up-to-date description of current preview features.
ActorIPv6
ActorIPv6 adds IPv6 to actor networks on workers whose Pods have an IPv6 address. IPv6-only clusters require it. Actor networks retain their private IPv4 link for ingress, DNS, and wakeup probes, so applications must listen on IPv4 or a dual-stack socket. Enable --preview=ActorIPv6 on the server; no client opt-in is required. See Egress Traffic for the networking contract.
ExternalVolumes
ExternalVolumes integrates Agent Substrate with Container Storage Interface (CSI) drivers to dynamically provision per-actor external volumes and attach or detach them as actors resume and suspend. Enable it when actors need larger or CSI-backed persistent filesystems whose state stays on external storage across suspends and resumes. Enable --preview=ExternalVolumes on the server, opt in on the client, register a CSIDriverConfig for each CSI driver, and configure volume capacity and StorageClass under volumes[].external on ActorTemplate. See full documentation at CSI Volumes and Deploying CSI Drivers.
GoldenEgressPolicy
GoldenEgressPolicy lets an ActorTemplate define outbound network rules that the template controller applies to the temporary golden actor while building its golden snapshot. Actors later created from the template keep default-deny outbound networking until given their own EgressPolicy. Enable it when golden snapshot warmup must reach external endpoints, such as package registries or model stores, without granting that network access to actors at runtime. Enable --preview=GoldenEgressPolicy on the server, opt in on the client, and configure rules in golden_egress_policy on ActorTemplate. See full documentation at Golden Egress Policy.
IngressCache
IngressCache caches <atespace>/<actor> to worker IP bindings in atenet-router (--atenet-dataplane=envoy) so bodiless HTTP requests to warm actors bypass ext_proc, evicting stale bindings and replaying cached requests that never reached the actor. Enable it to lower ingress latency (on cache hit) and reduce ResumeActor load on ate-api-server. Enable --preview=IngressCache on the server (no client header is required) and optionally tune --ingress-cache-ttl and --ingress-cache-max-cached-actors on atenet-router. See full documentation at Envoy Substrate Ingress Cache.
PerTemplateSnapshotLocation
PerTemplateSnapshotLocation lets each ActorTemplate store actor snapshots under its own object-storage URI prefix instead of ate-api-server’s cluster-wide --snapshot-location. Enable it to isolate snapshot storage across buckets or prefixes per workload or tenant, or to deploy ate-api-server without a cluster-wide default snapshot location. Enable --preview=PerTemplateSnapshotLocation on the server, opt in on the client, and set snapshot_config.storage_location on ActorTemplate. See full documentation at Snapshot Storage Layout and Snapshot storage.