Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
fix(e2e,mobile,bench,docs): fix Bats Helm release name, mobile E2E script paths, bench test race, and docs URLs
Antonio Ojea9d4bd0b43241
diff --git a/.devcontainer/testnet/Dockerfile b/.devcontainer/testnet/Dockerfileindex 93fce4d2..b4c25ea9 100644--- a/.devcontainer/testnet/Dockerfile+++ b/.devcontainer/testnet/Dockerfile@@ -1,7 +1,7 @@# A mesh without a toolchain: the released agentmesh-one and agentmesh-node binaries are# copied out of the published images. AGENTMESH_CHANNEL selects `stable` (the last-# release tag, what hub.__PROTECT_Agent Mesh_MESH_DEV__ runs) or `latest` (main, what-# bananas.__PROTECT_Agent Mesh_MESH_DEV__ runs).+# release tag, what hub.sam-mesh.dev runs) or `latest` (main, what+# bananas.sam-mesh.dev runs).ARG AGENTMESH_CHANNEL=stableFROM ghcr.io/google/agentmesh-one:${AGENTMESH_CHANNEL} AS agentmesh-oneFROM ghcr.io/google/agentmesh-node:${AGENTMESH_CHANNEL} AS agentmesh-nodediff --git a/.dockerignore b/.dockerignoreindex fb493e90..508ac32d 100644--- a/.dockerignore+++ b/.dockerignore@@ -34,7 +34,7 @@ dist/*.test*.outcoverage.*-mobile/sam-node-app/build/+mobile/agentmesh-node-app/build/sdk/js/build/site/public/site/resources/diff --git a/.vscode/mcp.json b/.vscode/mcp.jsonindex 0a8377a9..ab87e1ee 100644--- a/.vscode/mcp.json+++ b/.vscode/mcp.json@@ -2,17 +2,17 @@"inputs": [{"type": "promptString",- "id": "sam-api-token",- "description": "SAM node API token (the SAM_API_TOKEN the node was started with)",+ "id": "agentmesh-api-token",+ "description": "Agent Mesh node API token (the AGENTMESH_API_TOKEN the node was started with)","password": true}],"servers": {- "sam-mesh": {+ "agentmesh": {"type": "http","url": "http://localhost:8080/mcp","headers": {- "X-Mesh-Authentication": "Bearer ${input:sam-api-token}"+ "X-Mesh-Authentication": "Bearer ${input:agentmesh-api-token}"}}}diff --git a/AGENTS.md b/AGENTS.mdindex 54f5447b..4e3f241d 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -41,6 +41,6 @@ Enforce strict modularity in testing. The repository uses a defined testing pyra* Ensure e2e test passes `make e2e-test`## 6. Environments-* There are two public testnets available `hub.__PROTECT_Agent Mesh_MESH_DEV__` that is deployed from the latest released tag and `bananas.__PROTECT_Agent Mesh_MESH_DEV__` that is deployed from the `main` branch.+* There are two public testnets available `hub.sam-mesh.dev` that is deployed from the latest released tag and `bananas.sam-mesh.dev` that is deployed from the `main` branch.* Their configurations can be found under `.github/k8s`.* Their deployments are managed under `.github/workflows/deploy.yaml`.diff --git a/README.md b/README.mdindex fef0de94..42c48fb6 100644--- a/README.md+++ b/README.md@@ -25,17 +25,17 @@ Two properties hold everywhere:## Try it```bash-curl -sL https://__PROTECT_Agent Mesh_MESH_DEV__/install.sh | bash # agentmesh-node, mcp-client and friends-agentmesh-node join https://bananas.__PROTECT_Agent Mesh_MESH_DEV__ # one-time login+curl -sL https://sam-mesh.dev/install.sh | bash # agentmesh-node, mcp-client and friends+agentmesh-node join https://bananas.sam-mesh.dev # one-time loginagentmesh-node run --daemonize # local MCP server on 127.0.0.1:8080agentmesh-node skill install # teach your agent to use it```Your agent now has tools that discover and call services across the mesh,and an OpenAI-compatible endpoint that routes model requests to whoever-serves the model. `bananas.__PROTECT_Agent Mesh_MESH_DEV__` is a shared developer testnet with-no uptime promise; the [quick start](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/getting-started/quickstart/)-walks through it, and [your own mesh](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/getting-started/your-own-mesh/)+serves the model. `bananas.sam-mesh.dev` is a shared developer testnet with+no uptime promise; the [quick start](https://sam-mesh.dev/docs/getting-started/quickstart/)+walks through it, and [your own mesh](https://sam-mesh.dev/docs/getting-started/your-own-mesh/)runs a control plane on your laptop in one command.To run a control plane of your own without installing anything, open a@@ -45,7 +45,7 @@ on your GitHub account's free quota:[](https://codespaces.new/google/agentmesh?quickstart=1&devcontainer_path=.devcontainer%2Ftestnet%2Fdevcontainer.json)-The [Codespaces guide](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/guides/codespaces/) has the+The [Codespaces guide](https://sam-mesh.dev/docs/guides/codespaces/) has thesteps, what persists and what stops.## What is in a mesh@@ -59,14 +59,14 @@ steps, what persists and what stops.## Documentation-[__PROTECT_Agent Mesh_MESH_DEV__/docs](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/) is built from `site/`.+[sam-mesh.dev/docs](https://sam-mesh.dev/docs/) is built from `site/`.-- [Getting started](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/getting-started/): one node on the testnet, then a mesh of your own.-- [Concepts](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/concepts/): architecture, identity and enrollment, authorization, networking.-- [Guides](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/guides/): exposing services, connecting agent clients, headless enrollment, Kubernetes, Cloud Run.-- [Reference](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/reference/): every flag, configuration key, HTTP route and policy field.-- [Preview](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/preview/): sandboxed agents and the mobile app, which work but are still settling.-- [Contributing](https://__PROTECT_Agent Mesh_MESH_DEV__/docs/contributing/): building, testing and the local kind environment.+- [Getting started](https://sam-mesh.dev/docs/getting-started/): one node on the testnet, then a mesh of your own.+- [Concepts](https://sam-mesh.dev/docs/concepts/): architecture, identity and enrollment, authorization, networking.+- [Guides](https://sam-mesh.dev/docs/guides/): exposing services, connecting agent clients, headless enrollment, Kubernetes, Cloud Run.+- [Reference](https://sam-mesh.dev/docs/reference/): every flag, configuration key, HTTP route and policy field.+- [Preview](https://sam-mesh.dev/docs/preview/): sandboxed agents and the mobile app, which work but are still settling.+- [Contributing](https://sam-mesh.dev/docs/contributing/): building, testing and the local kind environment.The repository has a dev container with the Go, Node and Python toolchainsand Docker, so you can build and test in a codespace or in VS Code withoutdiff --git a/install.sh b/install.shindex ea57fff3..2b6a100f 100755--- a/install.sh+++ b/install.sh@@ -1,10 +1,10 @@#!/usr/bin/env bashset -euo pipefail-REPO="google/sam"+REPO="google/agentmesh"INSTALL_DIR="/usr/local/bin"-echo "Installing SAM from $REPO..."+echo "Installing Agent Mesh from $REPO..."# Get OS and ArchOS="$(uname -s)"@@ -36,9 +36,6 @@ fiecho "Found latest version: ${VERSION}"-# Construct download URL (matches goreleaser name template)-TAR_NAME="sam_${OS_NAME}_${ARCH_NAME}.tar.gz"-DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${VERSION}/${TAR_NAME}"CHECKSUMS_URL="https://github.com/${REPO}/releases/download/${VERSION}/checksums.txt"# Create a temporary directory@@ -46,24 +43,32 @@ TMP_DIR=$(mktemp -d)trap 'rm -rf "$TMP_DIR"' EXITcd "$TMP_DIR"-echo "Downloading ${DOWNLOAD_URL}..."-if ! curl -sfL -o "${TAR_NAME}" "${DOWNLOAD_URL}"; then- echo "Error: Failed to download ${DOWNLOAD_URL}"- exit 1-fi-echo "Downloading ${CHECKSUMS_URL}..."if ! curl -sfL -o checksums.txt "${CHECKSUMS_URL}"; thenecho "Error: Failed to download ${CHECKSUMS_URL}"exit 1fi-echo "Verifying SHA-256 checksum..."+# Construct download URL (matches goreleaser name template, with fallback for pre-rename tags)+TAR_NAME="agentmesh_${OS_NAME}_${ARCH_NAME}.tar.gz"EXPECTED_SUM=$(awk -v f="${TAR_NAME}" '$2 == f {print $1}' checksums.txt)if [ -z "${EXPECTED_SUM}" ]; then- echo "Error: ${TAR_NAME} not found in checksums.txt"+ TAR_NAME="sam_${OS_NAME}_${ARCH_NAME}.tar.gz"+ EXPECTED_SUM=$(awk -v f="${TAR_NAME}" '$2 == f {print $1}' checksums.txt)+fi+if [ -z "${EXPECTED_SUM}" ]; then+ echo "Error: archive for ${OS_NAME}_${ARCH_NAME} not found in checksums.txt"exit 1fi++DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${VERSION}/${TAR_NAME}"+echo "Downloading ${DOWNLOAD_URL}..."+if ! curl -sfL -o "${TAR_NAME}" "${DOWNLOAD_URL}"; then+ echo "Error: Failed to download ${DOWNLOAD_URL}"+ exit 1+fi++echo "Verifying SHA-256 checksum..."if command -v sha256sum >/dev/null 2>&1; thenACTUAL_SUM=$(sha256sum "${TAR_NAME}" | awk '{print $1}')elif command -v shasum >/dev/null 2>&1; then@@ -82,14 +87,14 @@ tar -xzf "${TAR_NAME}"echo "Installing to ${INSTALL_DIR} (may require sudo)..."INSTALLED_BINS=()-for b in sam-one sam-node sam-control-plane sam-router mcp-client sam-console; do+for b in agentmesh-one agentmesh-node agentmesh-control-plane agentmesh-router mcp-client agentmesh-console sam-one sam-node sam-control-plane sam-router sam-console; doif [ -f "$b" ]; thenINSTALLED_BINS+=("$b")fidoneif [ ${#INSTALLED_BINS[@]} -eq 0 ]; then- echo "Error: No SAM binaries found in release archive."+ echo "Error: No Agent Mesh binaries found in release archive."exit 1fi@@ -103,5 +108,5 @@ ficd - > /dev/nullrm -rf "$TMP_DIR"-echo "Successfully installed SAM (${VERSION}) to ${INSTALL_DIR}"-echo "Run 'sam-node --help' to get started."+echo "Successfully installed Agent Mesh (${VERSION}) to ${INSTALL_DIR}"+echo "Run 'agentmesh-node --help' to get started."diff --git a/internal/bench/join_test.go b/internal/bench/join_test.goindex 173b1a64..93bbd534 100644--- a/internal/bench/join_test.go+++ b/internal/bench/join_test.go@@ -326,10 +326,13 @@ func TestRunJoinCancelEndsTheHoldWithAReport(t *testing.T) {opts.SampleInterval = 50 * time.Millisecondctx, cancel := context.WithCancel(context.Background())- go func() {- time.Sleep(1500 * time.Millisecond)- cancel()- }()+ defer cancel()+ opts.OnResident = func(*JoinReport) {+ go func() {+ time.Sleep(250 * time.Millisecond)+ cancel()+ }()+ }done := make(chan struct{})var report *JoinReportvar err errordiff --git a/mobile/mobile_e2e.sh b/mobile/mobile_e2e.shindex 9f9361ef..a08b2c92 100755--- a/mobile/mobile_e2e.sh+++ b/mobile/mobile_e2e.sh@@ -22,17 +22,17 @@ cd "$REPO_ROOT"# Helper to kill background processes and docker containers on exitcleanup() {echo "[E2E] Cleaning up background processes and containers..."- echo "=== DOCKER LOGS: sam-control-plane ==="- docker logs sam-control-plane 2>&1 || true- echo "=== DOCKER LOGS: sam-router ==="- docker logs sam-router 2>&1 || true+ echo "=== DOCKER LOGS: agentmesh-control-plane ==="+ docker logs agentmesh-control-plane 2>&1 || true+ echo "=== DOCKER LOGS: agentmesh-router ==="+ docker logs agentmesh-router 2>&1 || trueecho "=== DOCKER LOGS: host-node ==="docker logs host-node 2>&1 || trueecho "=== DOCKER LOGS: host-mock-mcp ==="docker logs host-mock-mcp 2>&1 || trueecho "==============================="- docker kill host-node sam-control-plane sam-router mock-oidc host-mock-mcp >/dev/null 2>&1 || true- docker network rm sam-net >/dev/null 2>&1 || true+ docker kill host-node agentmesh-control-plane agentmesh-router mock-oidc host-mock-mcp >/dev/null 2>&1 || true+ docker network rm agentmesh-net >/dev/null 2>&1 || truerm -rf /tmp/host-node-data /tmp/control-plane-data /tmp/router-dataadb reverse --remove-all || true}@@ -55,22 +55,22 @@ setup_env() {# docker images and the Android FFI library in one parallel make run.go build -v -o "$REPO_ROOT/bin/mcp-client" ./cmd/mcp-clientmake -j4 docker-build-control-plane docker-build-router docker-build-node docker-build-mock-oidc mobile-ffi-android-x86_64-mkdir -p mobile/sam-node-app/android/app/src/main/jniLibs/x86_64-cp bin/android-x86_64/libsam.so mobile/sam-node-app/android/app/src/main/jniLibs/x86_64/libsam.so+mkdir -p mobile/agentmesh-node-app/android/app/src/main/jniLibs/x86_64+cp bin/android-x86_64/libsam.so mobile/agentmesh-node-app/android/app/src/main/jniLibs/x86_64/libsam.so# Warm the app dependencies so the emulator-attached phase goes straight to# the gradle build.-(cd mobile/sam-node-app && flutter pub get)+(cd mobile/agentmesh-node-app && flutter pub get)# Create Docker bridge network-docker network create sam-net || true+docker network create agentmesh-net || true# 3. Start the mock OIDC server containerdocker run --name mock-oidc \- --network sam-net \+ --network agentmesh-net \-p 18080:18080 \-d --rm \- sam-mock-oidc:local+ agentmesh-mock-oidc:local# Wait for OIDC server to be readytimeout 15s bash -c 'until curl -s http://127.0.0.1:18080/ >/dev/null; do sleep 0.5; done'@@ -79,38 +79,38 @@ timeout 15s bash -c 'until curl -s http://127.0.0.1:18080/ >/dev/null; do sleeprm -rf /tmp/control-plane-data /tmp/router-datamkdir -p /tmp/control-plane-data /tmp/router-data-docker run --name sam-control-plane \- --network sam-net \+docker run --name agentmesh-control-plane \+ --network agentmesh-net \-p 37001:37001 \--user "$(id -u):$(id -g)" \-v /tmp/control-plane-data:/data \- -e SAM_ADMIN_TOKEN=secret-admin-token \+ -e AGENTMESH_ADMIN_TOKEN=secret-admin-token \-d --rm \- sam-control-plane:local \+ agentmesh-control-plane:local \--bind-address 0.0.0.0:37001 \--db-driver sqlite \--db-dsn /data/control-plane.db \--issuer http://mock-oidc:18080 \- --allowed-audiences agentmesh-audience,sam-control-plane-audience \+ --allowed-audiences agentmesh-audience,agentmesh-control-plane-audience,sam-mesh-audience,sam-control-plane-audience \--insecure-skip-tls-verify \--log-level debugROUTER_JWT=$(curl -s -X POST -d "grant_type=client_credentials&client_id=router-client&client_secret=test-secret" http://127.0.0.1:18080/token | jq -r .access_token)-docker run --name sam-router \- --network sam-net \+docker run --name agentmesh-router \+ --network agentmesh-net \-p 37002:37002 \--user "$(id -u):$(id -g)" \-v /tmp/router-data:/data \-d --rm \- sam-router:local \- --control-plane http://sam-control-plane:37001 \+ agentmesh-router:local \+ --control-plane http://agentmesh-control-plane:37001 \--insecure-control-plane \--listen /ip4/0.0.0.0/tcp/37002 \--listen /ip4/0.0.0.0/udp/37002/quic-v1 \--external-addr /ip4/10.0.2.2/tcp/37002 \--external-addr /ip4/127.0.0.1/tcp/37002 \- --external-addr /dns4/sam-router/tcp/37002 \+ --external-addr /dns4/agentmesh-router/tcp/37002 \--oidc-token "$ROUTER_JWT" \--keys-path /data/router.key \--allow-loopback \@@ -147,7 +147,7 @@ HOST_JWT=$(curl -s -X POST -d "grant_type=client_credentials&client_id=test-clie# before the node: services are declared in the node's configuration, there# is no runtime registration endpoint.docker run --name host-mock-mcp \- --network sam-net \+ --network agentmesh-net \-p 9091:9091 \-d --rm \python:3.12 python3 -c '@@ -240,17 +240,17 @@ services:EOFdocker run --name host-node \- --network sam-net \+ --network agentmesh-net \-p 8081:8081 \--user "$(id -u):$(id -g)" \-v /tmp/host-node-data:/data \--add-host=host.docker.internal:host-gateway \- -e SAM_API_TOKEN=host-token \+ -e AGENTMESH_API_TOKEN=host-token \-d --rm \- sam-node:local \+ agentmesh-node:local \run \--data-dir /data \- --control-plane http://sam-control-plane:37001 \+ --control-plane http://agentmesh-control-plane:37001 \--insecure-control-plane \--jwt "$HOST_JWT" \--bind-addr 0.0.0.0:8081 \@@ -272,7 +272,7 @@ adb reverse tcp:37002 tcp:37002# 7. Run the Flutter integration test against the running emulator.# On CI this phase runs inside ReactiveCircus/android-emulator-runner,# so the emulator is already started and adb is fully connected to it.-cd mobile/sam-node-app+cd mobile/agentmesh-node-app# Run Flutter integration testflutter test integration_test/e2e_test.dart &diff --git a/site/content/docs/_index.md b/site/content/docs/_index.mdindex 12180131..1a65b167 100644--- a/site/content/docs/_index.md+++ b/site/content/docs/_index.md@@ -51,7 +51,7 @@ Two rules apply to every mesh:## About the public testnets-`bananas.__PROTECT_Agent Mesh_MESH_DEV__` (built from `main`) and `hub.__PROTECT_Agent Mesh_MESH_DEV__` (built from+`bananas.sam-mesh.dev` (built from `main`) and `hub.sam-mesh.dev` (built fromthe latest release tag) are shared developer testnets that run on donatedresources. They exist for trying things out and for the project's own CI.They have no uptime commitment, and anyone who can log in with thediff --git a/site/content/docs/contributing/_index.md b/site/content/docs/contributing/_index.mdindex 97c3b570..d0326b75 100644--- a/site/content/docs/contributing/_index.md+++ b/site/content/docs/contributing/_index.md@@ -136,7 +136,7 @@ The site is Hugo with the Docsy theme, under `site/`. The deploy workflowpins Hugo 0.136.5, and newer Hugo releases do not build the current Docsyversion, so use that release locally too. Run `npm ci` once in `site/` forthe CSS pipeline, then `hugo server`. The site deploys from `main` to-`__PROTECT_Agent Mesh_MESH_DEV__`. When a page moves, keep its old URL with `aliases` in the+`sam-mesh.dev`. When a page moves, keep its old URL with `aliases` in thefront matter. `tests/e2e/docs_snippets.bats` runs the Python snippet under`site/content/docs/snippets/` against a live node, so a change to thatsnippet is a change to a test.@@ -144,6 +144,6 @@ snippet is a change to a test.## Releases and testnetsA `v*` tag produces a GitHub release with binaries and images through-`goreleaser`, and deploys to the `hub.__PROTECT_Agent Mesh_MESH_DEV__` testnet. Every push to-`main` deploys to `bananas.__PROTECT_Agent Mesh_MESH_DEV__`. [Testnets](testnets/) describes+`goreleaser`, and deploys to the `hub.sam-mesh.dev` testnet. Every push to+`main` deploys to `bananas.sam-mesh.dev`. [Testnets](testnets/) describesboth.diff --git a/site/content/docs/contributing/testnets.md b/site/content/docs/contributing/testnets.mdindex be258162..c952d0c6 100644--- a/site/content/docs/contributing/testnets.md+++ b/site/content/docs/contributing/testnets.md@@ -9,7 +9,7 @@ aliases:The project runs two public meshes for its own testing and for anyone whowants to try the software without deploying anything.-| | `bananas.__PROTECT_Agent Mesh_MESH_DEV__` | `hub.__PROTECT_Agent Mesh_MESH_DEV__` |+| | `bananas.sam-mesh.dev` | `hub.sam-mesh.dev` ||---|---|---|| Built from | every push to `main` | every `v*` tag || Image tag | the commit SHA | the release version |@@ -18,10 +18,10 @@ wants to try the software without deploying anything.Both are deployed by `.github/workflows/deploy.yaml` to a GKE cluster fromthe templates in `.github/k8s/`. Each testnet has a control plane Deploymenton PostgreSQL, a router StatefulSet that announces-`/dnsaddr/bootstrap.<env>.__PROTECT_Agent Mesh_MESH_DEV__` (a DNS-sync CronJob keeps the record+`/dnsaddr/bootstrap.<env>.sam-mesh.dev` (a DNS-sync CronJob keeps the recordcurrent), the console, and a few canary nodes that publish demo services:the MCP `everything` server, an OpenRouter proxy, and a vLLM instance when-one is running. Identity comes from a Dex instance at `auth.__PROTECT_Agent Mesh_MESH_DEV__`+one is running. Identity comes from a Dex instance at `auth.sam-mesh.dev`that accepts Google and GitHub logins, and from the cluster's own issuer forin-cluster workloads.diff --git a/site/content/docs/getting-started/_index.md b/site/content/docs/getting-started/_index.mdindex d21a11e6..161c6fcc 100644--- a/site/content/docs/getting-started/_index.md+++ b/site/content/docs/getting-started/_index.md@@ -17,7 +17,7 @@ Pick the option that matches what you want to do:| Control plane option | How to run it and obtain its URL | Architecture & Ingress | Best for ||---|---|---|---|-| **1. Shared Public Testnet** | Already running — use **`https://bananas.__PROTECT_Agent Mesh_MESH_DEV__`** | Hosted shared control plane and router | Trying `agentmesh-node` and calling your first remote tool or model in 60 seconds ([Quick start](quickstart/)). |+| **1. Shared Public Testnet** | Already running — use **`https://bananas.sam-mesh.dev`** | Hosted shared control plane and router | Trying `agentmesh-node` and calling your first remote tool or model in 60 seconds ([Quick start](quickstart/)). || **2. Local Control Plane (`agentmesh-one`)** | Run `agentmesh-one --data-dir ~/agentmesh-one --tunnel cloudflare --tunnel-install` and copy `API URL:` from the startup banner | Single binary (control plane + router + console) with SQLite and an HTTPS tunnel | Running your own private mesh from a workstation or VM in seconds ([Your own mesh](your-own-mesh/)). || **3. Codespace Control Plane (`agentmesh-one`)** | Open the repository in a [GitHub codespace](../guides/codespaces/), run `make testnet`, make port 8080 public | `agentmesh-one` in a container on your GitHub account, published on `https://<codespace>-8080.app.github.dev` | A control plane of your own with nothing installed and no cloud account, for as long as the codespace runs ([Codespaces](../guides/codespaces/)). || **4. Cloud Control Plane (`agentmesh-one`)** | **[Cloud Run](../guides/cloud-run/)**: `gcloud run deploy agentmesh-one --image ghcr.io/google/agentmesh-one:latest ...`<br>**[SkyPilot](../guides/skypilot/)**: `sky launch -c agentmesh-hub deploy/skypilot/agentmesh-one.yaml` | Always-on `agentmesh-one` with managed TLS/WSS ingress + PostgreSQL or persistent disk *(can also run on cloud free tiers for testing)* | Operating a dedicated production control plane in your own cloud account ([Cloud Run](../guides/cloud-run/) · [SkyPilot](../guides/skypilot/)). |@@ -26,7 +26,7 @@ Pick the option that matches what you want to do:## Walkthroughs-1. **[Quick start](quickstart/)**: Join the public `bananas.__PROTECT_Agent Mesh_MESH_DEV__`+1. **[Quick start](quickstart/)**: Join the public `bananas.sam-mesh.dev`testnet, discover remote MCP tools and inference models, and give your AIagent the Agent Mesh skill.2. **[Your own mesh](your-own-mesh/)**: Start `agentmesh-one` in one command, grabdiff --git a/site/content/docs/getting-started/quickstart.md b/site/content/docs/getting-started/quickstart.mdindex d0c343c4..9e649006 100644--- a/site/content/docs/getting-started/quickstart.md+++ b/site/content/docs/getting-started/quickstart.md@@ -6,7 +6,7 @@ aliases:- /docs/quickstart/----This page installs `agentmesh-node`, enrolls it in the public `bananas.__PROTECT_Agent Mesh_MESH_DEV__`+This page installs `agentmesh-node`, enrolls it in the public `bananas.sam-mesh.dev`testnet, and calls a tool hosted by another node. It takes a few minutes.The testnet is a shared developer playground with no uptime commitment. See@@ -19,7 +19,7 @@ On Linux and macOS, the install script downloads the latest release andplaces the binaries in `/usr/local/bin`:```bash-curl -sL https://__PROTECT_Agent Mesh_MESH_DEV__/install.sh | bash+curl -sL https://sam-mesh.dev/install.sh | bash```With a Go toolchain, you can build from source instead:@@ -38,13 +38,13 @@ on your `PATH`.Every node joins a mesh by enrolling with a running **control plane** at its**URL**:-- **Shared public testnet (used below)**: `https://bananas.__PROTECT_Agent Mesh_MESH_DEV__` is an already-running control plane open to any developer; it authenticates in your browser.+- **Shared public testnet (used below)**: `https://bananas.sam-mesh.dev` is an already-running control plane open to any developer; it authenticates in your browser.- **Your own control plane**: start your own control plane with `agentmesh-one` on your workstation or in the cloud ([Your own mesh](../your-own-mesh/), [Cloud Run](../../guides/cloud-run/), or [SkyPilot](../../guides/skypilot/)) and copy the `API URL` and `agentmesh-node join` command printed in the `agentmesh-one` startup banner.Enroll your node against the public testnet control plane:```bash-agentmesh-node join https://bananas.__PROTECT_Agent Mesh_MESH_DEV__+agentmesh-node join https://bananas.sam-mesh.dev```The command opens a browser for the login. If no browser is available, itdiff --git a/site/content/docs/guides/codespaces.md b/site/content/docs/guides/codespaces.mdindex 7eb47737..d16f4f28 100644--- a/site/content/docs/guides/codespaces.md+++ b/site/content/docs/guides/codespaces.md@@ -20,8 +20,8 @@ badge, or from **Code → Codespaces → New with options** on GitHub:| Configuration | Contents | For ||---|---|---|-| **testnet** (default badge in the README) | The released `agentmesh-one` and `agentmesh-node` binaries, copied from the `stable` images that also run `hub.__PROTECT_Agent Mesh_MESH_DEV__`. No toolchain. | Trying Agent Mesh, enrolling your devices. |-| **testnet-latest** | The same, from the `latest` images built from `main`, which also run `bananas.__PROTECT_Agent Mesh_MESH_DEV__`. | Trying what is not released yet. |+| **testnet** (default badge in the README) | The released `agentmesh-one` and `agentmesh-node` binaries, copied from the `stable` images that also run `hub.sam-mesh.dev`. No toolchain. | Trying Agent Mesh, enrolling your devices. |+| **testnet-latest** | The same, from the `latest` images built from `main`, which also run `bananas.sam-mesh.dev`. | Trying what is not released yet. || **develop** (`.devcontainer/devcontainer.json`) | Go, Node, Python and Docker. `make build` runs when the codespace is created, so `./bin` holds the binaries of the branch you opened. | Contributing, or developing an SDK program against your own branch. |[](https://codespaces.new/google/agentmesh?quickstart=1&devcontainer_path=.devcontainer%2Ftestnet%2Fdevcontainer.json)diff --git a/site/content/docs/preview/mobile.md b/site/content/docs/preview/mobile.mdindex ad6dc463..8d7a2bac 100644--- a/site/content/docs/preview/mobile.md+++ b/site/content/docs/preview/mobile.md@@ -67,8 +67,8 @@ For the public-testnet option, choose one of these URLs:| Testnet | Control plane URL | When to use it || --- | --- | --- |-| Bananas | `https://bananas.__PROTECT_Agent Mesh_MESH_DEV__` | Recommended for testing current development code. Its servers follow `main`. |-| Hub | `https://hub.__PROTECT_Agent Mesh_MESH_DEV__` | Compare against servers running the latest release. |+| Bananas | `https://bananas.sam-mesh.dev` | Recommended for testing current development code. Its servers follow `main`. |+| Hub | `https://hub.sam-mesh.dev` | Compare against servers running the latest release. |See [Testnets](../../contributing/testnets/) for their access policy andavailability details. For your own mesh, use the HTTPS URL printed by@@ -95,7 +95,7 @@ Then follow option A or option B.3. Leave **Enrollment token** empty. Public-testnet browser login does notrequire a token or QR code.4. Tap **Login & Enroll (Browser)**. Complete the Google or GitHub sign-in- offered by `auth.__PROTECT_Agent Mesh_MESH_DEV__` in the browser on this phone.+ offered by `auth.sam-mesh.dev` in the browser on this phone.5. When the browser shows **Authorization successful!**, return to Agent MeshConnect using the app switcher. Keep the app open while enrollmentfinishes. The browser message only confirms the login callback.diff --git a/site/content/docs/privacy.md b/site/content/docs/privacy.mdindex be94ded9..8a47682e 100644--- a/site/content/docs/privacy.md+++ b/site/content/docs/privacy.md@@ -42,5 +42,5 @@ You can instantly erase all app data, destroy your local node identity, and revoIf you have any questions about this Privacy Policy, architecture, or how your data is handled, please contact us at:-* **Project Website:** [https://__PROTECT_Agent Mesh_MESH_DEV__/](https://__PROTECT_Agent Mesh_MESH_DEV__/)+* **Project Website:** [https://sam-mesh.dev/](https://sam-mesh.dev/)* **GitHub Repository:** [https://github.com/google/agentmesh](https://github.com/google/agentmesh)diff --git a/site/hugo.toml b/site/hugo.tomlindex ed9f7d23..1b68e65e 100644--- a/site/hugo.toml+++ b/site/hugo.toml@@ -1,5 +1,5 @@title = "Agent Mesh"-baseURL = "https://__PROTECT_Agent Mesh_MESH_DEV__"+baseURL = "https://sam-mesh.dev"languageCode = "en-us"enableRobotsTXT = truediff --git a/tests/e2e/lib/container_mesh.bash b/tests/e2e/lib/container_mesh.bashindex 024f3c24..8886c017 100644--- a/tests/e2e/lib/container_mesh.bash+++ b/tests/e2e/lib/container_mesh.bash@@ -438,9 +438,9 @@ if [[ -z "${MESH_HELPERS_LOADED:-}" ]]; then# announce that name. Announcing a node IP instead is unroutable from an isolated test network.# bootstrap.nodeServices: policy.bats asserts the control plane denies an ungranted service, so# this lane pins the grants it tests rather than inheriting the chart default.- local helm_args=(--kube-context="${KUBECONTEXT}" upgrade --install sam ./charts/agentmesh+ local helm_args=(--kube-context="${KUBECONTEXT}" upgrade --install agentmesh ./charts/agentmesh--namespace default- --set fullnameOverride="sam"+ --set fullnameOverride="agentmesh"--set global.imageTag="local"--set controlPlane.oidcIssuer="${ISSUERS//,/\\,}"--set controlPlane.allowedAudiences="agentmesh-audience\,agentmesh-control-plane-audience"@@ -458,13 +458,13 @@ if [[ -z "${MESH_HELPERS_LOADED:-}" ]]; thenif ! "${helm_bin}" "${helm_args[@]}"; then# The reused cluster may hold StatefulSets whose immutable spec (e.g.# volumeClaimTemplates) changed; drop them (PVCs survive) and retry.- kubectl --context="${KUBECONTEXT}" delete statefulset agentmesh-router sam-db --ignore-not-found+ kubectl --context="${KUBECONTEXT}" delete statefulset agentmesh-router agentmesh-db --ignore-not-found"${helm_bin}" "${helm_args[@]}"fi- mesh_wait_for_rollout statefulset/sam-db+ mesh_wait_for_rollout statefulset/agentmesh-dbmesh_wait_for_rollout deployment/agentmesh-control-plane- mesh_wait_for_job job/sam-bootstrap+ mesh_wait_for_job job/agentmesh-bootstrap# A router surviving a reinstall holds a biscuit no current control plane key# verifies and a bootstrap token past its 24h default, so it can never lease# again. Restarting re-enrolls it against the state this run just installed.