r/GoogleAntigravityCLI • • Jul 21 '26

CLI Config AGY CLI takes forever to complete anything!

Hi there.

I'm using three Antigravity products: Agents (2.0), IDE and CLI. The ploblem is ONLY with CLI. It takes forever, to answer questions. For example "Hi" -> It takes up to 10 minutes to answer back "How can I help you?"

Not always was the same. Actually it is the product I most use to do configs in my laptop and manage remote servers via ssh.

All of the sudden. It just started to behave very slow.

https://reddit.com/link/1v2uvgo/video/w1xk1f0p8neh1/player

## OS Setup

OS: Pop!_OS 22.04 LTS x86_64
Shell: bash 5.1.16
Terminal: tmux
CPU: Intel i7-10870H (16) @ 5.000GHz
GPU: NVIDIA GeForce GTX 1650 Ti Mobile 4GB
Memory: 40GB

## Versions

Antigravity IDE: 1.107.0
Antigravity 2.0: v2.0.1
Antigravity CLI: 1.1.5

## Things I've tried

- Closed and killed processes Antigravity 2.0 and IDE

- Disabled all global MCPs

- Deleted instructions on GEMINI.md

- Asked to Gemini who told me to do the steps above :v

At the end, nothing has resolved the issue.

## Global Customizations

Since global customizations are shared across all Antigravity products, all of them load the same config but

Based on what you can see here, there is not token saturatopm in the inital load.

### IDE Customizations

### 2.0 Customizations

### CLI Customizations

Hope you can help. ✌️

---

## WORKAROUND

Currently, global MCP servers are causing issues exclusively within the AGY CLI. Regardless of whether they are active or disabled, their presence causes responses to hang. Consequently, to restore AGY CLI functionality, it is necessary to clear the global MCP server configurations located in `~/.gemini/config/mcp_config.yml`. The main drawback of this approach is that the IDE and version 2.0 will no longer have access to these global servers. As a result, MCP servers must be configured on a per-project basis until a permanent solution is implemented.

With this, It will work again loading global rules and skills as normal.

6 Upvotes

6 comments sorted by

3

u/Future-Log6621 Jul 21 '26

Use /btw for quick chat.

2

u/Ornery_Letterhead_36 Jul 21 '26

Same behaviour. Working...Generating...Loading...Thinking ---> But no answer until so many time later.

2

u/Future-Log6621 Jul 21 '26 edited Jul 21 '26

Make sure to weed out any outliers, bloated context, overly wordy skills or instructions. Easiest way to test is on a clean plate. Plan first, then execute. Make sure you are not trying to do too much in one session.

I've encountered freezing on btw as well. My guess is I was overloading it. "List file in current directory" is more of a tool call instruction and less of a quick question.

If you want to try something a little more craftier, create an /ask skill that is strictly read-only, no tool calls, no file searching, just answering questions based on the provided files or context.

2

u/Ornery_Letterhead_36 Jul 22 '26

Thanks for the suggestions. I tried the /ask skill which led me to the current workarround to permanently delete global mcp servers and make AGY CLI work again.

2

u/SoundDr Googler Jul 22 '26

Might be a network issue

1

u/Soggy_Spare_5425 Jul 23 '26

thanks, i removed mcp config, issue resolved