Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Remove custom harness namespace and resources (#92)
Jaana Doganff8242256523
diff --git a/internal/manifests/README.md b/internal/manifests/README.mdindex af950f4..65bef2b 100644--- a/internal/manifests/README.md+++ b/internal/manifests/README.md@@ -15,26 +15,15 @@ The target Kubernetes cluster is assumed to have----## Harness types+## Harnesses-AX serves two kinds of harnesses:--- **Built-in** (e.g. Antigravity): implementation- and container image are provided by AX. You configure only behavior; AX owns- deployment. A built-in runs **locally** or as a **SubstrATE actor** depending- on the `AX_SUBSTRATE` environment variable (`1` = substrate). Built-in actors- run in the reserved `ax` namespace.-- **Custom** (the `substrate` config key): implementation and container image are- provided by you via your own `ActorTemplate`. Custom harnesses always run on- SubstrATE, in **your own namespace** (the `ax` namespace is reserved for- built-ins), and require `AX_SUBSTRATE=1`.+AX serves built-in harnesses (e.g. Antigravity) where the implementation+and container image are provided by AX.---## π Deploying to Agent Substrate-This deploys the AX `harness` path: a built-in harness `WorkerPool` and `ActorTemplate` (the `antigravity` example, in the reserved `ax` namespace), a custom harness `WorkerPool` and `ActorTemplate` (the `hello-world` example, in the `custom-harness` namespace) β provisioned as isolated, warm-standby actors that are live-snapshotted on boot and instantly restored from GCS when a new conversation starts β together with an `ax-server` controller front-end (a `ReplicaSet`) in the `ax` namespace.-### 1. Build and Deploy> [!NOTE]@@ -91,33 +80,9 @@ export KO_DEFAULTPLATFORMS="linux/amd64"./internal/hack/install-ax.sh --deploy-ax-server```-This command will:-- Build the AX control-plane image with `ko` (`harness` build tag) and the- antigravity harness image with the detected container engine, pushing both to- `$KO_DOCKER_REPO`. Both are referenced by **digest** (`repo@sha256:...`) in the- `ActorTemplate`, which Substrate requires because a moving tag would invalidate- the actor's live snapshots.-- Create the `ax` namespace (AX control plane + built-in harnesses) and the- `custom-harness` namespace (the example custom harness).-- Create a shared `ax-harness-workerpool` `WorkerPool` and the built-in- `antigravity-template` `ActorTemplate` in `ax` (all built-in harnesses share- this pool).-- Create a shared `custom-harness-workerpool` `WorkerPool` and the- `hello-world-template` `ActorTemplate` in `custom-harness` (custom harnesses- there share this pool).-- Create the `ax-server` `ReplicaSet` (the controller front-end) in `ax`.-- Create the `ax-server-config` `ConfigMap` that tells the `ax-server` which- harnesses to serve (mounted at `/etc/ax/ax.yaml`).--The harness registry lives in that `ConfigMap`. It registers the built-in-`antigravity` harness (AX-managed, in `ax`; the antigravity image built-above) and a custom substrate harness (`hello-world`, in `custom-harness`), with-`antigravity` marked as the default via `harnesses.default`.-Wait until the templates are ready:```bashkubectl wait --for=condition=Ready actortemplate/antigravity-template -n ax --timeout=5m-kubectl wait --for=condition=Ready actortemplate/hello-world-template -n custom-harness --timeout=5m```### 2. Port-Forward Servicesdiff --git a/internal/manifests/ax-deployment2.yaml b/internal/manifests/ax-deployment2.yamlindex a8519ab..b0743de 100644--- a/internal/manifests/ax-deployment2.yaml+++ b/internal/manifests/ax-deployment2.yaml@@ -24,11 +24,6 @@ kind: Namespacemetadata:name: ax----apiVersion: v1-kind: Namespace-metadata:- name: custom-harness----# ---------------------------------------------------------------------------# Built-in harnesses# ---------------------------------------------------------------------------@@ -77,43 +72,7 @@ spec:snapshotsConfig:location: gs://${BUCKET_NAME}/antigravity/----# ----------------------------------------------------------------------------# Custom harnesses-# ----------------------------------------------------------------------------apiVersion: ate.dev/v1alpha1-kind: WorkerPool-metadata:- name: custom-harness-workerpool- namespace: custom-harness-spec:- replicas: 3- ateomImage: ko://github.com/agent-substrate/substrate/cmd/ateom-gvisor-----apiVersion: ate.dev/v1alpha1-kind: ActorTemplate-metadata:- name: hello-world-template- namespace: custom-harness-spec:- workerPoolRef:- name: custom-harness-workerpool- namespace: custom-harness- runsc:- amd64:- url: "gs://gvisor/releases/nightly/2026-05-19/x86_64/runsc"- sha256Hash: "a397be1abc2420d26bce6c70e6e2ff96c73aaaab929756c56f5e2089ea842b63"- arm64:- url: "gs://gvisor/releases/nightly/2026-05-19/aarch64/runsc"- sha256Hash: "1ba2366ae2efceba166046f51a4104f9261c9cb72c6db8f5b3fe2dc57dea86b9"- pauseImage: "gcr.io/gke-release/pause@sha256:bcbd57ba5653580ec647b16d8163cdd1112df3609129b01f912a8032e48265da"- containers:- - name: "axharness"- image: ko://github.com/google/ax/cmd/ax- # Serve on 80: substrate's actor networking only DNATs workerPodIP:80.- command: ["/ko-app/ax", "harness", "--port", "80"]- snapshotsConfig:- location: gs://${BUCKET_NAME}/hello-world/----+# ---------------------------------------------------------------------------# AX Server# ---------------------------------------------------------------------------@@ -167,8 +126,3 @@ data:# Built-in harnessantigravity:- id: antigravity- # Custom harness- substrate:- - id: hello-world- namespace: custom-harness- template: hello-world-template