rpk ai run
Launch a third-party coding agent configured to send its model traffic through the Redpanda AI gateway for the current environment.
Authenticated sessions require an Agentic Data Plane API key. Account sign-in credentials are
used only for provider reads and API-key management, never model invocation.
The first launch in an environment asks to create a key valid for 30 days,
stored next to rpk ai’s credentials file and replaced when it expires or is deleted.
If key acquisition or validation fails, the launch stops. A declined or unanswered
prompt never falls back to an account credential. `--api-key=yes creates a key
without asking; --api-key=no disables creation and requires a provided Agentic Data Plane API key.
Explicit local auth-disabled Claude/Codex environments retain their dummy/no-auth
behavior; Antigravity CLI still requires an Agentic Data Plane API key.
Subcommands
| Command | Description |
|---|---|
Launch Antigravity CLI ( |
|
Launch Anthropic’s Claude Code CLI with its model traffic routed through the Redpanda AI gateway for the current |
|
Launch the OpenAI Codex CLI with its model traffic routed through the Redpanda AI gateway for the current |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |