Agentic Data Plane
Preview

rpk ai agent a2a task watch

Reattach to a running task’s event stream (A2A tasks/resubscribe) and print events until the task reaches a terminal state. Use after a disconnected --stream send or a --no-block send.

Watch waits as long as the task runs (no timeout by default; bound it with --timeout). Exit codes match send: 0 success or input-required, 4 task failed/canceled/rejected, 1 anything else.

Usage

rpk ai agent a2a task watch [flags]

Examples

This section provides examples of how to use rpk ai agent a2a task watch.

rpk ai agent a2a task watch financial-advisor TASK_ID
rpk ai agent a2a task watch financial-advisor TASK_ID -o json   # one JSON event per line

Flags

Value Type Description

--timeout

duration

abort after this long (default: wait forever).

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.