Antigravity agent type plugin for mngr
Project description
imbue-mngr-antigravity
Plugin that registers the antigravity agent type for mngr.
Antigravity CLI is Google's terminal-based AI coding assistant, the successor to the legacy Gemini CLI. Google announced on 2026-05-19 that Gemini CLI is being replaced by Antigravity CLI, with the legacy request path turning off for paid-tier accounts on 2026-06-18. This plugin lets you run the new CLI (agy) as an mngr agent.
Usage
mngr create my-agent antigravity
Pass arguments to the agy command with --:
mngr create my-agent antigravity -- --help
Configuration
Define a custom variant in your mngr config (mngr config edit):
[agent_types.my_agy]
parent_type = "antigravity"
cli_args = "--add-dir=/extra/dir"
Then create agents with your custom type:
mngr create my-agent my_agy
auto_allow_permissions = true auto-approves every tool call without prompting, via agy's --dangerously-skip-permissions flag. (It is not a hook: agy's documented PreToolUse {"decision": "allow"} output does not actually gate the run_command confirmation dialog -- verified live against agy 1.0.3 -- so the flag is the only reliable mechanism.)
emit_common_transcript = true (default) starts a background worker that streams agy's per-conversation JSONL transcripts into events/antigravity/common_transcript/events.jsonl. mngr transcript <agent> reads from there.
Caveats
agyPATH shadowing: if the Antigravity 2.0 desktop app is installed, its bundledagyshim can shadow the standalone CLI inPATH. Remove the desktop app'sbin/agyor overridecommandwith an absolute path to the Go binary.- Workspace symlink workaround: agy refuses to add any path with a dot-prefixed segment as a workspace (logs
Failed to add workspace folder ... is hidden: ignore uriand falls back to the user's home dir). mngr'swork_dirlives under~/.mngr/worktrees/..., which trips this check. As a workaround,mngr_antigravitycreates a per-agent symlink at/tmp/mngr_antigravity_workspaces/<agent_id>that targets the realwork_dir, and launches agy with cwd set to the symlink. agy then sees the symlink path as its workspace (project: using project "/tmp/...") and the hidden-path error is suppressed. The symlink is recreated vialn -sfnon every launch;/tmpwipes are self-repairing. Symlinks aren't pruned when agents are destroyed (they're inert and small). Track the upstream agy bug report for when a flag-level fix lands; we can drop the workaround then. - First-launch trust dialog: each fresh
work_dirwould normally trigger Antigravity's "Do you trust this folder?" gate, which intercepts the first keystroke sent to the tmux pane and breaksmngr message.mngr_antigravitydismisses the dialog before launch by appending the agent'swork_dirto~/.gemini/antigravity-cli/settings.json::trustedWorkspaces. Because that file is shared user state, the write is gated:mngr create --yes(mngr_ctx.is_auto_approve) orauto_dismiss_dialogs = trueon the agent type: silent trust.- Interactive shell: mngr prompts via
click.confirmbefore writing. - Non-interactive shell without either opt-in: provisioning raises
UserInputError. Re-run with--yesor setauto_dismiss_dialogs = true.
- Hooks (lifecycle marker):
mngr_antigravityprovisions a per-agenthooks.jsonand points agy at it with--add-dir(through a/tmpsymlink, since agy rejects the dotted state-dir path -- same hidden-path rule as the workspace symlink). APreInvocation/Stoppair maintains anactivemarker so the agent reports RUNNING while working and WAITING when idle (agy writes no such marker on its own). Verified live against agy 1.0.3 that hooks load and execute. Note: the in-TUI/hookscommand writes to~/.gemini/antigravity-cli/hooks.json, which the hook execution engine never runs -- that path is loaded only for the TUI's display/management view, while only~/.gemini/config/hooks.jsonand per-workspace.agents/hooks.jsonare actually executed (antigravity-cli#49). mngr writes its own per-agent file under an--add-dirpath and never relies on the TUI. - No readiness sentinel: readiness is still signalled purely by polling the rendered TUI banner. agy's hook events are execution-loop events (
PreToolUse/PostToolUse/PreInvocation/PostInvocation/Stop) with no "input prompt ready" analog, so they can't replace the banner poll. - No permission-specific WAITING reason: agy exposes no permission-dialog hook event, and no hook fires while the agent is blocked at the dialog, so mngr can't currently flag why an agent is waiting (as
mngr_claudedoes). Withauto_allow_permissions = truethere are no dialogs anyway; surfacing a permission-WAITING reason in supervised mode is left for a follow-up.
See the mngr agent types documentation for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imbue_mngr_antigravity-0.1.1.tar.gz.
File metadata
- Download URL: imbue_mngr_antigravity-0.1.1.tar.gz
- Upload date:
- Size: 48.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaea625e0c6efb9053bf278490ed85c7a6ec7fad1e97be9725016c4e6aefa326
|
|
| MD5 |
acff7b57745c87e3225ed3284569a848
|
|
| BLAKE2b-256 |
57eeba2c76c8de1eace7112e07db07348940291b5c5b22b4d9afcbeeffdec88d
|
Provenance
The following attestation bundles were made for imbue_mngr_antigravity-0.1.1.tar.gz:
Publisher:
publish.yml on imbue-ai/mngr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbue_mngr_antigravity-0.1.1.tar.gz -
Subject digest:
aaea625e0c6efb9053bf278490ed85c7a6ec7fad1e97be9725016c4e6aefa326 - Sigstore transparency entry: 1697978485
- Sigstore integration time:
-
Permalink:
imbue-ai/mngr@e22e7010e6b97963a02293d50c2316e8a036305b -
Branch / Tag:
refs/tags/v0.2.10 - Owner: https://github.com/imbue-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e22e7010e6b97963a02293d50c2316e8a036305b -
Trigger Event:
push
-
Statement type:
File details
Details for the file imbue_mngr_antigravity-0.1.1-py3-none-any.whl.
File metadata
- Download URL: imbue_mngr_antigravity-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec8f94a111c6ae867db06578f7d96c63e77e61d940b7a9b2be0ca635577014b3
|
|
| MD5 |
695b2ce16cfdef0c2a1daec2e98121f9
|
|
| BLAKE2b-256 |
7b10e883625a61a862b017bd9a5a86e010a784b227e72b2d0b58307bfd4de4b7
|
Provenance
The following attestation bundles were made for imbue_mngr_antigravity-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on imbue-ai/mngr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbue_mngr_antigravity-0.1.1-py3-none-any.whl -
Subject digest:
ec8f94a111c6ae867db06578f7d96c63e77e61d940b7a9b2be0ca635577014b3 - Sigstore transparency entry: 1697980307
- Sigstore integration time:
-
Permalink:
imbue-ai/mngr@e22e7010e6b97963a02293d50c2316e8a036305b -
Branch / Tag:
refs/tags/v0.2.10 - Owner: https://github.com/imbue-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e22e7010e6b97963a02293d50c2316e8a036305b -
Trigger Event:
push
-
Statement type: