@ag-ui/antigravity
v0.0.1
Published
AG-UI integration for Google Antigravity - thin TypeScript client for Antigravity-backed AG-UI agents
Readme
@ag-ui/antigravity
TypeScript client for Google Antigravity agents exposed over the AG-UI protocol.
All translation happens on the Python side (ag_ui_antigravity), so this is a
thin HttpAgent plus capability discovery.
npm install @ag-ui/antigravityimport { AntigravityAgent } from "@ag-ui/antigravity";
const agent = new AntigravityAgent({ url: "http://localhost:8009/agentic_chat" });
const capabilities = await agent.getCapabilities();
// { tools: { supported: true, clientProvided: true },
// humanInTheLoop: { supported: true, interrupts: true }, ... }getCapabilities() fetches <url>/capabilities and validates the response
against AgentCapabilitiesSchema, throwing on a malformed payload. Override
capabilitiesUrl() or capabilitiesRequestInit() to customize the URL or auth.
See the Python package for the server, the event mapping, and the human-in-the-loop design.
