Repository navigation
Agent demo: Antigravity CLI as a local agent - #156
Merged
Merged
Conversation
run.sh antigravity runs agy headless (stream-json), with the tabctx MCP server for this run only in the workspace's .agents/mcp_config.json (no key in it: the server inherits the environment). A parser turns its step events into the page's events (call_mcp_tool -> the tabctx tool, run_command -> a shell command with its output, write/edit_file -> file paths), and the work panel draws its file tools. Local only: headless agy needs --dangerously-skip-permissions, and its --sandbox still lets the agent read any file the user can (the withheld answers included), so it is not offered on the hosted demo. Gemini CLI no longer works for individual accounts; Google points to Antigravity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #156 +/- ##
===========================================
+ Coverage 32.20% 87.74% +55.54%
===========================================
Files 67 67
Lines 6723 6723
===========================================
+ Hits 2165 5899 +3734
+ Misses 4558 824 -3734
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
- A tool step ends once, on an end state (DONE, ERROR, CANCELLED...); other states are still going, and repeated ends are ignored. - A call waits for its arguments: an early update may have none. - run_command: the exit code is read from its header (no header is not a failure), the header is stripped, and "No output" is empty. - Steps without an index are paired in order; a stopped run's last words are flushed (a parser finish() hook, used by the page's stream too). - Antigravity always has a shell, so run.sh refuses it, and the page doesn't offer it, in a scenario whose agents get none. - make_showcase.py drops its init event (agy names events "event"). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Google's Antigravity CLI (
agy) as an agent for local runs:run.sh antigravity.agy -p ... --output-format stream-json --dangerously-skip-permissions --sandbox, with the tabctx MCP server for that run only in.agents/mcp_config.jsonin the run folder (no key in the file; the server inherits the environment). Model:AGY_MODEL, defaultgemini-3.8-flash-high.AntigravityParser):call_mcp_toolon servertabctxbecomes the tabctx tool;run_commandbecomes a shell command with its output (exit code read from the header);write_file/edit_file/view_filecarry their path; streamed text deltas become messages;resultgives seconds and turns.edit_file,view_file,list_dir,grep_search, ...).--sandboxstill lets the agent read any file the user can, including the withheld answers. It needs the user's own Google sign-in too.Why: Gemini CLI no longer works for individual accounts ("This client is no longer supported... migrate to the Antigravity suite").
Checked: 4 of the 6 open-question sweep runs finished with full tabctx tool use (the other 2 hit the account's weekly quota); 2 new parser tests; 118 demo tests pass. On the trap questions (a "safe" increase threshold, brokers vs direct) it overclaimed more than the Claude models, so the demo stays on Claude Code.
🤖 Generated with Claude Code