[GH-ISSUE #8143] [Feature]: Antigravity support (Access to Argon 4 subscription) #7578

Closed
opened 2026-10-24 04:04:26 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @FayLi-AI on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8143

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Similar to Claude Code integration for access to Claude subscriptions, this would allow Argon 4 (and other Gemini variants) to be used more easily without incurring API costs by utilizing users' existing subscriptions.

Proposed solution

Support for a connection via integration with agy (google's equivalent to Claude Code).

Alternatives considered

I'm not aware of any other easy way to access the model via one's subscription.

Additional context

This repository may be a useful reference in the technical aspects:
https://github.com/LukaTheHero/SillyTavern-Subscriptions

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @FayLi-AI on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8143 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Similar to Claude Code integration for access to Claude subscriptions, this would allow Argon 4 (and other Gemini variants) to be used more easily without incurring API costs by utilizing users' existing subscriptions. ## Proposed solution Support for a connection via integration with agy (google's equivalent to Claude Code). ## Alternatives considered I'm not aware of any other easy way to access the model via one's subscription. ## Additional context This repository may be a useful reference in the technical aspects: https://github.com/LukaTheHero/SillyTavern-Subscriptions ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-24 04:04:26 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

Codex is taking the Engine-owned investigation for @SpicyMarinara in the feat/antigravity-cli lane. I am verifying the official agy subscription/headless protocol and execution isolation before implementing a text-generation connection. The integration will not extract tokens or silently substitute API billing, and no adapter will ship while tool/global-hook isolation remains unproven.

<!-- gh-comment-id:6361432208 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): Codex is taking the Engine-owned investigation for @SpicyMarinara in the `feat/antigravity-cli` lane. I am verifying the official `agy` subscription/headless protocol and execution isolation before implementing a text-generation connection. The integration will not extract tokens or silently substitute API billing, and no adapter will ship while tool/global-hook isolation remains unproven.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

The official agy headless protocol and cached subscription login are documented, including Argon model discovery. The remaining blocker is execution isolation before generation starts, not the lack of a streaming interface.

  • The official changelog documents inheritCustomizations, inheritMcp, and excludeDefaultComponents, but the last explicitly preserves post-invocation hooks.
  • Hooks can run scripts from global, workspace and plugin configuration. CLI settings and the official settings schema say hooks in settings.json is not loaded; setting it to an empty value would not disable those sources.
  • The documented CLI flags provide no request-scoped hook-disable or isolated configuration/profile option retaining the account login. Read-only hook inventory does not establish that the next invocation uses a fixed hook-free configuration.
  • The SDK authentication documentation lists API-key, Vertex/ADC and local-model paths, so substituting the SDK would not establish the requested consumer-subscription billing path.

I also downloaded the official Darwin ARM64 1.4.6 release into a temporary directory, verified its manifest SHA-512, and checked only --version/--help under a sandbox denying network, home-directory access and keychain service access. Help exposes no additional isolation/profile option. No installer, login, model request, credential inspection or global configuration change was performed.

#8156 is being narrowed to a developer qualification note, not an adapter implementation. This issue remains open. Runtime work can resume when a supported isolation mechanism is documented or demonstrated against the official CLI with hook/tool sentinels and negative controls; a private-log guess or post-startup abort is insufficient.

<!-- gh-comment-id:6361588554 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): The official `agy` headless protocol and cached subscription login are documented, including Argon model discovery. The remaining blocker is **execution isolation before generation starts**, not the lack of a streaming interface. - The official [changelog](https://www.antigravity.google/docs/changelog) documents `inheritCustomizations`, `inheritMcp`, and `excludeDefaultComponents`, but the last explicitly preserves post-invocation hooks. - [Hooks](https://www.antigravity.google/docs/hooks) can run scripts from global, workspace and plugin configuration. [CLI settings](https://www.antigravity.google/docs/settings?tab=cli) and the [official settings schema](https://antigravity.google/schemas/v1/settings.json) say `hooks` in `settings.json` is not loaded; setting it to an empty value would not disable those sources. - The documented [CLI flags](https://www.antigravity.google/docs/cli/reference/) provide no request-scoped hook-disable or isolated configuration/profile option retaining the account login. Read-only hook inventory does not establish that the next invocation uses a fixed hook-free configuration. - The [SDK authentication documentation](https://www.antigravity.google/docs/install/#programmatic-authentication) lists API-key, Vertex/ADC and local-model paths, so substituting the SDK would not establish the requested consumer-subscription billing path. I also downloaded the official Darwin ARM64 1.4.6 release into a temporary directory, verified its manifest SHA-512, and checked only `--version`/`--help` under a sandbox denying network, home-directory access and keychain service access. Help exposes no additional isolation/profile option. No installer, login, model request, credential inspection or global configuration change was performed. #8156 is being narrowed to a developer qualification note, **not an adapter implementation**. This issue remains open. Runtime work can resume when a supported isolation mechanism is documented or demonstrated against the official CLI with hook/tool sentinels and negative controls; a private-log guess or post-startup abort is insufficient.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

Reopened at the maintainer's request to track the unresolved integration blocker. The misleading fixed-in-staging label has been removed.

#8156 delivered the developer investigation note, and #8159 published its ten documentation translations. Neither adds an Antigravity connection or enables subscription model generation.

Runtime integration remains blocked on a supported, verifiable way to isolate CLI tool/global/workspace/plugin hook execution while retaining the requested subscription login. The evidence and conditions for resuming are recorded in the qualification note and the earlier investigation comment. This issue remains open for that work.

<!-- gh-comment-id:6362791118 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): Reopened at the maintainer's request to track the unresolved integration blocker. The misleading `fixed-in-staging` label has been removed. #8156 delivered the developer investigation note, and #8159 published its ten documentation translations. Neither adds an Antigravity connection or enables subscription model generation. Runtime integration remains blocked on a supported, verifiable way to isolate CLI tool/global/workspace/plugin hook execution while retaining the requested subscription login. The evidence and conditions for resuming are recorded in [the qualification note](https://github.com/Pasta-Devs/Marinara-Engine/blob/staging/docs/development/antigravity-cli-qualification.md) and the earlier investigation comment. This issue remains open for that work.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

Closing as not planned, at the maintainer's decision. We will not be adding Antigravity subscription support.

The requested integration is not feasible with the supported official CLI interface: we cannot guarantee that generation runs without executing global, workspace or plugin hooks/tools while retaining the user's subscription login. The documented component exclusions leave post-invocation hooks enabled, and the CLI exposes no supported per-invocation isolation/profile mechanism that satisfies this requirement. Disabling or aborting tools after startup cannot prevent scripts that have already run.

We will not work around that limitation by extracting subscription credentials, relying on undocumented private behavior, or substituting API billing for the requested subscription access. #8156 and #8159 delivered investigation documentation only; no working Antigravity adapter was implemented. The earlier investigation details and qualification note record the evidence.

<!-- gh-comment-id:6364145880 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): Closing as **not planned**, at the maintainer's decision. We will not be adding Antigravity subscription support. The requested integration is not feasible with the supported official CLI interface: we cannot guarantee that generation runs without executing global, workspace or plugin hooks/tools while retaining the user's subscription login. The documented component exclusions leave post-invocation hooks enabled, and the CLI exposes no supported per-invocation isolation/profile mechanism that satisfies this requirement. Disabling or aborting tools after startup cannot prevent scripts that have already run. We will not work around that limitation by extracting subscription credentials, relying on undocumented private behavior, or substituting API billing for the requested subscription access. #8156 and #8159 delivered investigation documentation only; no working Antigravity adapter was implemented. The earlier investigation details and [qualification note](https://github.com/Pasta-Devs/Marinara-Engine/blob/staging/docs/development/antigravity-cli-qualification.md) record the evidence.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7578
No description provided.