Skip to main content

agy_scripts

Cross-platform CLI utilities and shell scripts for managing Google Antigravity (antigravity-ide, antigravity, and agy).

Installation

Install the Python CLI tools (agy-control and agy-session-search) in editable mode so they are available directly on your PATH:

uv tool install -e .
# or with pip:
pip install -e .

Tools

1. agy-control

Unified cross-platform (Linux, macOS, Windows) CLI to list/restart Antigravity instances, edit MCP servers/tools, switch MCP profiles, maintain a master MCP reserve, and create date-stamped backups.

Subcommands

  • list - List running Antigravity hub/IDE/app instances and show the active MCP profile
  • restart <PID|WORKSPACE|all> - Restart matching hub instance(s) to pick up mcp_config.json changes
  • launch [WORKSPACE] [--ide|--app|--cli] [--new] [--profile NAME] - Launch Antigravity IDE (default), Standalone App, or agy CLI (optionally forcing a new window/instance and activating a profile)
  • mcp list|tools [SERVER]|show <SERVER> - Inspect MCP servers and tools (--profile NAME targets a saved profile)
  • mcp enable|disable|remove <SERVER> [--profile NAME] [--restart [TARGET]] - Manage servers with automatic date-stamped backup and master reserve sync
  • mcp enable-tool|disable-tool <SERVER> <TOOL...> [--profile NAME] [--restart [TARGET]] - Toggle individual tools
  • profile list|save <NAME>|use <NAME> - Manage named MCP profiles in ~/.gemini/config/mcp_profiles/
  • reserve sync|list / recover <SERVER> - Sync known servers to ~/.gemini/config/mcp_master.json and restore removed servers
  • backup - Create a date-stamped backup in ~/.gemini/config/mcp_backups/

Examples

# List running instances and active MCP profile
agy-control list

# List MCP servers and tools
agy-control mcp list
agy-control mcp tools mcp_remdev_serv_fedora

# Disable a tool and restart matching workspace instance
agy-control mcp disable-tool mcp_remdev_serv_fedora run_command --restart emdash

# Save and launch with a profile
agy-control profile save coding
agy-control launch ~/github2/emdash --ide --new --profile coding

Search, inspect, export, and resume Google Antigravity sessions (both .db and legacy encrypted .pb) using ~/.gemini/antigravity/conversation_summaries.db and brain/<UUID>/ artifacts.

Subcommands

  • list [--workspace PATH] [--since DAYS] [--format db|pb] [-n LIMIT]
  • search <query> [--role user|agent] [--workspace PATH] [-n LIMIT]
  • show <UUID> / export <UUID> [-o FILE]
  • resume <UUID> - Resume session via agy -r <UUID>
  • --info <UUID> (or info <UUID>) - Show metadata, kebab-case slug, and best FTS5 search term

Examples

agy-session-search list -n 10
agy-session-search search "ChatDSL" --role user
agy-session-search --info 1e7c708f-b55e-46cb-a043-6798c7507d79
agy-session-search export 1e7c708f-b55e-46cb-a043-6798c7507d79 -o session.md

3. update_antigravity.sh

Automated Linux (x86_64) installer and updater for Antigravity IDE (~/Apps/antigravity-ide), Standalone App (~/Apps/antigravity), and agy CLI (~/.local/bin/agy).

./update_antigravity.sh                 # Check and update all components
./update_antigravity.sh --check         # Check versions and pre-download only
./update_antigravity.sh --install --cli # Install/update only agy CLI

Development & Tests

PYTHONPATH=src python3 -m unittest discover -s tests -v

License

MIT - see LICENSE.

Metadata

Release files for agy-scripts 0.1.0

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

Source distribution (sdist)

Source distribution for agy-scripts 0.1.0
File Size Uploaded Provenance Actions
agy_scripts-0.1.0.tar.gz 16.6 kB Without provenance Details for agy_scripts-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agy-scripts 0.1.0
File Interpreter ABI Platform Actions
agy_scripts-0.1.0-py3-none-any.whl Python 3 none any Details for agy_scripts-0.1.0-py3-none-any.whl

Total release size: 32.3 kB

Release files / agy_scripts-0.1.0.tar.gz

Download URL agy_scripts-0.1.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
31ad077e4a6928107f2e9e9576e902f909234159a324be2716a5aa5de1445716
BLAKE2b-256 checksum
How to use checksums
a32cf7c7c18c8705f9f3155acbfc8bd733652e51870e09d0a16d487b53378426
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / agy_scripts-0.1.0-py3-none-any.whl

Download URL agy_scripts-0.1.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b54ef6be51545fb6f27fbee6e16a0d67ee997166b140da8153c445c6b2a9f29
BLAKE2b-256 checksum
How to use checksums
9ab42fb41e0ce83925128b28912d0500f14ed307c5d311325abae24d42f19424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for agy-scripts 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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