Skip to main content

Anosys.ai

anosys-antigravity

Python observability integration for Google Antigravity. Collect agent turns, tool activity, commands, changed paths, available model and IDE context, and duration.

Requires Python 3.10 or later.

Install

pip install anosys-antigravity
anosys-antigravity install
anosys-antigravity status

For a non-interactive setup:

anosys-antigravity install --api-key "your-cc-endpoint-key" --yes

A key passed with --api-key ends up in your shell history and is visible to other users in ps. To keep it off the command line, read it from a file (first line) or from ANOSYS_API_KEY:

anosys-antigravity install --api-key-file ~/.config/anosys/key --yes
# or
read -rs ANOSYS_API_KEY && export ANOSYS_API_KEY && anosys-antigravity install --yes

The installer uses --api-key, then --api-key-file, then $ANOSYS_API_KEY (then the older $ANOSYS_HOOK_APIKEY), and prints only the last four characters of the key. A key taken from the environment (or, for the Python installers, a .env file) that the console resolves to another integration, such as an app-SDK key, is not saved; if the console cannot be reached it is saved with a warning.

Use an AnoSys Claude Code & Codex CLI (CC) endpoint key. Add --workspace for a project-specific configuration. Ensure the Python environment's anosys-antigravity executable is available to the Antigravity process after setup.

Coverage

The runner reads Antigravity PreInvocation and Stop events and the local transcript. Antigravity hooks carry no token counters, so token and cost fields are left out of each record (not sent as 0). It does not estimate token spend or model cost.

Privacy

By default the hook sends metadata only: ids, timestamps, models, token and cost numbers, durations, tool names, and the project, branch and OS username. Prompts, answers, tool output, commands and file contents are sent only after you accept the data-collection policy:

anosys-antigravity privacy          # show the current level and where it comes from
anosys-antigravity privacy full     # read and accept the policy, then send full content
anosys-antigravity privacy off      # keep the hook installed but send nothing
anosys-antigravity doctor           # installed copies, the active hook and local files
anosys-antigravity purge            # delete the local queue and logs

The hook reads only the session that just ended, never earlier history, and its log holds ids and sizes only. The old --redaction flag and REDACTION=true still work and mean metadata. See content controls for the 10 MB request limit, retries and encryption.

See the complete setup guide, variables reference, and content controls for configuration paths, environment precedence, diagnostics, and limitations.

Anosys.ai MCP server and skill

Let Antigravity read your Anosys.ai workspace (architecture, problems, evals, traces and read-only SQL) through the Anosys.ai MCP server, and install the anosys-platform-intelligence skill. Create an MCP key (ak_mcp_...) in the Console under My Profile → MCP Keys; your ingestion key does not work here.

export ANOSYS_MCP_API_KEY=ak_mcp_...

# Add it when you install the hook
anosys-antigravity install --api-key YOUR_INGESTION_KEY --with-mcp -y

# Or on its own
anosys-antigravity mcp install -y
anosys-antigravity mcp status
anosys-antigravity mcp uninstall

Antigravity cannot read the key from the environment, so the server always goes in your user config (~/.gemini/config/mcp_config.json); --workspace only puts the skill in the project. Use --skill-only to install just the skill. All options and other tools: anosys-sdk-mcp.

License

Apache License 2.0.

Metadata

Release files for anosys-antigravity 0.4.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 anosys-antigravity 0.4.0
File Size Uploaded Provenance Actions
anosys_antigravity-0.4.0.tar.gz 33.2 kB Without provenance Details for anosys_antigravity-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anosys-antigravity 0.4.0
File Interpreter ABI Platform Actions
anosys_antigravity-0.4.0-py3-none-any.whl Python 3 none any Details for anosys_antigravity-0.4.0-py3-none-any.whl

Total release size: 62.9 kB

Release files / anosys_antigravity-0.4.0.tar.gz

Download URL anosys_antigravity-0.4.0.tar.gz
Size 33.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e5ff67b7d2f511ccc91ed1e419277fa6d9d4d05ded31c2861b576dfce6218d92
BLAKE2b-256 checksum
How to use checksums
356082cc6b0af5dc21dcaefa18058385580f7d1af0f54b29a955f8c100f73701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / anosys_antigravity-0.4.0-py3-none-any.whl

Download URL anosys_antigravity-0.4.0-py3-none-any.whl
Size 29.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bed566e128aab85cd73d09586f174794d925f1c994eef72e4bacaeac7b54aa7c
BLAKE2b-256 checksum
How to use checksums
d4ac8ce42c3458ca9b50b88b8846d7301b3bd5db1ddbbd8bf5778896ca4378ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for anosys-antigravity 0.4.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.

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