wassim-azi/agy-powerline

A fast, configurable statusline for Google Antigravity

JavaScript

10

18 commits

updated Oct 11, 2026

See the code

See what people are saying

README

agy-powerline

CI Version Node License: MIT Dependencies

A fast, configurable statusline for Google Antigravity's CLI (agy).

See your model, Gemini 5h/7d quotas, context window, git branch and more at a glance. Pick widgets, themes and layout from an interactive editor. One command to install, no dependencies.

agy-powerline Pills layout with the dark-ocean theme: agent state, model, plan, project and git; context; 5h and 7d quotas with resets

Install

You need Node.js 20+ and the Antigravity CLI. Works on Windows, macOS, Linux and WSL (WSL notes).

npx agy-powerline init        # install the statusline into agy
npx agy-powerline configure   # optional: pick widgets, theme and layout
agy                           # start Antigravity

init asks before replacing anything and backs up Antigravity's settings.json first. Restart agy once after init. Details: what init does.

For a Nerd Font–free terminal, turn on ASCII mode (i in configure).

Customize

npx agy-powerline configure opens an editor with a live preview of your bar. Use ← → to switch between Widgets, Presets, Themes, Layout and Powerline, ↑ ↓ to move, Enter to pick, q to save and quit. The keys for each screen are shown at the bottom; the full list is in Configuration.

Changes apply to a running agy on its next refresh.

Presets

Start from a preset, then adjust:

PresetShows
defaultModel, context, git; 5h and 7d quotas with resets on a second row
compactOne line: short model, tightest quota, context %, git
workspaceProject, git, agent state, model; context and tightest quota
limitsEvery quota (5h, 7d, third-party), one per row
fullEverything: session, project and git; context, tokens and cache; both quotas

Themes

Terminal backgroundThemes
Darkdark-aurora (default), dark-ocean, dark-ember, dark-forest, dark-neon, dark-mono, dark-nocturne, dark-onyx, dark-metro
Lightlight-paper, light-sky, light-sunset, light-cream
Color-blind safecolorblind-dark, colorblind-light
Your own colorscustom (how)

Preview them all with npx agy-powerline theme --gallery.

Layouts

Pills (default): powerline-style capsules. Choose round, angled, slanted or flat shapes, and optionally a blank line between rows.

agy-powerline Pills layout with the light-sky theme on a light terminal, with space between rows

Lines: the same information as plain colored text.

agy-powerline Lines layout with the dark-ocean theme on a dark terminal agy-powerline Lines layout with the light-sky theme on a light terminal

Widgets

WidgetShows
modelThe model in use
fiveHourBar, weeklyBar5h / 7d quota left as a meter, with a pace marker
fiveHourPct, weeklyPct5h / 7d quota left as a percentage
fiveHourReset, weeklyResetTime until the quota resets, or the reset time
quotaThe quota closest to running out, with its reset
thirdPartyFiveHour, thirdPartyWeeklyThird-party model quotas
context, contextPct, contextTokensContext window used: meter, percentage or token counts
gitBranch, uncommitted changes and ahead/behind
project, cwdProject folder, current folder
agentState, plan, sandbox, artifacts, versionWhat the agent is doing, your plan, sandbox, artifacts, CLI version
totalTokens, cacheHit, cacheRead, cacheCreateSession tokens and prompt cache usage
ramMemory used on your machine
customText, execYour own text, or the output of a shell command

A widget with nothing to show hides itself. Widgets can be recolored, made label-free or given their own alert thresholds: see Configuration.

Commands

CommandWhat it does
npx agy-powerline init [--yes]Install or update the statusline
npx agy-powerline configureOpen the editor (alias config)
npx agy-powerline preset <name>Apply a preset (--list to see them)
npx agy-powerline theme <name>Switch theme (--list, --gallery)
npx agy-powerline layout <pills|lines>Switch layout
npx agy-powerline caps <style>Switch the pill shape: round, angled, slanted, flat
npx agy-powerline doctorCheck the install and explain what's wrong
npx agy-powerline reportWrite a privacy-safe bug report
npx agy-powerline uninstall [--delete]Remove it from agy (--delete also removes its files)
npx agy-powerline render --demoPrint the bar with sample data

Run any command with --help for its options.

Updating

npx agy-powerline init --yes   # install the new version's scripts
npx agy-powerline doctor       # check everything is up to date

Your settings are kept. Restart agy afterwards.

Troubleshooting

Run npx agy-powerline doctor first: it checks the install and tells you how to fix what it finds. Common problems and how to report a bug: Troubleshooting.

Privacy and security

  • No network calls, no telemetry. Everything comes from the data agy passes to the bar, from .git and from your OS. The only link out is g in configure, which opens the GitHub page in your browser.
  • Your settings are safe. init and uninstall back up settings.json and refuse to edit a file they can't parse.
  • Nothing runs unless you add it. Apart from a quick git call for ahead/behind counts, the only commands the bar runs are exec widgets you configure yourself.
  • Zero runtime dependencies, published from CI with npm provenance.

Full details: SECURITY.md.

Contributing

Contributions are welcome. Start with CONTRIBUTING.md (setup, architecture, adding a widget or theme) and the Code of Conduct. Open pull requests against develop. Report bugs and ask questions in GitHub issues.

License

MIT © Wassim AZI

antigravity
cli
gemini
nodejs
powerline
statusline
terminal

wassim-azi/agy-powerline

A fast, configurable statusline for Google Antigravity

JavaScript

10

18 commits

updated Oct 11, 2026

See the code

See what people are saying

README

agy-powerline

CI Version Node License: MIT Dependencies

A fast, configurable statusline for Google Antigravity's CLI (agy).

See your model, Gemini 5h/7d quotas, context window, git branch and more at a glance. Pick widgets, themes and layout from an interactive editor. One command to install, no dependencies.

agy-powerline Pills layout with the dark-ocean theme: agent state, model, plan, project and git; context; 5h and 7d quotas with resets

Install

You need Node.js 20+ and the Antigravity CLI. Works on Windows, macOS, Linux and WSL (WSL notes).

npx agy-powerline init        # install the statusline into agy
npx agy-powerline configure   # optional: pick widgets, theme and layout
agy                           # start Antigravity

init asks before replacing anything and backs up Antigravity's settings.json first. Restart agy once after init. Details: what init does.

For a Nerd Font–free terminal, turn on ASCII mode (i in configure).

Customize

npx agy-powerline configure opens an editor with a live preview of your bar. Use ← → to switch between Widgets, Presets, Themes, Layout and Powerline, ↑ ↓ to move, Enter to pick, q to save and quit. The keys for each screen are shown at the bottom; the full list is in Configuration.

Changes apply to a running agy on its next refresh.

Presets

Start from a preset, then adjust:

PresetShows
defaultModel, context, git; 5h and 7d quotas with resets on a second row
compactOne line: short model, tightest quota, context %, git
workspaceProject, git, agent state, model; context and tightest quota
limitsEvery quota (5h, 7d, third-party), one per row
fullEverything: session, project and git; context, tokens and cache; both quotas

Themes

Terminal backgroundThemes
Darkdark-aurora (default), dark-ocean, dark-ember, dark-forest, dark-neon, dark-mono, dark-nocturne, dark-onyx, dark-metro
Lightlight-paper, light-sky, light-sunset, light-cream
Color-blind safecolorblind-dark, colorblind-light
Your own colorscustom (how)

Preview them all with npx agy-powerline theme --gallery.

Layouts

Pills (default): powerline-style capsules. Choose round, angled, slanted or flat shapes, and optionally a blank line between rows.

agy-powerline Pills layout with the light-sky theme on a light terminal, with space between rows

Lines: the same information as plain colored text.

agy-powerline Lines layout with the dark-ocean theme on a dark terminal agy-powerline Lines layout with the light-sky theme on a light terminal

Widgets

WidgetShows
modelThe model in use
fiveHourBar, weeklyBar5h / 7d quota left as a meter, with a pace marker
fiveHourPct, weeklyPct5h / 7d quota left as a percentage
fiveHourReset, weeklyResetTime until the quota resets, or the reset time
quotaThe quota closest to running out, with its reset
thirdPartyFiveHour, thirdPartyWeeklyThird-party model quotas
context, contextPct, contextTokensContext window used: meter, percentage or token counts
gitBranch, uncommitted changes and ahead/behind
project, cwdProject folder, current folder
agentState, plan, sandbox, artifacts, versionWhat the agent is doing, your plan, sandbox, artifacts, CLI version
totalTokens, cacheHit, cacheRead, cacheCreateSession tokens and prompt cache usage
ramMemory used on your machine
customText, execYour own text, or the output of a shell command

A widget with nothing to show hides itself. Widgets can be recolored, made label-free or given their own alert thresholds: see Configuration.

Commands

CommandWhat it does
npx agy-powerline init [--yes]Install or update the statusline
npx agy-powerline configureOpen the editor (alias config)
npx agy-powerline preset <name>Apply a preset (--list to see them)
npx agy-powerline theme <name>Switch theme (--list, --gallery)
npx agy-powerline layout <pills|lines>Switch layout
npx agy-powerline caps <style>Switch the pill shape: round, angled, slanted, flat
npx agy-powerline doctorCheck the install and explain what's wrong
npx agy-powerline reportWrite a privacy-safe bug report
npx agy-powerline uninstall [--delete]Remove it from agy (--delete also removes its files)
npx agy-powerline render --demoPrint the bar with sample data

Run any command with --help for its options.

Updating

npx agy-powerline init --yes   # install the new version's scripts
npx agy-powerline doctor       # check everything is up to date

Your settings are kept. Restart agy afterwards.

Troubleshooting

Run npx agy-powerline doctor first: it checks the install and tells you how to fix what it finds. Common problems and how to report a bug: Troubleshooting.

Privacy and security

  • No network calls, no telemetry. Everything comes from the data agy passes to the bar, from .git and from your OS. The only link out is g in configure, which opens the GitHub page in your browser.
  • Your settings are safe. init and uninstall back up settings.json and refuse to edit a file they can't parse.
  • Nothing runs unless you add it. Apart from a quick git call for ahead/behind counts, the only commands the bar runs are exec widgets you configure yourself.
  • Zero runtime dependencies, published from CI with npm provenance.

Full details: SECURITY.md.

Contributing

Contributions are welcome. Start with CONTRIBUTING.md (setup, architecture, adding a widget or theme) and the Code of Conduct. Open pull requests against develop. Report bugs and ask questions in GitHub issues.

License

MIT © Wassim AZI

antigravity
cli
gemini
nodejs
powerline
statusline
terminal

Project health

Latest release

1.0.2 · Oct 11, 2026

Releases this year

3