Repository navigation
Conversation
2 tasks done
sakoh
force-pushed
the
antigravity-provider
branch
from
November 19, 2026 22:24
22c4d8b to
21bbcf2
Compare
Google's Antigravity CLI (`agy`) speaks ACP. It becomes a provider of its own, `antigravity`, in a new `provider-antigravity` plugin bundled next to Codex and Claude Code and always listed (davidondrej#151). Its threads run on the SDK's ACP bridge with a new Antigravity dialect. Bridge (`provider-bridge-acp`): - The dialect reads the CLI's sign-in state with ACP `session/list`, which creates nothing, and its plan usage with the read-only `/usage` command. Print mode is never run signed out: it opens a browser and waits a minute. - A signed-out CLI fails model discovery as auth required, so the picker offers sign-in instead of a placeholder model. Other agents are unchanged. - Command output drops the CLI's report header; resume uses `session/resume`. - Maintenance dialects now receive the resolved executable. Plugin and app: - Google sign-in without a terminal: the plugin's host runs `agy acp --login`, hands the app the link, and passes the pasted code back. It runs as an SSH session would, so the CLI prints the link instead of opening a browser on a machine the user may not be at. - Connect and Disconnect in Settings -> Agents -> Harness, a row in the composer's "Connect agents" menu, a sign-in card when a thread fails signed out, and its own tab with the Google account. - Accounts page: the login in use with its plan's limits. The CLI keeps one Google login, so there is nothing to add or switch. - Usage card: a five-hour and a weekly limit per model group, and sign-in. - Disconnect signs the CLI out through ACP `logout`. Antigravity has no Cloud login, so nothing else is removed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0124vNVUEawpdokScrue6LGz
The agent step shows Antigravity as a third card after Claude Code and Codex: "Uses your Google AI plan", with Google sign-in on this computer (davidondrej#151). A signed-in Antigravity counts as a connected agent, becomes the default when it is the only one, and can be the first agent setup starts. - It needs a Cloudroom login like the other cards, but not a ready Cloud: the sign-in is local. - The first agent only starts in Cloud for an agent Cloud can run. - Setup telemetry accepts `antigravity` as a detail. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0124vNVUEawpdokScrue6LGz
`harness: "antigravity"` runs Google's `agy acp` over the shared ACP protocol, like Kimi and Droid (davidondrej#151). Core discovers `agy` in the agent account once `~/.gemini` exists. - Sessions stay in Antigravity's default mode and the ACP protocol approves each request, so the agent has full access. - The model and `thought_level` are session options; a level the model does not offer is skipped. Levels: low, medium, high, xhigh. - Resume uses `session/resume` and checks the conversation's database in `~/.gemini/antigravity-cli/conversations`. - The app offers Antigravity for Cloud threads when the Cloud machine reports the harness, and Settings shows that instead of "Mac only". A signed-out start fails with a message that names `agy acp --login`. Hosted sandboxes do not ship the CLI. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0124vNVUEawpdokScrue6LGz
sakoh
force-pushed
the
antigravity-provider
branch
from
November 20, 2026 19:39
7d55952 to
d23aa73
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #151. Replaces #155: the same three commits, now rebased onto the v159 release so they merge cleanly. #153 before it added Antigravity as one of the generic ACP agents.
What does this change?
Google's Antigravity CLI (
agy) becomes a provider of its own, next to Codex and Claude Code, and a harness in the core. It is three commits that each build on their own, so you can take them separately.1. A first-class Local provider (
provider-antigravity, idantigravity)provider-bridge-acp.agy acp --login, hands the app the link, and passes the pasted code back to the CLI./usagecommand.2. First-run setup
3. The core harness (
harness: "antigravity")agy acpover the shared ACP protocol, like Kimi and Droid. Core discoversagyonce~/.geminiexists.Replaces the generic
acp-antigravityagentv156 added Antigravity as a generic ACP agent,
acp-antigravity. With this PR the app would list Antigravity twice, so this PR removes the generic agent and keeps one provider,antigravity:acp-antigravityentry leavesprovider-acp'sknown-agents.ts, with its icon, itsantigravityentry inSIGN_IN_DIALECTS, and its mentions in the plugin's README and skill.ANTIGRAVITY_ACP_MAINTENANCEinprovider-maintenance.ts(sign-in read throughagy models, no usage) is replaced by this PR'santigravity-maintenance.ts, which reads sign-in through ACPsession/listand reads usage through/usage. Its minimalANTIGRAVITY_ACP_DIALECTis replaced by this PR's dialect, which adds command results,session/resumeandmodelDiscoveryRequiresLogin.mac-agents.tsis kept as is but reportsantigravityinstead ofacp-antigravity, the id thatCLOUD_HARNESSESmaps to the core harness.acp-antigravity.~/.gemini/config/skills,~/.gemini/antigravity-cli/skills,~/.gemini/skillsand the project's.agents/skills).Threads already saved with
acp-antigravityare not migrated toantigravity.The Agent Zero harness, which also landed upstream in the meantime, stays alongside Antigravity in every list that has both: the core's
Kind,room-clihelp, API docs andCLOUD_HARNESSES.Design notes
session/listsucceeds when signed in and returns ACP's auth-required error when signed out. It creates nothing.agy -p) is never run signed out. Signed out, it opens a browser and waits a minute for a login.SSH_CONNECTIONfor the login child. The CLI then prints its link instead of opening a browser on a machine the user may not be at. This is observed behaviour of CLI 1.5.8, not documented.AcpMaintenanceDialect.readAccountandreadUsagenow receive the resolved executable. Cursor ignores it.modelDiscoveryRequiresLogin, lets ACP-native model discovery fail as auth required. Other agents keep the placeholder model.What hosted Cloud still needs from you
agyin the sandbox image.agy acp --login.Yours to decide
icons/antigravity.svgis a glyph I drew, not Google's mark.antigravitysetup-telemetry value.CHANGELOG.mdalone, since entries carry your release number.Screenshots
From the dev desktop app on this head (
d23aa73f, rebased onto v160), withagy1.5.13 signed in. Emails are hidden with the Accounts page's Privacy mode.First-run setup. Antigravity is a third card after Claude Code and Codex. Signed in, it counts as a connected agent and becomes the default.
An Antigravity thread, run on the ACP bridge with the CLI's default model:
Model picker. Models come from the CLI's own ACP session options:
Settings → Agents → Harness. Antigravity is listed once. The generic
acp-antigravityentry is gone.Settings → Agents → Antigravity. The Google sign-in, with Sign out:
Accounts. The login in use, with a five-hour and a weekly limit for each of the plan's model groups:
Usage card:
How did you test it?
On this head, after the rebase onto v159
cargo fmt --check,cargo clippy --locked --all-targets -- -D warnings,cargo test --locked --all-targets, all passing.turbo run typecheckfor app, server,provider-bridge-acpand every plugin (49 tasks).provider-bridge-acp(381),provider-acp(86),provider-antigravity(18),accounts(25),provider-usage(14), and the app's "Connect agents" and settings sidebar tests.zod4.6.7.On this head, after the earlier rebase onto v155
pnpm install --frozen-lockfile, thenturbo run build typecheckfor app, server and desktop (56 tasks).provider-bridge-acp,provider-antigravity,accountsandprovider-usage.On the head of #155, before the rebase
@cloudroom/configtests (130 pass). Commit 1 passed the build and typecheck for app, server and desktop alone; commit 2 passed typecheck for app and server.cargo build --locked,node --test integrations/bb/client.test.ts(25 pass) andcore_fixture.py,pi_http.py,workspaces.py.provider-acptests (86 pass) and the app's "Connect agents" tests.HOME: model discovery fails asauthRequired, health isunauthenticated, and usage answers in about 0.1 s without starting print mode.Not tested
Anything live after either rebase, including the setup card with "Use my own Core" and the removal of
acp-antigravity.A real Google sign-in or sign-out through the new buttons. The flow is tested against a scripted stand-in for
agy, and against the real CLI up to a refused code.The core on Linux, and anything on Windows.
The Linux-only CI steps (
storage_e2e.py,previews_ssh.py,core_e2e.py).preview_client.py,install.pyandsync_e2e.pyfailed on my Mac (Python 3.9, macOS paths) in files this PR does not touch. I did not run them on the base commit.session::state::tests::an_arriving_chat_keeps_its_end_and_older_arrivals_start_at_zerofailed once in a fullcargo testrun before the rebase and passed on every re-run. It passed in the one run after the rebase.I built and checked the change (see CONTRIBUTING.md).
No credentials, personal data, or build output are included.
🤖 Generated with Claude Code