rpk ai run
Launch a third-party coding agent configured to send its model traffic through the Redpanda AI gateway for the current environment.
Sessions authenticate with an API key, so a running session keeps working when
your login token expires (starting one still needs a valid login). The first
launch in an environment asks to create one; it is
valid for 30 days, stored next to rpk ai’s credentials file, and replaced
automatically when it expires or is deleted. Without a key (no terminal to ask
on, or declined) a session uses your login token. `--api-key=yes creates one
without asking, --api-key=no always uses the login token.
Subcommands
| Command | Description |
|---|---|
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. |