跪拜 Guibai
← All articles
GitHub · Agent

Gemini 4's agy CLI hides context and quota, so an open-source status bar puts them back on screen

By 小帅不太帅 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Real-time visibility into context usage and quota burn prevents coding sessions from stalling when the 5-hour or weekly cap resets, a hazard that status bars solved for Claude Code and now lands on Google's CLI. Letting an AI agent configure the bar through a prompt also points to a setup workflow that skips config-file wrangling entirely.

Summary

Gemini 4's models, including Carbon, Neon, and Hydrogen, are posting benchmark scores that trade blows with Claude's Opus and Fable. The community reception has been warm, with many praising the new models for finally "talking like humans." One developer subscribed to Google AI Pro for $99 during Black Friday and got Carbon unlocked to his plan. The models work well, but the official Antigravity CLI, agy, leaves the bottom of the terminal blank. Context used, quota remaining, and reset timers are invisible.

AGY HUD, an open-source status bar, hooks into agy's native custom statusline support to fix that. The default two-line view shows the active model, project, Git branch, and run mode, plus a context progress bar, 5-hour and weekly quota usage with reset countdowns. It also has a compact single-line mode, simplified/traditional Chinese labels, and an optional expanded view for cost estimates, tool calls, and sub-agent activity, all off by default.

Setup avoids configuration files: the repo bundles a Skill, and sending the prompt from the README to agy or any other agent previews the bar and then activates it, registering the /agy-hub command. AGY HUD fills a gap the official CLI hasn't addressed, and its agent-driven setup fits the coding-agent workflow it serves.

Takeaways
— Gemini 4 lineup includes Carbon, Neon, and Hydrogen models.
— Benchmarks place Gemini 4 Neon and Carbon close behind Claude's Opus and Fable.
— Google AI Pro annual subscription cost $99 on Black Friday, half the usual price.
— Carbon was unlocked for Pro subscribers after launch.
— agy CLI natively supports custom statusline.
— AGY HUD is open-source at https://github.com/JS-banana/agy-hud.
— The status bar shows active model, project, Git branch, run mode, context progress, 5-hour and weekly quota usage, and reset countdowns.
— Compact single-line mode and simplified/traditional Chinese labels are available.
— An expanded view can display cost estimates, tool calls, and sub-agent stats, off by default.
— Setup uses a bundled Skill; sending the README prompt to agy or any AI agent previews and enables the bar.
Conclusions

A coding-agent CLI that can't show its own context usage is a blank spot, and community tooling filled it within days of the model launch, the same pattern that shaped Claude Code's add-ons.

Having an AI agent configure the status bar means the setup instruction is itself a prompt, so the tool that runs agents is also configured by one; that's a practical use of agent capabilities rather than a gimmick.

The author's decision to wait out rough CLI interactions rests on the belief that a strong underlying model and growing adoption will speed up toolchain maturity, a pattern that has held for Claude Code.

Concepts & terms
Skill
In AI agent tooling, a Skill is a pre-packaged set of instructions and capabilities bundled in a repository that an agent can invoke to perform a specific task, such as configuring a status bar.
From the discussion

The discussion centers on regional pricing and promotional deals for the service. A Turkish region price of 473 yuan per year draws skepticism about stability, though one user insists it's an official campaign. Another user asks whether the 99 USD yearly deal is still available, with a reply confirming it runs through Black Friday. A third user compares the Japanese region's monthly cost and questions how others get cheaper rates.

— Turkish-region pricing (473 yuan/year) is vastly cheaper than Japanese regional pricing (2900 yen/month).
— Skepticism about whether such a cheap regional price is reliable is countered by the claim that it's an official promotion.
— The 99 USD yearly deal remains valid until US Black Friday, around the 26th, but regional prices still differ significantly.
— Regional price gaps drive users to hunt for the cheapest option, with some unaware of how others obtain lower rates.
Featured comments
迷一样的自信

I've already subscribed, Turkey region, 473 yuan a year.

小帅不太帅

Is it stable? That cheap?

迷一样的自信  → 小帅不太帅

Bro, it's an official campaign. What do you think?

智走j

Is the deal still active? 99 USD for a year.

小帅不太帅

Still active, deadline is US Black Friday, around the 26th.

啦啦啦啦噜

How do you all buy it so cheap? In the Japan region I see 2900 yen, about 120 a month.

See top comments, translated →
Source: juejin.cn ↗ Google Translate ↗ Backup ↗