Agentic Data Plane

rpk Command Reference

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.

To provision an environment, sign in to Redpanda Cloud with rpk cloud login before you run the generated rpk cloud byoc aws apply or rpk cloud byoc gcp apply command. For the full procedure, see Create an Agentic Data Plane Environment.

  • rpk ai

    Manage the Redpanda AI Gateway.

  • rpk cloud login

    Log in to Redpanda Cloud. This command checks for an existing Redpanda Cloud API token and, if there is one, confirms that it is still valid.

  • rpk profile

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

  • rpk -X

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