Tern Surface Protocol ACP v1 v3.1.2
Antigravity CLI, native inside Tern.
Connects Tern Desktop, Web, and Mobile directly to the official
agy acp --sandbox subprocess. Full command parity,
clickable subagent diffs, and explicit permission prompts without duplicating CLI
credentials or tooling.
Install command selector
Detected: macOS / Linux
curl -fsSL https://agy-tern.oktaavsm.xyz/install.sh | bash
- 01 Auto-detects OS and CPU architecture
- 02 Checks and installs Bun (>= 1.2.22)
- 03 Verifies SHA-256 release archive
- 04 Links CLI and installs Tern bridge plugin
Independent MIT-licensed open-source frontend, not an official Google or Stencil
product. Requires official agy CLI with ACP support.
Live ACP conversation with clickable task tracking and inline diffs.
Strict presentation boundary
agy-tern never stores credentials or executes tools
on its own. Prompts, approvals, and tool events stay inside the official
agy binary while Tern handles native layout.
- Owned by agy-tern
- Native TSP layout across desktop and phone viewports, keyboard navigation, centered startup composer, clickable diffs, prompt templates, and Ctrl+C shell handoff.
- Kept inside official agy CLI
- OAuth tokens, Google API calls, model routing, tool execution, allow/deny rules, and server-issued approval IDs. Only implemented ACP capabilities are advertised.
Built for real terminal work
Every native control stays synchronized with ACP runtime state and returns cleanly to your interactive shell on exit.
-
01
Centered startup dock with smooth floor
Opens centered on idle desktop sessions with quick model, effort, mode, and quota controls, then glides into the bottom composer dock as soon as you type.
-
02
Subagent groups, inline diffs, and schema forms
Streams reasoning, grouped background subagent tasks, side-by-side or stacked file diffs, and interactive
elicitation/createdialogs with explicit server-ID permissions. -
03
Full official slash-command parity
Supports
/model(including orchestrator presets),/effort,/mode,/tasks,/changes,/queue,/templates,/rewind, and fuzzy@fileattachments. -
04
Return to terminal on Ctrl+C or Quit
When launched directly by Tern without a parent shell, exiting hands the pane straight to
$SHELLon POSIX orpwsh.exe/cmd.exeon Windows instead of closing the tab. -
05
Cross-platform self-updater and diagnostics
Run
agy-tern updateon Linux, macOS, or native Windows to fetch SHA-256 verified release archives, inspect unsafe tar paths, and refreshagy-tern-bridge.
One installer path across desktop operating systems
Windows runs natively through ConPTY without WSL. Linux and macOS install cleanly into XDG user paths without requiring root access for agy-tern itself.
| Platform | Surface Transport | Auto-Bun & Dependencies | Clipboard & Shell Handoff |
|---|---|---|---|
| Linux (x86_64 / arm64 / WSL2) | Tern APC sequence |
Auto-checks/installs Bun >= 1.2.22, unzip,
and wl-clipboard / xclip
|
Wayland/X11 clipboard paste (Ctrl+V) and
interactive $SHELL return
|
| macOS (arm64 / x64) | Tern APC sequence |
Auto-checks/installs Bun >= 1.2.22 via
bun.sh/install
|
osascript / pbcopy
clipboard and interactive $SHELL return
|
| Windows 11 (Native, no WSL) | ConPTY OSC 877 |
Auto-checks/installs Bun >= 1.2.22 and writes
%LOCALAPPDATA%\agy-tern\bin\agy-tern.cmd
|
PowerShell clipboard, .cmd arg quoting, and
pwsh.exe / cmd.exe handoff
|
Advanced installer flags, manual Bun control, and GitHub raw fallbacks
-
Opt out of automatic Bun installation: pass
--no-auto-bunon macOS/Linux or-NoAutoBunon Windows (or exportAGY_TERN_AUTO_INSTALL_BUN=0). -
Register Antigravity directly in Tern settings: run
curl -fsSL https://agy-tern.oktaavsm.xyz/install.sh | bash -s -- --configure-tern(creates a.bakbackup first). -
Pin a specific release tag:
--version v3.1.2(POSIX) or.\scripts\install.ps1 -Version v3.1.2(Windows). -
Uninstall cleanly:
curl -fsSL https://agy-tern.oktaavsm.xyz/install.sh | bash -s -- --uninstallor.\scripts\install.ps1 -Uninstall. -
GitHub raw URL fallbacks:
https://raw.githubusercontent.com/oktavsm/agy-tern/main/scripts/install.shandhttps://raw.githubusercontent.com/oktavsm/agy-tern/main/scripts/install.ps1.
First launch
Sign in once using the official Antigravity CLI (or run
/account inside the app), then start
agy-tern inside any project folder.
Latest tag: v3.1.2 · License: MIT
agy acp --login
agy-tern --doctor
cd your-project && agy-tern