Skip to content

Antigravity

tokentop supports the Antigravity coding agent, reading account and session data to track token usage and costs.

The Antigravity agent plugin reads from ~/.config/opencode/antigravity-accounts.json to discover configured accounts, then parses local session data to extract token counts and cost information.

  • Session parsing — Reads session data from Antigravity’s local files
  • Real-time tracking — Watches for new activity as it happens
  • Caching — Maintains a local cache for efficient re-reads
PlatformPath
macOS~/.config/opencode/antigravity-accounts.json
Linux~/.config/opencode/antigravity-accounts.json

No configuration is required. If Antigravity is installed, tokentop auto-discovers its account data and begins tracking.