# Scout + Antigravity: agent setup contract

Canonical page: https://openscout.app/agy
Plugin archive: https://openscout.app/agy/scout-antigravity.tar.gz
Plugin archive sha256: `5fe05bd06f88b569ed8db39986d7aabf029109e9763cd8b9e91740b3f042cd75`
Plugin source: https://github.com/openscout-app/antigravity-scout
Documentation reviewed: 2026-12-02. This is not a live health assertion.

Connect Google Antigravity to your local OpenScout runtime and peer coding agents (Claude Code, Codex, Cursor, Grok, Pi, OpenCode, Kimi, and remote mesh hosts), with live inline MCP App flight cards, native ACP stdio turns, `/swarm` specialists, and `/show` visual reviews.

## Transport

Antigravity plugin (`scout-local` + `scout-chat-hosted` MCP) · MCP Apps (`ui://scout/flight-tail`, `ui://scout/show-preview`, `ui://scout/artifacts`) · native `antigravity_acp` (`agy acp --stdio`)

Antigravity <-> Scout <-> Coding agents & mesh hosts

## Prerequisites

- Google Antigravity (`agy 1.5.1+` for ACP stdio).
- Bun `1.4.4+`.
- Operator approval before installing global packages or writing under `~/.gemini/config/`.

## Setup procedure (agent-driven)

Execute these steps in order and report each result to the operator.

### 1. Check or install the Scout CLI

```text
which scout && scout doctor
```

If `scout` is missing or the local runtime is not running, ask the operator for confirmation and run:

```text
bun add -g @openscout/scout && scout setup && scout up
```

Confirm `scout doctor` reports a healthy local runtime and `scout who` lists reachable agents.

### 2. Download and verify the Antigravity plugin archive (no git clone required)

Download the pre-packaged plugin archive, verify its sha256 checksum (`5fe05bd06f88b569ed8db39986d7aabf029109e9763cd8b9e91740b3f042cd75`), and unpack it into `~/.gemini/config/plugins/scout-antigravity`:

```text
mkdir -p ~/.gemini/config/plugins/scout-antigravity
curl -fsSL https://openscout.app/agy/scout-antigravity.tar.gz -o /tmp/scout-antigravity.tar.gz
echo "5fe05bd06f88b569ed8db39986d7aabf029109e9763cd8b9e91740b3f042cd75  /tmp/scout-antigravity.tar.gz" | shasum -a 256 -c -
tar -xzf /tmp/scout-antigravity.tar.gz -C ~/.gemini/config/plugins/scout-antigravity
```

Check `~/.gemini/config/mcp_config.json` for any older standalone `scout` or `scout-local` MCP entries and remove duplicates so tools are registered only once through the plugin.

Note: Do not hand-edit `~/.gemini/config/config.json` to enable or disable plugins. If Antigravity already had an older `scout-local` MCP process running in the current session, tell the operator to toggle `scout-antigravity` in Customizations / Plugins Manager (or start a fresh conversation) so the new MCP server and UI apps load.

### 3. Share zero-stop `/permissions` rules with the operator

Antigravity plugins cannot self-grant host permissions. Show these rules to the operator to add once in `/permissions` so Scout MCP tools and CLI calls run without repeated approval prompts:

```text
mcp(scout/*)
command(scout)
read_file(~/.openscout)
read_file(~/.local/state/openscout)
read_url(127.0.0.1)
read_url(localhost)
execute_url(127.0.0.1)
execute_url(localhost)
```

### 4. Verify readiness

1. Confirm `scout doctor` reports a healthy local runtime.
2. Call `whoami` from `scout-local` MCP to confirm Antigravity sees the local Scout node.
3. Optional smoke test: ask one peer agent for a small read-only review and confirm the inline `ui://scout/flight-tail` card renders and completes cleanly.

## Acceptance gate

Setup is complete when:

- `scout doctor` reports a healthy local runtime.
- `~/.gemini/config/plugins/scout-antigravity/plugin.json` is installed with no duplicate `scout` entries in `~/.gemini/config/mcp_config.json`.
- `whoami` succeeds from Antigravity's `scout-local` MCP server.

## Failure handling

- **Duplicate MCP tools:** Remove legacy standalone `scout` entries from `~/.gemini/config/mcp_config.json` and keep the plugin's `mcp_config.json` as the single source.
- **Stale inline flight card UI after CLI upgrade:** Antigravity keeps the stdio `scout mcp` child process alive for the session; toggle `scout-antigravity` in Plugins Manager or open a fresh session.
- **Local runtime unreachable:** Run `scout up` and re-check `scout doctor`.
- **Need interactive terminal debugging instead of ACP:** Set `OPENSCOUT_ANTIGRAVITY_TRANSPORT=tmux` per host or agent.
