npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

google-antigravity-acp

v1.1.2

Published

ACP adapter and native OpenClaw CLI backend for Google Antigravity

Downloads

815

Readme

google-antigravity-acp

An Agent Client Protocol (ACP) server for Google Antigravity.

This project enables any ACP-compatible client (such as Zed, OpenClaw, Neovim, and other developer tools) to communicate with Google Antigravity using standard JSON-RPC 2.0 over stdio.

The same npm package also ships a native OpenClaw CLI backend. It exposes Antigravity models under the google-antigravity-cli/* model namespace while preserving Antigravity conversation IDs, streamed responses, native tool-call events, cancellation, and usage reporting.


How It Works

Google Antigravity ships with an official command-line executable (agy). Under the hood, agy includes a headless streaming mode that exchanges newline-delimited JSON (NDJSON) over standard input and output:

agy --input-format=stream-json --output-format=stream-json

google-antigravity-acp bridges this interface to the open Agent Client Protocol (ACP) standard:

  • Exposes standard ACP JSON-RPC 2.0 lifecycle methods (initialize, session/new, session/prompt, session/cancel, session/close).
  • Maps incoming ACP user messages into stream-json input events.
  • Translates agy streaming events into real-time ACP session/update notifications (message chunks, tool calls, and usage stats).
  • Automatically discovers the system agy binary (or downloads the official release if missing).

Prerequisites

  • Node.js (v18 or higher)
  • Google Antigravity CLI (agy) installed and authenticated, or internet access on first run so the official binary can be downloaded automatically.

Usage

Run via npx

npx google-antigravity-acp

Install Globally

npm install -g google-antigravity-acp
google-antigravity-acp

Install as an OpenClaw plugin

openclaw plugins install google-antigravity-acp
openclaw config set plugins.entries.google-antigravity-cli.enabled true

Then select an Antigravity model and require the plugin-owned runtime:

{
  agents: {
    entries: {
      fast: {
        model: {
          primary: "google-antigravity-cli/gemini-3.8-flash-low",
          fallbacks: [],
        },
        models: {
          "google-antigravity-cli/gemini-3.8-flash-low": {
            agentRuntime: { id: "google-antigravity-cli" },
          },
        },
      },
    },
  },
}

Authentication remains owned by the official agy installation. Normal agent turns use Antigravity's native tools, and their start/result events are surfaced to OpenClaw.

For OpenClaw runs with an exact tool cap, the backend creates a private per-run Antigravity home, denies all native file, shell, and web permissions, passes through only the minimum authentication and conversation state, and exposes only OpenClaw's host-isolated MCP bridge. Antigravity and the bridge both enforce the requested OpenClaw tool list. Ambient user/workspace plugins, skills, hooks, rules, and agents are excluded. Exact-cap runs require Antigravity CLI 1.1.9 or newer and fail closed when native tools are requested; unrestricted turns keep the normal native tool behavior and additionally receive the OpenClaw MCP bridge.

Client Configuration

Configure your ACP-compatible editor or client to launch google-antigravity-acp over stdio:

{
  "command": "npx",
  "args": ["-y", "google-antigravity-acp"]
}

CLI Options

Usage: google-antigravity-acp [options]

Agent Client Protocol (ACP) server for Google Antigravity

Options:
  -V, --version             output the version number
  -b, --binary-path <path>  Path to custom agy binary
  -m, --model <model>       Default model for agent sessions
  -e, --effort <effort>     Reasoning effort (low, medium, high)
  --no-skip-permissions     Do not auto-approve permissions in agy
  -h, --help                display help for command

License

MIT