r/GoogleAntigravityCLI • • 2h ago

Tools agy and MCP tool schemas: declarations dropped over about 1.5 KB, and RE2 rejecting a lookahead

2 Upvotes

I run agy as a background lane in Ptah, an open source (MIT) desktop app I built, much of it written by AI agents. Three things agy did to my MCP tool schemas:

1. Size. agy drops tool declarations over about 1.5 KB of its cached Go-escaped JSON, and my agy lane lost 11 Ptah tools that way. Since 2.1.0 schemas are compacted for agy only (1,400 B budget): annotations go first, then opaque nested values, arrays keep items.

2. RE2. A lane failed at start with 0 tool calls: a schema pattern had a negative lookahead and agy's RE2 engine rejects it. Fixed in 2.1.0:

removed: (?!-)
kept:    ^[A-Za-z0-9._/][A-Za-z0-9._/-]{0,199}$

A test now flags lookaround and backreferences in every tool schema.

3. Quota (on main, not in a release yet). On agy 1.5.22 a third-party quota stop arrives as one text chunk plus end_turn, exit 0, so it looks like a finished turn. Ptah now classes a notice that opens the turn as a usage-limit failure, per pool (gemini vs claude-gpt). Known limit: one stop blocks the whole agy lane for review selection until reset.

Is the ~1.5 KB limit documented anywhere, or does it move between agy versions?

Repo: https://github.com/Hive-Academy/PtahCode


r/GoogleAntigravityCLI • • 7h ago

Tutorial How to stretch your Antigravity quota using Hydrogen Medium

2 Upvotes

Running Carbon or Neon High for every message burns through your Pro quota fast, because Hydrogen, Neon, and Carbon all draw from the same Gemini pool.

In daily terminal work, Gemini 4 Hydrogen (Medium) feels closest in speed and burn to fast workhorses like DeepSeek or GLM Flash, while keeping Gemini 4 steerability for tool calls and edits. It trades off some architectural nuance against Neon High or Carbon, so splitting by turn pays off:

TaskModel / EffortWhy
Daily routing, shell ops, file editsGemini 4 Hydrogen (Medium)Fast responses, lowest quota burn
Planning + execution splitOrchestrator (Neon) + Hydrogen Medium executorNeon plans, Hydrogen runs tools
Heavy prose, audits, 1M-context readsGemini 4 Neon (High)High steerability when drafting directly
Blind reviews, tough second opinionsGemini 4 Carbon (High)Save pure Carbon for judgment calls
Occasional second-family cross-checkClaude Opus/Sonnet 5.5 in agySeparate smaller pool, best saved for advice

Four rules that help most:

  1. Default interactive sessions to Hydrogen (Medium) or Orchestrator (Neon) and switch up via /model only for judgment-heavy turns.
  2. Check your quota bar before sending large multi-file review packs so a single heavy call does not lock the window.
  3. Run /compact on long threads or start a fresh session per task, because carrying huge context multiplies quota burn on every turn.
  4. Keep agy's built-in Claude models for occasional second-family advice when the Gemini pool is tight, since that third-party allowance is small.

Limit: quota burn varies with context size, and parallel background subagents still draw from the same pool.

What split is working best for your daily agy sessions?


r/GoogleAntigravityCLI • • 9h ago

Question Will logging in/out between two Google AI Pro accounts on the official Antigravity CLI trigger an anti-abuse ban?

Thumbnail reddit.com
2 Upvotes

r/GoogleAntigravityCLI • • 15h ago

Demo I couldn't find a good browser drone sim for my DJI FPV Remote Controller, so I built a free open-source one

4 Upvotes

I wanted a quick way to practice both stabilized cinematic shots and full Manual/Acro flips with my DJI FPV Remote Controller over USB-C without wrestling with heavy downloads or macOS setup so

 I built a free browser-based 3D drone simulator using Google Antigravity (Three.js + TypeScript + Web Gamepad / WebHID API).

Try it live (no install, runs in Chrome/Edge): https://sumanthexp.github.io/dji-drone-sim/

Open-source GitHub repo: https://github.com/sumanthExp/dji-drone-sim

Built with Google Antigravity. Feedback, bug reports, and PRs are welcome!