# rpk Command Reference

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [agentic-data-plane-full.txt](https://docs.redpanda.com/agentic-data-plane-full.txt)

---
title: rpk Command Reference
latest-operator-version: v26.2.1
latest-console-tag: v3.9.0
latest-connect-version: 4.104.0
latest-redpanda-tag: v26.2.1
docname: rpk/index
page-component-name: agentic-data-plane
page-version: master
page-component-version: master
page-component-title: Agentic Data Plane
page-relative-src-path: rpk/index.adoc
page-edit-url: https://github.com/redpanda-data/adp-docs/edit/main/modules/reference/pages/rpk/index.adoc
description: Reference for the rpk commands used to manage the Redpanda Agentic Data Plane from the command line.
page-git-created-date: "2026-05-11"
page-git-modified-date: "2026-07-29"
---

<!-- Source: https://docs.redpanda.com/agentic-data-plane/reference/rpk.md -->

This section documents the `rpk` commands you use to manage the Redpanda Agentic Data Plane from the command line.

Use `rpk ai` to manage AI Gateway resources (LLM providers, MCP servers, OAuth providers) and call MCP tools directly from your terminal. `rpk ai` is self-contained: it has its own login (`rpk ai auth login`) and its own Agentic Data Plane environment selection (`rpk ai env`), independent of any `rpk cloud` session. The active AI Gateway URL comes from the selected environment unless you override it with `--rpai-endpoint`.

For subcommands available after install (`rpk ai llm-provider`, `rpk ai mcp-server`, `rpk ai oauth-provider`, and more), run `rpk ai <command> --help` from your terminal.

-   [rpk ai](rpk-ai/rpk-ai/)

    Manage the Redpanda AI Gateway.

-   [rpk profile](rpk-profile/rpk-profile/)

    Manage `rpk` profiles. An rpk profile talks to a single Redpanda cluster.

-   [rpk -X](rpk-x-options/)

    Override any rpk configuration option for a single command with the -X flag, or set it persistently with an RPK\_ environment variable.