Built a tiny zero-dependency Rust sidecar for live token count, quota rings, auto-compact, notes, and global search (Antimetro)

Hey everyone,

Like many of you working in long Antigravity sessions, I kept running into the same friction: by default a chat can quietly grow up to 512K tokens before compacting. Usually right around 150K-200K the model starts losing track of earlier instructions, and every tool call starts burning through quota fast. On top of that, I wanted a quick way to check my remaining quota, keep scratch notes per chat, and search across older or already compacted conversations without leaving the workspace.

So I built Antimetro, an open-source sidecar plugin that sits quietly in the Antigravity Side Panel (tested on v2.35.2).

Here is what it gives you in everyday use:

  • Live token meter + draggable Auto-compact: shows exact context tokens (0-512K scale) and how much the current session grew or shrank. You can drag the blue threshold pin right on the bar (10K-500K) to auto-compact after the model finishes its turn, or hit Compact now manually with a 1-click Undo if you change your mind.
  • Live model quota rings: right under the token bar, you get Gemini and Other (Claude/GPT) weekly (W) and 5-hour (5h) remaining quota rings with Resets in ... tooltips, updating automatically as you work.
  • Per-chat Notes: card-based notes that auto-save as you type, support pinning important cards to the top, collapse cleanly to 5 lines when you click away, and automatically clean up after themselves if you permanently delete a chat.
  • Instant global Search (Ctrl+F / Cmd+F): searches across up to 500 recent chats (including archived ones), all your saved notes, and even older messages hidden before /compact.

Under the hood, I wanted it to be as lightweight and private as possible: it is written in pure Rust with 0 external crates (~690 KB binary), makes zero network calls outside 127.0.0.1, has no telemetry, and automatically matches your Antigravity light/dark theme and accent color.

Pre-built binaries with 2-click installers for Windows, macOS (Apple Silicon & Intel), and Linux are available on the Releases page (no Rust install needed), licensed under Apache-2.0:

Would love to hear how it works for your workflow or if you run into any rough edges!

Quick update — v1.4.0 is out (on the GitHub repo linked above):

  • 1-click jump from Search: clicking the new ↗ arrow next to a search match switches straight to that chat, including older or compacted ones.
  • Quota UI polish: 1s auto-refresh and a warm amber color for mid-range quota rings so they’re easier to read at a glance.
  • Quiet update check: checks GitHub Releases every 24h in the background (no telemetry) and shows a subtle indicator when a newer version is available.
  • Toolbar & drawer cleanup: aligned action bar with an About drawer and feedback link, plus fixes for chat header matching and scroll behavior.

Also verified on Antigravity v2.35.2.

Update — v1.5.0 is out (on the GitHub repo linked above):

  • Context breakdown on hover: hovering the main token counter now shows a tabular breakdown of what fills your context window (Tools, System, Replies, Summary, You) with exact token counts and percentages.
  • Drag-and-drop Notes & smoother editing: reorder note cards cleanly within pinned or unpinned sections; clicking a collapsed card opens it for reading/copying first, and clicking inside places the cursor where you clicked.
  • UI & delete polish: clearer green/red confirmation on card delete (✓ / ×), smooth animations with zero layout shift when scrollbars appear, and cleaner native desktop cursors.
  • Reliability & packaging: queues post-turn quota refreshes if a reply finished while the window was minimized, plus versioned download archive names so updates don’t collide.

Verified on the standalone Antigravity App 2.0 desktop app (v2.36.0, not the older VS Code IDE).

Hi @izomondo,

Thank you for sharing Antimetro and keeping the community updated through v1.5.0. Live context token tracking, hover breakdowns, quota rings, auto-compact controls, per-chat notes, and search across compacted conversations address practical workflow needs for long Antigravity App sessions, and we appreciate you documenting how you built it as a Side Panel sidecar.

As a note for others trying community plugins, please review third-party tools independently before installing. Please let us know if you need any assistance with Antigravity sidecars or plugin support.

Thanks! Totally agree on checking third-party tools before installing, which is a big reason I kept it pure Rust with zero external crates so it’s easy to skim or build from source.

Also appreciate the offer. If you ever share docs on Side Panel / sidecar lifecycle changes or put together a community plugin list for Antigravity 2.0, feel free to ping me. Would love to keep Antimetro in sync with it.