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

antigravity-ask

v0.3.2

Published

CLI and shared client utilities for Antigravity chat automation

Downloads

191

Readme

antigravity-ask

antigravity-ask is a CLI for controlling the Antigravity Ask Bridge HTTP server from the terminal.

With this CLI, you can create headless conversations in Antigravity, wait for a final response, and inspect conversations or artifacts.

Quick start

You do not need to install the CLI globally to use it.

npx antigravity-ask ping

If you prefer a global install, you can still use:

npm install -g antigravity-ask

After installation, you can verify it immediately in an environment where the bridge is running.

npx antigravity-ask ping

Without an explicit override, the CLI resolves the bridge from the current working directory, opens that folder as a workspace if needed, and waits for the matching bridge to become ready.

Auto-discovery supports single-folder workspaces only. Opening the same folder in multiple windows is unsupported and returns an ambiguity error.

Golden path

# Check bridge status
npx antigravity-ask ping

# Create a headless conversation and wait for the final response
npx antigravity-ask ask "Summarize the current bridge architecture."

# Create a headless conversation asynchronously and inspect it later
npx antigravity-ask send "Open a new chat and say hello"
# → returns { "success": true, "job_id": "xxx" }
# Poll status: GET /conversations/jobs/:jobId

URL overrides

The CLI resolves the target bridge in the following order.

  1. --url <baseUrl>
  2. --http-port <port>
  3. AG_BRIDGE_URL
  4. current working directory workspace discovery

Examples:

npx antigravity-ask --url http://127.0.0.1:5820 ping
npx antigravity-ask --http-port 5820 ping
npx antigravity-ask ask "Summarize the current bridge architecture."
npx antigravity-ask send "Review the failing tests"
AG_BRIDGE_URL=http://127.0.0.1:5820 npx antigravity-ask ping

Commands

npx antigravity-ask ask <text>
npx antigravity-ask send <text>
npx antigravity-ask ping
npx antigravity-ask action <type>
npx antigravity-ask artifacts
npx antigravity-ask conversation <id>
npx antigravity-ask artifact <id> <path>

ask creates a headless conversation and waits for the final answer. send creates a headless conversation and returns a job_id so you can poll GET /conversations/jobs/:jobId yourself.

Legacy aliases:

npx antigravity-ask status
npx antigravity-ask new-chat
npx antigravity-ask conversations

Common actions

npx antigravity-ask action start_new_chat
npx antigravity-ask action focus_chat
npx antigravity-ask action allow
npx antigravity-ask action reject_step
npx antigravity-ask action terminal_run

Canonical action/path contracts live in src/contracts/bridge.ts.

Workspace discovery

  • the CLI canonicalizes process.cwd() and looks for a matching live bridge instance
  • if no bridge is found, it opens the current folder with antigravity --new-window <cwd>
  • it waits for both /ping discovery metadata and /lsstatus readiness before creating headless conversations
  • same-folder multi-window is unsupported; close duplicates or use --url

From source

pnpm install
pnpm --filter antigravity-ask build
pnpm exec antigravity-ask --help

Related docs