rpk ai agent
Manage agents registered with the Redpanda AI platform.
Agents are either managed (adp runs them; configured via a model, LLM
provider, system prompt and MCP servers) or self-managed (a metadata-only
record tracking a user-hosted agent). create makes a managed agent by
default; pass --self-managed for the metadata-only variant.
The credential subcommand provisions client-id/secret pairs an agent
uses to authenticate against the gateway. The a2a subcommand talks to
a running agent over the A2A protocol (fetch its card, send messages,
manage tasks).
Subcommands
| Command | Description |
|---|---|
Interact with an agent over the A2A (Agent-to-Agent) protocol. The AGENT argument is either a registry agent name (resolved to the agent’s A2A endpoint via its runtime status) or a full A2A endpoint URL (anything starting with http:// or https://). |
|
Reconcile agents from one or more YAML manifests. For each manifest: create the resource if absent, otherwise update every field that differs from the live resource. |
|
Create an agent. Defaults to a managed agent populated from the spec flags; |
|
Manage an agent’s credentials ( |
|
Delete an agent. |
|
Dry-run of apply for agents. Prints, per manifest, whether apply would create, update (and which fields), or leave the resource unchanged. |
|
Get an agent. |
|
List agents. |
|
Start a managed agent, setting its desired state to running. |
|
Stop a managed agent, setting its desired state to stopped. |
|
Inspect an agent’s conversation transcripts ( |
|
Update an agent. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |