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

@arnilo/prism-antigravity-agent

v0.4.0

Published

Delegated agent adapter for official Antigravity CLI (agy) with per-run Prism MCP capability exposure and AG-UI timeline projection.

Readme

@arnilo/prism-antigravity-agent

Delegated agent adapter around the official Google Antigravity CLI (agy) with per-run Prism MCP capability exposure, custom hybrid tool policies, and AG-UI timeline projection.

Overview

@arnilo/prism-antigravity-agent enables Prism orchestrators and supervisors to delegate tasks to the official agy CLI using the host's authenticated Google AI Pro or AI Ultra subscription quota while exposing selected Prism tools via Model Context Protocol (MCP).

  • CLI-Owned Agent Loop: agy owns planning, model selection, reasoning, subagents, and loop execution.
  • Prism Capabilities & Security: State-changing workspace mutations (file edits, command execution, browser automation) route through authorized Prism MCP tools with secret redaction and policy enforcement.
  • Zero Credential Handling: Prism never reads, stores, refreshes, or copies Antigravity OAuth tokens. Headless CLI runs use cached host credentials from interactive agy login.
  • Safe Timeline Projection: Streams init, step_update, and result events into typed Prism AgentEvents and AG-UI activity snapshots without exposing unreleased internal chain-of-thought transcripts.

Installation

npm install @arnilo/prism-antigravity-agent

Prerequisites

Ensure the official Antigravity CLI (agy) is installed and authenticated on the host system:

agy login

Quick Start

Basic CLI Delegation

import { createAntigravityCliAgent } from "@arnilo/prism-antigravity-agent";

const agent = createAntigravityCliAgent({
  toolPolicy: "prism-mutators", // default: route state changes to Prism MCP
});

const result = await agent.run({
  prompt: "Analyze repository test suite and fix failing cases",
  cwd: process.cwd(),
});

console.log("Agent status:", result.status);
console.log("Response:", result.response);

Exposing Prism MCP Tools to Antigravity

import { createAntigravityCliAgent } from "@arnilo/prism-antigravity-agent";

const agent = createAntigravityCliAgent({
  tools: [
    {
      name: "run_build",
      description: "Runs npm run build",
      execute: async () => ({ toolCallId: "1", name: "run_build", content: [{ type: "text", text: "Build succeeded" }] }),
    },
  ],
  toolPolicy: "prism-mutators",
});

const result = await agent.run({
  prompt: "Run the build and verify clean output",
  cwd: "/path/to/workspace",
  onEvent: (event) => {
    console.log("Prism AgentEvent:", event.type);
  },
});

Supervisor Delegation Tool

import { createAntigravityCliAgent, createAntigravityDelegationTool } from "@arnilo/prism-antigravity-agent";

const agent = createAntigravityCliAgent();
const delegationTool = createAntigravityDelegationTool({ agent });

// Register in Prism ToolRegistry
registry.register(delegationTool);

Tool Policies

  • "prism-mutators" (default): Denies overlapping Antigravity built-in mutators (run_command, write_to_file, replace_file_content, delete_file, rename_file, launch_browser, browser_action) and routes state mutations to authorized Prism MCP tools.
  • "prism-only": Denies all mutator and read-only built-in tools, requiring all operations to execute through Prism MCP.
  • Custom: Explicit { allowBuiltins: [...], denyBuiltins: [...] }.

License

MIT