Watch the Closed Loop in Action — Enter Anywhere
Pick where your work starts today. Read what happens step by step above, and watch the live closed loop connect below.
No wrestling with long terminal commands. Pick whether you are starting fresh or connecting an active project, review the plain-English Trust Summary, paste one prompt into Antigravity IDE, and let it walk you through every step safely.
git, uv (Python 3.12), Antigravity IDE, and Obsidian
(or any plain Markdown folder — VS Code, Logseq, or docs/).
Source repo: https://github.com/guevae2/google-ecosystem
Antigravity handles installation, vault collision checks, and verification interactively inside your project window—and asks before making changes.
.ecosystem.json + Tagged Vault Folder
google-ecosystem skills and environments are installed locally (and runs scripts/install.py once if needed)..ecosystem.json, and scaffolds your tagged project folder.ecosystem-check at the end to confirm links and safety rules pass.EX).1A-github), Hugging Face (1A-hf), Cloud Run (1A-cloudrun), or the $0 Google Drive (1B) bridge (plus optional --hub-repo and Gemini Notebook ID).old/ archiving only).--dry-run first.Ctrl+V / Cmd+V) → press Enter.
Set up this brand-new repository with Google AI Ecosystem v2 step by step, asking me before making changes or deploying cloud resources: 1. Check if `~/.gemini/config/skills/ecosystem-loop` exists and find my local `google-ecosystem` clone. If missing, ask me for the clone folder (or ask before cloning `https://github.com/guevae2/google-ecosystem.git`) and guide me to run `python3 <ecosystem-repo>/scripts/install.py`. 2. Ask me to confirm: - Project Name (human title) and unique 2-5 uppercase letter `<TAG>` - Local Obsidian Vault (or plain Markdown folder) root path - Handoff bridge choice: `1A-github` (private GitHub hub repo `<you>/agy-handoff-hub`), `1A-hf` (private HF Dataset hub), `1A-cloudrun`, or `1B` ($0 Drive `AGY-Handoff` global fallback) - Optional Hub Repo (`--hub-repo <you>/agy-handoff-hub`) and Gemini Notebook URL or ID 3. Run `uv --directory <ecosystem-repo>/ecosystem-init run --python 3.12 ecosystem-init --repo "<OPEN_WORKSPACE>" --project "<PROJECT>" --tag "<TAG>" --vault "<VAULT>" --handoff-mode <1A-github|1A-hf|1A-cloudrun|1B> [--hub-repo "<OWNER/REPO>"]` (after confirming inputs) and verify zero vault collisions. 4. Run `ecosystem-check` to confirm `OK`, then tell me the 2 quick browser clicks in Chrome to connect `web-skills/ecosystem-planner/SKILL.md`. 5. Guardrails: if I later choose Cloud Run (`scripts/deploy-hub.sh`), show `--dry-run` first; never delete vault files; never put secrets or banned AI model words in Obsidian prose.
Open gemini.google.com/customize/skills and upload web-skills/ecosystem-planner/SKILL.md. Works across all projects.
GitHub (1A-github): Add https://api.githubcopilot.com/mcp/ in gemini.google.com/customize/connectors via a 30-sec GitHub OAuth App.
HF (1A-hf): Add https://huggingface.co/mcp in 1 click.
Drive (1B): Create Drive folder AGY-Handoff.
Use these verified commands if you prefer running setup directly in a shell without Antigravity orchestration:
git clone https://github.com/guevae2/google-ecosystem.git ~/tools/google-ecosystem python3 ~/tools/google-ecosystem/scripts/install.py
uv --directory ~/tools/google-ecosystem/ecosystem-init run --python 3.12 ecosystem-init \ --repo ~/projects/example-app \ --project "Example App" \ --tag EX \ --vault ~/Documents/"Obsidian Vault" \ --handoff-mode 1A-github \ --hub-repo <you>/agy-handoff-hub
# Pull approved plans (with -YYYYMMDD-HHMM suffix) into Obsidian _Handoff/: uv --directory ~/tools/google-ecosystem/ecosystem-hub-mcp run --python 3.12 handoff-sync pull \ --github-repo <you>/agy-handoff-hub \ --dest ~/Documents/"Obsidian Vault"/_Handoff \ --doc-check # (Or swap --github-repo for --hf-repo <you>/agy-handoff-hub or --bucket agy-handoff-<gcp-project-id> --include-inbox)
# Optional Cloud Run Hub (1A-cloudrun, preview first with --dry-run): PROJECT_ID=<gcp-project-id> ALLOWED_EMAIL=<you@example.com> \ OAUTH_CLIENT_ID=<web-oauth-client-id> \ OAUTH_CLIENT_SECRET_FILE=~/secret.txt \ ~/tools/google-ecosystem/scripts/deploy-hub.sh --dry-run
~/.config/google-ecosystem/projects.json.
0 files are created or edited inside your active codebase or your existing Obsidian Master / Start here / Diary notes.
Synced web plans land strictly inside _Handoff/.
scripts/install.py once) and reads projects.json safely.ecosystem-init --register-only (including optional --alias names).<= 16 KiB) for your review before publishing to the Hub or Notebook.--alias)..ecosystem.json or new files inside your live repository.Master, Start here, or Diary notes._Handoff/.Ctrl+V / Cmd+V) → press Enter.
Connect this active repository to Google AI Ecosystem v2 in strict ZERO-TOUCH mode (do NOT create `.ecosystem.json` or modify any code file or existing Master/Diary/Start here Obsidian note): 1. Check if `~/.gemini/config/skills/ecosystem-loop` is installed and locate my local `google-ecosystem` clone; if missing, ask before cloning `https://github.com/guevae2/google-ecosystem.git` and help me run `python3 <ecosystem-repo>/scripts/install.py`. 2. Read `~/.config/google-ecosystem/projects.json` first (prefer any canonical entry without `alias_of`). If this repo is not registered yet, ask me to confirm: - Canonical Project Name and optional short `--alias` names - Unique 2-5 uppercase letter `<TAG>` - Local Obsidian Vault (or plain Markdown folder) root path and existing `--vault-folder` name - Handoff mode (`1A-github`, `1A-hf`, `1A-cloudrun`, or `1B` Drive) + optional `--hub-repo <you>/agy-handoff-hub` + optional `--notebook-id` 3. After my confirmation, run: `uv --directory <ecosystem-repo>/ecosystem-init run --python 3.12 ecosystem-init --register-only --repo "<OPEN_WORKSPACE>" --project "<PROJECT>" [--alias "<ALT>"] --tag "<TAG>" --vault "<VAULT>" --vault-folder "<FOLDER>" --handoff-mode <MODE> [--hub-repo "<OWNER/REPO>"] [--notebook-id "<ID>"]` Confirm `git status` shows 0 files added/changed in my repo and 0 existing Obsidian notes touched. 4. Draft a clean 1-page read-only Snapshot (<= 16 KiB, zero secrets, zero banned AI model words in prose), show it to me for approval, then publish via `handoff-sync push-snapshot` (updates `projects/INDEX.md` + `projects/<slug>/snapshot.md` on GitHub/HF hubs). 5. Remind me of the 2 quick clicks in Chrome so `@GitHub MCP Server`, `@Hugging Face`, or Cloud Run can read live status and save `-YYYYMMDD-HHMM.md` plans cleanly.
If you have not done so yet, upload web-skills/ecosystem-planner/SKILL.md once under gemini.google.com/customize/skills.
@Connector
Open a Gemini chat, attach your Notebook via + → NotebookLM, and type @ to select GitHub MCP Server, Hugging Face, or Cloud Run (or save drafts to Drive AGY-Handoff).
Verified zero-touch CLI commands and coordinator prompt for manual operators:
uv --directory ~/tools/google-ecosystem/ecosystem-init run --python 3.12 ecosystem-init \ --register-only \ --repo ~/projects/live-repo \ --project "Live Project (Folder Name)" \ --alias "live-repo" \ --alias "Folder Name" \ --tag LP \ --vault ~/Documents/"Obsidian Vault" \ --vault-folder "Existing Obsidian Folder" \ --handoff-mode 1A-github \ --hub-repo <you>/agy-handoff-hub \ --notebook-id "<OPTIONAL_NOTEBOOK_ID>"
uv --directory ~/tools/google-ecosystem/ecosystem-hub-mcp run --python 3.12 handoff-sync push-snapshot \ --github-repo <you>/agy-handoff-hub \ --project "Live Project (Folder Name)" \ --tag LP \ --file /tmp/lp_snapshot.md \ --git-sha "$(git -C ~/projects/live-repo rev-parse --short HEAD 2>/dev/null || echo non-git)"
/ecosystem-loop Read ~/.config/google-ecosystem/projects.json for my active repo (pick the canonical entry without alias_of). Keep existing repo and Master/Diary files untouched; land pulled plans only in _Handoff/.
@<HubConnector> read projects/INDEX.md and projects/<project-slug>/snapshot.md in <you>/agy-handoff-hub, draft "<Plan Title>" as status="draft" first with a -YYYYMMDD-HHMM suffix, and wait for my approval.
Sorted from most readable & zero-server to managed GCP and worldwide Drive fallback. Private hub repos isolate each project under projects/<slug>/ with projects/INDEX.md and -YYYYMMDD-HHMM plan filenames—while keeping code repos 100% Zero-Touch. (Obsidian is optional: any plain Markdown folder works identically.)
1A-github) ★
$0 · Zero servers · Best readability
Best for: Clean Markdown UI, full git diff tracking, and isolated projects/<slug>/ folders without GCP setup.
Walkthrough: Create private <you>/agy-handoff-hub. In Chrome + Custom, enter https://api.githubcopilot.com/mcp/ → Copy redirect URI → register a 30-sec GitHub OAuth App at github.com/settings/applications/new (leave wildcard unchecked, keep Expire user access tokens checked), paste ID + Secret, and sync locally with handoff-sync pull --github-repo.
1A-hf) ★
$0 · 1-Click OAuth · ML & Colab
Best for: Fastest 1-click OAuth connector + Colab ML runs stored cleanly under projects/<slug>/runs/.
Walkthrough: Create private Dataset repo <you>/agy-handoff-hub. In Chrome + Custom, enter https://huggingface.co/mcp and sign in once (grants create_repo, hf_fs, hf_fs_write). Sync locally with handoff-sync pull --hf-repo.
1A-cloudrun)
$0 Always-Free (~$0.12/mo secrets)
Best for: Strict write-time server linter before bytes touch storage + GCS OAuth DCR.
Walkthrough: Run scripts/deploy-hub.sh --dry-run then deploy (BASE_URL + Google OAuth Web Client), connect in Chrome via DCR, and sync with handoff-sync pull --bucket ... --include-inbox.
1B)
$0 · Works worldwide
Best for: Regions outside US Developer Mode or zero external setup.
Walkthrough: Upload web-skills/ecosystem-planner/SKILL.md, create Google Drive folder AGY-Handoff, save approved draft Docs, and tell Antigravity run handoff-sync.
Pick what you are doing right now. Every workflow starts with a plain-English Trust Summary and a 1-Paste Prompt—no manual flag guessing required.
@GitHub, @Hugging Face, or @CloudRunrun handoff-sync in Antigravity
projects/INDEX.md + projects/<slug>/snapshot.md & runs/ (or Cloud Run read_project_context).-YYYYMMDD-HHMM.md plans into inbox/ so Antigravity auto-tags cleanly into _Handoff/.status: draft first and awaits your explicit confirmation before marking status: approved.Master / Diary notes directly.<TAG> prefixes remotely (handoff-sync resolves your local tag).@ to select GitHub MCP Server, Hugging Face, or Cloud Run Hub, replace bracketed names, then send. After approving, tell Antigravity: run handoff-sync.
@<GitHub MCP Server or Hugging Face> read projects/INDEX.md and projects/<project-slug>/snapshot.md in <you>/agy-handoff-hub, draft "<Plan Title>" to projects/<project-slug>/inbox/<title-slug>-YYYYMMDD-HHMM.md as status="draft" first, and wait for my approval before marking status="approved".
uv --directory ~/tools/google-ecosystem/ecosystem-hub-mcp run --python 3.12 handoff-sync pull \ --github-repo <you>/agy-handoff-hub \ --dest ~/Documents/"Obsidian Vault"/_Handoff \ --doc-check # Or use --hf-repo <you>/agy-handoff-hub | --bucket agy-handoff-<gcp-project-id> --include-inbox
list_sources first so your Notebook stays duplicate-free, then uploads a focused error/question source.<= 16 KiB Snapshot via handoff-sync push-snapshot and pauses cleanly._Snapshots/.0 while you research in Web App / Notebook..env secrets, tokens, or banned AI model words into Notebook sources or Snapshots./ecosystem-loop Pause coding and run a mid-build research detour for this repo: 1. Read the canonical entry (without alias_of) in ~/.config/google-ecosystem/projects.json to get project, tag, and notebook_id. 2. Prepare a focused troubleshooting Markdown note (symptoms, exact error/file paths, open questions; zero secrets and zero banned model words) and check `list_sources` first so we do not duplicate existing sources before adding it to `notebooks/<notebook_id>`. 3. Show me a 1-page Snapshot (<= 16 KiB) for approval, then publish via `handoff-sync push-snapshot`. 4. Stop cleanly here so I can research in Gemini Notebook / Web App without burning builder quota.
uv --directory ~/tools/google-ecosystem/ecosystem-hub-mcp run --python 3.12 handoff-sync push-snapshot \ --github-repo <you>/agy-handoff-hub \ --project "<Project Name>" \ --tag <TAG> \ --file /tmp/snapshot.md \ --git-sha "$(git rev-parse --short HEAD 2>/dev/null || echo non-git)"
status: implemented notes older than 14 days into _Handoff/old/ and runs ecosystem-check.ecosystem-hygiene --dry-run first so you see which implemented handoff notes qualify before archiving.old/ only).draft or approved plans that have not been marked implemented./schedule. Keeps both Cloud Hub and local Vault in sync.
/ecosystem-loop Run post-build closeout for this project: 1. Draft an updated 1-page Snapshot (<= 16 KiB, zero secrets, zero banned model words) reflecting verified tests, commits, and next gates, show it to me for approval, then publish via `handoff-sync push-snapshot`. 2. Also preview `/handoff-hygiene` (`ecosystem-hygiene --max-age-days 14 --dry-run`) on `_Handoff/` and archive approved `implemented` notes older than 14 days into `_Handoff/old/` (never delete). 3. Run `ecosystem-check` on my vault folder and report `OK`.
uv --directory ~/tools/google-ecosystem/ecosystem-init run --python 3.12 ecosystem-hygiene \ --handoff-dir ~/Documents/"Obsidian Vault"/_Handoff \ --vault ~/Documents/"Obsidian Vault" \ --project-folder ~/Documents/"Obsidian Vault"/"<Project Vault Folder>" \ --max-age-days 14 --dry-run uv --directory ~/tools/google-ecosystem/ecosystem-init run --python 3.12 ecosystem-check \ --vault ~/Documents/"Obsidian Vault" \ --folder ~/Documents/"Obsidian Vault"/"<Project Vault Folder>"
log_run() from colab-helper/log_run.py to validate finite numbers and write a JSON scorecard to GCS _Runs/ (and/or Drive ML-Hub).read_project_context.google.colab.auth.authenticate_user() prompt once per runtime session.16 KiB, non-finite numbers, secret tokens, or banned model names before upload._Runs/—store heavy checkpoints in Drive ML-Hub/ and pass drive_url._Runs/<project-slug>/ so your next planning session plans from measured benchmarks.
# Point Python to colab-helper/log_run.py in your Drive or cloned repo:
from log_run import log_run
result = log_run(
project="Example App",
run_id="eval-01",
metrics={"eval_loss": 0.412, "accuracy": 0.918, "tokens_per_sec": 142.5},
github_repo="<you>/agy-handoff-hub", # or hf_repo= / bucket=
drive_dir="/content/drive/MyDrive/ML-Hub/colab-runs",
drive_url="https://drive.google.com/drive/folders/<OPTIONAL_RUN_FOLDER_ID>",
notes="Baseline checkpoint verified with zero NaNs",
)
print("Logged:", result["github_url"] or result["hf_url"] or result["gcs_uri"], result["drive_path"])
uv --directory ~/tools/google-ecosystem/ecosystem-hub-mcp run --python 3.12 handoff-sync log-run \ --github-repo <you>/agy-handoff-hub \ --file /tmp/run_card.json
AGY-Handoff Drive folder with zero Cloud Run connectors.gdrive / gdocs, lints it, auto-tags <TAG>, and lands it in _Handoff/.status: draft in the Google Doc summary and waits for your approval before Antigravity pulls._Handoff/.web-skills/ecosystem-planner/SKILL.md enabled, paste below (no @Connector needed), then tell Antigravity: run handoff-sync (Drive mode).
Using the ecosystem-planner skill (Drive AGY-Handoff mode), draft a plan for "<Project Name>" titled "<Plan Title>" as a Google Doc in my `AGY-Handoff` folder. Include Goal, Constraints / Risks, Ordered Steps, and Verification Gate, keep `status: draft` until I approve, do NOT invent a `<TAG>` prefix in the title, and include zero secrets or AI vendor/model names in prose.
uv --directory ~/tools/google-ecosystem/ecosystem-init run --python 3.12 ecosystem-init \ --repo ~/projects/example-app \ --project "Example App" \ --tag EX \ --vault ~/Documents/"Obsidian Vault" \ --handoff-mode 1B \ --drive-folder AGY-Handoff
Pick where your work starts today. Read what happens step by step above, and watch the live closed loop connect below.
Real fixes from live testing. Type any symptom or filter by area—clicking a direct #faq-... link opens that answer automatically.
Custom MCP connectors only attach to turns where you explicitly bind them with @. Simply adding a connector in Settings does not inject it into every chat automatically.
Fix: Start your message by typing @, pick your Hub connector chip from the dropdown, and send. If you leave it unbound (or outside US Developer Mode), ecosystem-planner cleanly falls back to saving drafts in your Google Drive AGY-Handoff folder.
When a connector upgrades or its refresh token rotates, Gemini’s Reconnect button can stall after /auth/callback while reusing an old revoked OAuth client (401 invalid_grant).
Fix: Open gemini.google.com/customize/connectors, delete the old connector entry, and add it fresh with your Hub URL. Dynamic Client Registration creates clean state persisted in GCS _oauth/.
Yes. Custom remote MCP connectors are rolling out US-first, but the Google Drive bridge (--handoff-mode 1B) works worldwide at $0 with zero GCP project or Cloud Run setup.
Fix: Upload web-skills/ecosystem-planner/SKILL.md under Customize → Skills, create a Google Drive folder named AGY-Handoff, and tell Antigravity run handoff-sync to pull plans via Workspace tools.
No—as long as you use Category B (--register-only). It writes only to your workstation registry at ~/.config/google-ecosystem/projects.json.
Safety guarantee: 0 .ecosystem.json or config files are added to your live repository, 0 existing Master, Start here, or Diary notes are edited, and pulled web plans land strictly inside _Handoff/.
The server linter rejects writes that violate any of four safety rules before touching storage:
1) Secrets: Token patterns like sk-..., AIza..., ghp_..., AKIA..., or hf_... are blocked.
2) Size limits: Handoff plans cap at 204,800 bytes; Snapshots and Colab Run Cards cap at 16,384 bytes.
3) Banned vendor/model words in prose: AI model/vendor names are blocked outside https:// or file:// links (write “web planner” or “research notebook” instead).
4) Filenames & path traversal: Missing/invalid <TAG> format or .. path segments are rejected.
missing_code on localhost?
Local port-monitoring daemons (sweeping localhost ports such as 8085–8184) can hit the ephemeral OAuth callback socket before Google completes the browser redirect, causing missing_code.
Fix: Exempt gcloud OAuth callback listeners via process inspection or run ADC login with --no-launch-browser. Also verify NOTEBOOK_MCP_ENDPOINT and NOTEBOOK_GCP_PROJECT are exported cleanly in your Notebook MCP config.
Path 1B (Google Drive): $0/mo always.
Path 1A (Cloud Run Hub): Cloud Run in us-central1 with min-instances=0 and standard GCS storage sit inside Google Cloud’s Always-Free tier ($0 at personal solo traffic). Only Secret Manager versions (oauth-client-secret for OAUTH_CLIENT_SECRET + jwt-signing-key for JWT_SIGNING_KEY) cost ~$0.12/mo if your account’s 6 free secret versions are already used—covered by Developer Program credits.
No. The Unified Hub exposes strictly 9 scoped tools—archive_handoff_note and archive_project_plan move files into old/ with collision-safe timestamps rather than deleting.
Likewise, weekly ecosystem-hygiene only archives notes whose frontmatter is explicitly status: implemented and older than --max-age-days 14 into _Handoff/old/—never active draft or approved plans.
Every project maps in ~/.config/google-ecosystem/projects.json with its own canonical tag, vault path, and folder. When you run handoff-sync pull --include-inbox, each incoming Cloud _Inbox/ plan routes into the right vault’s _Handoff/ with the right <TAG>.
Use repeatable --alias flags during ecosystem-init --register-only so short nicknames map back to the same canonical project (markers with alias_of prevent duplicate snapshots).
GET /healthz return 404 on Cloud Run while GET /health returns 200?
Google Cloud Run’s Front End (GFE) reserves /healthz at the load-balancer edge and returns 404 before requests reach the Python server.
Fix: Always probe GET <BASE_URL>/health for liveness checks; unauthenticated requests to /mcp should return 401 (fail-closed OAuth).
Because existing repos are registered externally, disconnection is non-destructive:
1) Remove the project entry from ~/.config/google-ecosystem/projects.json (and .ecosystem.json only if Track A created it).
2) Archive any unwanted notes inside _Handoff/ into _Handoff/old/.
3) Optionally delete the connector in Chrome (or delete the Cloud Run service) and remove skill symlinks in ~/.gemini/config/skills/.
No FAQ answers matched your search or category filter.