agy-powerline interactive editor demo

A statusline should answer the questions you keep asking while you work: Which model am I using? How much quota is left, and will it last? Is the context window getting full? What is the agent doing? Did my Git branch change?

agy-powerline 2.0.0 brings that information into one configurable bar beneath the input area of Google Antigravity CLI (agy). It combines multi-provider quota pacing and run-out forecasts, context and token tracking, estimated spend, agent activity, Git details with clickable links, and a redesigned editor—without adding runtime dependencies or network calls.

agy-powerline under agy input box in Windows Terminal

See more than the model and the quota

The statusline reads Antigravity CLI's session payload and supports Google Gemini quota buckets—including Hydrogen, Neon, Argon, Carbon, and Flash—alongside Anthropic (Claude, Sonnet) quotas and Argon's own weekly bucket. Pace markers compare quota consumption with elapsed time in the 5-hour or 7-day window, and optional forecast labels estimate when a quota will run out at the current pace.

Beyond quotas, 2.0 expands session visibility across 51 widgets:

  • Context & compaction: measure context against the full window or a soft compactionLimit ceiling (such as 256K).
  • Tokens & spend: track session tokens, prompt-cache hits, cross-conversation totals for today, 7 days, and 30 days (read locally on Node.js 22.13+), and estimated USD session cost with optional subagent spend splitting and budget alerts.
  • Agent & environment: show the active agent, agent state including pending tool confirmations, running subagents and background tasks, queued user messages, approval/Vim modes, sandbox status, env variables, and user-configured exec commands.
  • Git & links: display branch, ongoing git operations (REBASE, MERGING, etc.), changes, ahead/behind counts, worktrees, stashes, and commit IDs, with optional clickable OSC 8 terminal links and Fish-style shortening (~/D/r/app, f/a/oauth-login).

Make the bar fit the way you work

Run npx agy-powerline to install or update the statusline while keeping any existing config, and open the redesigned terminal editor directly. Inside the editor you can preview widgets in multiple states, switch between sample scenarios (Normal, Near limits, Agent & modes) and simulated terminal widths (60 to 120 columns or full width), filter themes and presets with /, use mouse click and scroll, and configure all 16 bar-wide settings in the dedicated Settings tab.

Prefer a browser? The web configurator at https://agy-powerline.com/configure/ mirrors the editor with live previews and lets you download or import a config. Choose between three layouts (Pills, Lines, and Classic), 22 WCAG AA themes (dark, light, and color-blind safe) plus custom colors, 8 row gradients, 9 meter styles, 7 bar languages (including newly added German, Korean, and Simplified Chinese), and ASCII mode.

Useful links

Install or upgrade from 1.x:

npx agy-powerline 

Restart agy once after the first installation; existing statusline.config.json files from 1.x remain compatible, and later changes appear on the next refresh.

Compatibility: Node.js 20+ for the statusline (npx agy-powerline), Windows, macOS, Linux, and WSL; Node.js 22.13+ for cross-conversation token totals (tokensToday, tokensWeek, tokensMonth).