Skip to content

Antigravity Tool

An antigravity-like run: ● and the bold verb, the target in brackets, and the output folded behind (ctrl+o to expand) until you open it.

On this page

Examples

Drawn for this look alone: no other look prints it, so it has no generic part. Every part in all eight looks is on Agent CLI.

Installation

npx knowns-ui@latest add agent-cli-antigravity
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

tool / args
string
Any name (Read, Bash, MyPlugin.search) and what it was called with.
state
"waiting" | "running" | "done" | "failed" | "denied"
Default"done"
Where the call is.
output / streaming
string / boolean
Its output, folded after collapseAfter lines; streaming shows the newest lines.
summary / error
string
The one-line result, or what went wrong.
result
ReactNode
Your own view under the call.
diff
{ path, before, after } | { path, patch }
A change under the call.
collapseAfter
number
Default4
Lines before +N lines.
children
ReactNode
Nested calls.
expanded
boolean
Defaultfalse
Show the output under the row. The CLI folds it and says how to open it.

When to use

When to use

  • Showing commands an agent ran with their output folded, as the antigravity-like CLI does.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Antigravity Tool to my app and wire it to my own data.
  • I need showing commands an agent ran with their output folded, as the antigravity-like CLI does. Set that up with the Knowns UI Antigravity Tool.
  • Which Antigravity Tool props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "antigravity-tool" }) and search_docs({ query: "antigravity tool" }).

Need help?

Stuck on Antigravity Tool, or found something off? We read every message.