> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Antigravity

> Use Kyma API with Google Antigravity — the agentic IDE from Google DeepMind.

Google Antigravity is an agent-first IDE from Google DeepMind. It provides synchronized agentic control across your editor, terminal, and browser.

## Official vs Community version

|                          | Official Antigravity                             | Open-Antigravity (community)                                 |
| ------------------------ | ------------------------------------------------ | ------------------------------------------------------------ |
| **Custom API endpoints** | Not supported                                    | Supported                                                    |
| **Custom models**        | Gemini 3 Pro, Claude Sonnet 4.5, GPT-OSS only    | Any OpenAI-compatible model                                  |
| **Use with Kyma**        | Not possible                                     | Works out of the box                                         |
| **Download**             | [antigravity.google](https://antigravity.google) | [GitHub](https://github.com/ishandutta2007/open-antigravity) |

<Info>
  The official Google Antigravity does **not** support custom API endpoints or API keys. To use Kyma's open source models with an Antigravity-like experience, use the community **open-antigravity** fork.
</Info>

## Setup with Open-Antigravity

<Steps>
  <Step title="Clone the repo">
    ```bash theme={null}
    git clone https://github.com/ishandutta2007/open-antigravity.git
    cd open-antigravity
    ```
  </Step>

  <Step title="Configure Kyma API">
    Create a `.env` file with your Kyma credentials:

    ```bash theme={null}
    PRIMARY_PROVIDER=openai
    OPENAI_API_KEY=ky-your-api-key
    OPENAI_BASE_URL=https://kymaapi.com/v1
    ```
  </Step>

  <Step title="Install and run">
    ```bash theme={null}
    npm install
    npm run dev
    ```
  </Step>

  <Step title="Start coding">
    Open the IDE and start using AI agents powered by Kyma's open source models.
  </Step>
</Steps>

## Recommended models

| Model              | Alias          | Best For                             |
| ------------------ | -------------- | ------------------------------------ |
| `qwen-3.6-plus`    | `best`         | Highest quality overall              |
| `qwen-3-coder`     | `code`         | Best alias for code-focused tasks    |
| `kimi-k2.6`        | `agent`        | Best tool calling, agentic workflows |
| `gemini-2.5-flash` | `long-context` | 1M context for large codebases       |

<Tip>
  Use [model aliases](/guides/model-aliases) like `best` or `code` — they auto-update when better models become available.
</Tip>

```bash theme={null}
curl "https://kymaapi.com/v1/models/recommend?agent=opencode"
```

## Why use Kyma with Antigravity?

* **Active open models** — access models from Meta, Google, Alibaba, DeepSeek, and more through a single endpoint
* **4-layer fallback** — if one provider is down, your request automatically routes to another
* **Prompt caching** — up to 90% cost savings on repeated system prompts
* **Free to start** — \$0.50 signup credits, no credit card required

## Prompt Caching

Prompt caching is automatic. Your system prompt and tool definitions are cached for 5 minutes, reducing costs by up to 90% on subsequent requests. No code changes needed. See [Prompt Caching](/guides/prompt-caching) for details.
