rpk ai docs
Read published Agentic Data Plane guides and command references without signing in.
With no path, browse a searchable picker in an interactive terminal, or print an index when piped. Page paths are relative to the ADP documentation, such as cli or connect/coding-agents. Full ADP documentation URLs also work.
In a terminal, output renders Markdown with less -FRX in secure mode when available. The PAGER environment variable is not used. Piped output is plain Markdown. Use -o json or -o yaml for structured documents and catalogs, -o markdown for raw Markdown, or --non-interactive to avoid prompts and paging. The default table and wide formats select terminal-aware output.
Search matches catalog titles, paths, and descriptions, not page bodies. Documentation tracks the published website, not your installed CLI version. Use a command’s --help output for the flags your installation supports.
Responses are cached for one hour. On temporary network failures, an older cached response is returned with a warning and stale=true in structured output. Use --refresh to require a fresh response instead.
| This command was introduced in ai version 0.2.92. |
Examples
This section provides examples of how to use rpk ai docs.
rpk ai docs
rpk ai docs cli
rpk ai docs search "oauth"
rpk ai docs search "mcp server create" -o json
rpk ai docs connect/coding-agents --web
rpk ai docs cli --url
Flags
| Value | Type | Description |
|---|---|---|
|
bool |
write directly to the terminal without a pager. |
|
bool |
print plain Markdown without a picker or pager. |
|
bool |
require fresh documentation; do not fall back to cached content. |
|
bool |
print URLs without opening them (page URLs need no network). |
|
bool |
open the page in your browser instead of reading it. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |