---
title: rpk ai run agy
latest-operator-version: v26.2.6
latest-console-tag: v3.14.0
latest-connect-version: 4.118.0
latest-redpanda-tag: v26.2.7
docname: rpk/rpk-ai/rpk-ai-run-agy
page-component-name: agentic-data-plane
page-version: master
page-component-version: master
page-component-title: Agentic Data Plane
page-relative-src-path: rpk/rpk-ai/rpk-ai-run-agy.adoc
page-edit-url: https://github.com/redpanda-data/adp-docs/edit/main/modules/reference/pages/rpk/rpk-ai/rpk-ai-run-agy.adoc
description: Launch Antigravity CLI (<code>agy</code>) through Google or Vertex Gemini providers. An isolated Gemini directory forces modelProvider=gemini without reading or changing your personal Antigravity CLI settings.
page-git-created-date: "2026-10-15"
page-git-modified-date: "2026-10-15"
page-generated-sources:
  - include: streaming:reference:partial$rpk-ai/rpk-ai-run-agy.adoc
    generator: rpk-docs
    version: null
    source: the rpk command help in redpanda-data/streaming-enterprise
page-generated-content: partial
---

# rpk ai run agy

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [agentic-data-plane-full.txt](https://docs.redpanda.com/agentic-data-plane-full.txt)

<!-- Source: https://docs.redpanda.com/agentic-data-plane/reference/rpk/rpk-ai/rpk-ai-run-agy.md -->

Launch Antigravity CLI (`agy`) through Google or Vertex Gemini providers.

An isolated Gemini directory forces modelProvider=gemini without reading or changing your personal Antigravity CLI settings. The gateway key is passed only in GEMINI_API_KEY, never in command arguments or generated settings.

An Agentic Data Plane API key is required. The first launch asks to create one; existing managed keys are reused and renewed on launch. If a key is unavailable or declined, the command stops instead of falling back to your login token or Google account. An explicit `--token` may carry an Agentic Data Plane API key, but not a JWT.

The isolated custom model catalog registers the provider’s Gemini model IDs without renaming them. No model is selected automatically. Use /model before your first prompt, or pass `--model`. Explicit `--model` and `--effort` are passed to agy unchanged; the gateway still enforces its model allowlist.

Vertex uses the gateway’s Gemini API compatibility route. The gateway signs upstream Vertex requests; no Google credentials or ADC are needed on your machine. Claude-only Vertex providers are not supported by this command.

Configuration isolation and custom models require agy 1.3.5. Versions that do not recognize that flag fail rather than fall back to personal authentication. Pass Antigravity’s own arguments after a literal --.

## Usage

```bash
rpk ai run agy [-- AGY_ARGS...] [flags]
```

## Flags

| Value | Type | Description |
| --- | --- | --- |
| `--api-key` | string | Agentic Data Plane API key creation: ask (`prompt`), yes (create without prompting), no (do not create; an explicit Agentic Data Plane `--token` is required). |
| `-e, --effort` | string | Antigravity reasoning effort (requires an explicit model). |
| `-L, --llmprovider` | string | enabled Google or Vertex Gemini provider name. |
| `-m, --model` | string | Antigravity model supported by the CLI and allowed by the provider (omit to choose with /model). |
| `--print-config` | bool | print isolated Antigravity settings and exit (no gateway call or credential). |

## Global flags

| Value | Type | Description |
| --- | --- | --- |
| `--config` | string | Redpanda or `rpk` config file; default search paths are `~/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`. |
| `-X, --config-opt` | stringArray | Override `rpk` configuration settings; `-X help` for detail or `-X list` for terser detail. |
| `--ignore-profile` | bool | Ignore `rpk.yaml` and `redpanda.yaml`; use default settings. |
| `--profile` | string | `rpk` profile to use. |
| `-v, --verbose` | bool | Enable verbose logging. |