Skip to main content

imbue-mngr-antigravity

Plugin that registers the antigravity agent type for mngr.

Antigravity CLI is Google's terminal-based AI coding assistant. This plugin runs the CLI (agy) as an mngr agent.

Authentication

Each agent runs agy under its own $HOME and reads its token from a per-agent path that is, by default, a symlink to the shared ~/.gemini/antigravity-cli/antigravity-oauth-token. Because agy writes the token in place, the result is "log in once, anywhere":

  • If the shared token already exists, every agent is authenticated with no per-agent login.
  • If it doesn't, the first agent you log into writes its token through the symlink to the shared path, authenticating every other agent. Token refreshes propagate the same way.

This works on both Linux and macOS. Set symlink_oauth_token = false for full per-agent isolation (each agent authenticates independently).

Usage

mngr create my-agent antigravity

Pass arguments to the agy command with --:

mngr create my-agent antigravity -- --help

Each agent gets its own per-agent permissions, model selection, and isolated state (transcripts/conversations), rather than sharing the user's global ~/.gemini.

Configuration

Define a custom variant in your mngr config (mngr config edit):

[agent_types.readonly_agy]
parent_type = "antigravity"
settings_overrides = { permissions = { allow = ["command(git)"], deny = ["command(rm -rf)"], ask = ["command(*)"] }, toolPermission = "proceed-in-sandbox", model = "Gemini 3.8 Flash (Medium)" }

To merge onto the base rather than assign, declare the intent in __mngr_merge (see the settings_overrides field below):

[agent_types.readonly_agy.settings_overrides.permissions]
allow = ["command(git)"]
[agent_types.readonly_agy.settings_overrides.__mngr_merge]
"permissions.allow" = "extend"   # or "assign"

Then create agents with your custom type:

mngr create my-agent readonly_agy

Fields

  • settings_overrides (dict, default {}) -- a free-form blob merged last into the per-agent settings.json (mirrors mngr_claude's field of the same name). A bare key assigns (narrowing-guarded); declare __mngr_merge entries (see the example above) to merge or replace instead. The __extend/__assign suffixes are rejected on this path; mngr's config README documents the full semantics. Common keys:
    • permissions -- {allow, deny, ask}, each a list of action(target) resources. Actions: read_file, write_file, read_url, execute_url, command, unsandboxed, mcp. Precedence is Deny > Ask > Allow. command(...) matches a token-prefix/regex with no path scoping; file/url targets must be canonical (on macOS /tmp -> /private/tmp) -- a wrong target fails open to Ask rather than erroring.
    • toolPermission -- the global default mode, e.g. "proceed-in-sandbox" or "request-review".
    • model -- a display name exactly as listed by agy models, e.g. "Gemini 3.8 Flash (Medium)".
  • sync_home_settings (bool, default true) -- base the per-agent settings.json on a copy of the user's real ~/.gemini/antigravity-cli/settings.json, with settings_overrides layered on top. When false, start from an empty base. This is a data-source choice, not a separate code path. Note that this copies only the global settings.json scope, which in practice holds theme/telemetry/trust; it does not capture the user's model, permission grants, or behavioral policies (fileAccessPolicy/internetPolicy/etc.), which agy persists in other scopes (config/config.json userSettings, per-project config/projects/<uuid>.json) that this copy intentionally does not read -- importing the user's grants would weaken per-agent isolation. Set an agent's model and permission policy explicitly via settings_overrides.
  • symlink_oauth_token (bool, default true) -- symlink the shared oauth token into each agent's home (so refreshes propagate) or copy it (false) for full isolation.
  • auto_allow_permissions (bool, default false) -- auto-approve every tool call via agy's --dangerously-skip-permissions flag. (It is not a hook: agy's documented PreToolUse {"decision": "allow"} output does not gate the run_command confirmation dialog -- verified live against agy 1.0.3.) When combined with a permissions policy in settings_overrides, skip-permissions wins (the policy is moot), matching mngr_claude.
  • auto_dismiss_dialogs_at_startup (bool, default false) -- silently trust the source repo without prompting (see Trust below).
  • update_policy (AUTO/ASK/NEVER, default unset) -- govern agy's background self-updater. NEVER sets AGY_CLI_DISABLE_AUTO_UPDATE=true in the agent environment so the installed build stays put; AUTO leaves the self-updater enabled; ASK behaves like AUTO (agy has no interactive update flow). Unset resolves to NEVER (auto-update disabled) -- set AUTO to leave agy's self-updater enabled. Note: agy has no version-pinning capability -- Google's installer always installs the latest build (no version argument or env var), so there is no version field; use update_policy = "NEVER" (the default) to freeze the installed build.
  • emit_common_transcript (bool, default true) -- start a background worker that streams agy's per-conversation JSONL transcripts into events/antigravity/common_transcript/events.jsonl. mngr transcript <agent> reads from there.

Conversation resume

mngr stop then mngr start resumes the agent's prior agy conversation, keeping its full context rather than starting fresh.

Caveats

  • agy PATH shadowing: if the Antigravity 2.0 desktop app is installed, its bundled agy shim can shadow the standalone CLI in PATH. Remove the desktop app's bin/agy or override command with an absolute path to the Go binary.
  • Trust: agy prompts to trust a folder on first launch. mngr seeds the workspace path into the agent's settings.json so it isn't re-prompted. Granting trust is gated: mngr create --yes or auto_dismiss_dialogs_at_startup = true trust silently; an interactive shell prompts before writing; a non-interactive shell without either opt-in exits cleanly (re-run with --yes or set auto_dismiss_dialogs_at_startup = true).
  • No permission-specific WAITING reason: agy exposes no permission-dialog hook event, so in supervised mode mngr cannot currently flag why an agent is waiting. With auto_allow_permissions = true there are no dialogs anyway.

See the mngr agent types documentation for more details.

Metadata

Release files for imbue-mngr-antigravity 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for imbue-mngr-antigravity 0.2.1
File Interpreter ABI Platform Actions
imbue_mngr_antigravity-0.2.1-py3-none-any.whl Python 3 none any Details for imbue_mngr_antigravity-0.2.1-py3-none-any.whl

Release files / imbue_mngr_antigravity-0.2.1-py3-none-any.whl

Download URL imbue_mngr_antigravity-0.2.1-py3-none-any.whl
Size 64.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
869e116f909394cdfbceb322d4d5ffd188373b8a1896676930a0aad81e57154e
BLAKE2b-256 checksum
How to use checksums
d23085c144b425a7f3292e3969792c63cae1ccc3bb93cd1d5afce6a4af53e311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for imbue-mngr-antigravity 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for imbue_mngr_antigravity-0.2.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page