Skip to content

About

Agent Substrate in a nutshell — hands-on GKE + gVisor + Google ADK + Antigravity CLI interactive workshop

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

Agent Substrate in a nutshell

Hands-on interactive workshop using a simple example to show how to set up Agent Substrate on GKE and see it in action.


Quick Start (Local or Google Cloud Shell)

# 1. Create a billing-linked workshop project (or reuse ~/project_id.txt)
./setup_project.sh

# 2. Install Python & Node dependencies and launch the workbench (:3000 / :8000)
./setup_codelab.sh

# Or manage the servers directly:
./scripts/start.sh      # Start backend (:8000) + frontend (:3000)
./scripts/stop.sh       # Stop servers without losing state
./scripts/restart.sh    # Wipe progress and start fresh
./scripts/teardown.sh   # Delete GKE cluster, GCS bucket, Artifact Registry repo, SA, and Memory Bank

Open http://localhost:3000 in your browser.


Execution Modes (Live GKE vs. Simulated Lab)

  • Auto-Detected Live GKE Mode: When kubectl is connected to a GKE cluster with ate-system installed (via ~/.kube/config or lab/.kubeconfig), the workshop runs real docker, kubectl apply, kubectl ate, curl, and ssh commands against your live cluster.
  • Simulated Fallback Mode: When running offline or without a provisioned GKE cluster, you can explore every file in <LabFileExplorer />, locally verify entrypoint.py + 4-gemini-egress-policy.yaml, and step through the full Docker build/push, 3-Act Pod multiplexing, live SVG artifact rendering, and SSH sandbox verification flow.
  • Toggle between Simulated and Live GKE anytime in the top status bar.

Provisioning a Live GKE Cluster (Idempotent Setup Scripts)

Steps 1, 3, and 4 of the workshop run these idempotent background scripts directly from the UI (or you can run them from a terminal):

# Step 1: Bootstrap GKE cluster + GCS snapshot bucket and write lab/.kubeconfig
./scripts/setup_gke.sh

# Step 3: Install kubectl-ate and deploy ate-system (control plane, data plane, cred provider)
./scripts/setup_substrate.sh

# Step 4: Configure Workload Identity (0-credential-provider.yaml) and seed Memory Bank
./scripts/setup_memory_bank.sh

Author Verification Suite

# 1. Verify all inspectable lab files exist and are clean
.venv/bin/python scripts/verify_holes.py --root .

# 2. Verify 100% i18n parity across en, es-419, and pt-BR
.venv/bin/python scripts/verify_i18n.py --src web/src

# 3. Typecheck & build frontend bundle
cd web && npm run build

About

Agent Substrate in a nutshell — hands-on GKE + gVisor + Google ADK + Antigravity CLI interactive workshop

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages