Agentic Data Plane
Preview

rpk ai env add

Add a manual rpk ai environment with explicit URLs.

Usage

rpk ai env add [flags]

Flags

Value Type Description

--adp-api-url

string

adp-api base URL (optional; derived from the AI Gateway URL when omitted).

--ai-gateway-url

string

AI Gateway base URL (required).

--auth-mode

string

auth mode: device|rpk|token|none (default device). device borrows your logged-in org’s token; use none/token for a local aigw.

--description

string

optional human-readable description.

--from

string

copy an existing manual environment as the base.

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.