Source: https://ailoot.ai/docs/integrations/antigravity-cli/
Canonical: https://ailoot.ai/docs/en/integrations/antigravity-cli/
Language: en

[Terminal agents](https://ailoot.ai/docs/en/integrations/#agents) 

# Antigravity CLI

[Markdown](https://ailoot.ai/docs/en/integrations/antigravity-cli/index.md)

Terminal agent · Gemini

**Under review.** The configuration is based on the application's documentation, but some details remain unconfirmed. Compare it with the settings screen and contact support if anything does not match.

| Format | Where to set it up |
| --- | --- |
| Gemini | ~/.gemini/antigravity-cli/settings.json → "modelProvider": "gemini"; GEMINI\_API\_KEY and GOOGLE\_GEMINI\_BASE\_URL environment variables |

## [](https://ailoot.ai/docs/integrations/antigravity-cli/#setup)Setup

Copy the configuration and replace `sk-...` with your key from the Ailoot Dashboard. Prefer storing the key in the environment variable `AILOOT_API_KEY`, if the application supports it.

Before starting, request GET /v1/models with your Ailoot key. Choose an exact model ID whose methods include POST /v1beta/models/{model}:generateContent, then use that ID in the configuration. For agents, also check tool support and the features required by your client version.

`~/.gemini/antigravity-cli/settings.json`

```json
{
  "modelProvider": "gemini"
}
```

```bash
export AILOOT_API_KEY="sk-..."
# in the terminal:
export GEMINI_API_KEY="$AILOOT_API_KEY"
export GOOGLE_GEMINI_BASE_URL=https://api.ailoot.ai
agy --model gemini-3.8-flash
```

Example model: `gemini-3.8-flash`. Choose any other model from the [catalog](https://ailoot.ai/models/en/) — check that it supports the format you need.

## [](https://ailoot.ai/docs/integrations/antigravity-cli/#notes)Good to know

The protocol is native Gemini REST (streamGenerateContent, key in X-Goog-Api-Key), using the https://api.ailoot.ai/v1beta/... path. For each question, agy sends two requests: the conversation title and the response itself. The agent reserves substantially more for each step than a regular chat, so keep extra funds in your balance. This card is in the “Under review” section: the configuration is based on the documentation, and a live client run through Ailoot has not yet been performed. If modelProvider = gemini and GEMINI\_API\_KEY is empty, the CLI will not start.

## [](https://ailoot.ai/docs/integrations/antigravity-cli/#check)Test

- For the Gemini format, the URL is `https://api.ailoot.ai` without `/v1beta`.
- Ask a short question. If you get an error, check the code and Request ID, then consult [Errors and limits](https://ailoot.ai/docs/en/errors/).
- `404`: `https://api.ailoot.ai` → `/v1beta/models/{model}:generateContent`. Before starting, request GET /v1/models with your Ailoot key. Choose an exact model ID whose methods include POST /v1beta/models/{model}:generateContent, then use that ID in the configuration. For agents, also check tool support and the features required by your client version.
- 402 — insufficient balance for the reserve. Agents reserve more than chat: [why](https://ailoot.ai/docs/en/billing/reserve/).

Application documentation: [https://antigravity.google/docs/cli/install/](https://antigravity.google/docs/cli/install/)

Still have questions? Send your Request ID and a description — we'll help you troubleshoot.[Contact support](mailto:support@ailoot.ai)

## Ailoot · The company and its project portfolio





Ailoot combines established operating experience, a large client base, stable service and ongoing KPI control.





The company and its project portfolio: millions of customers; monthly sales in the billions.





Ailoot brings that operating experience to API access for AI features in customer products, agents, applications and automations.
