Docs Self-Managed Reference rpk Commands rpk connect rpk connect agent rpk connect agent run rpk connect agent run This command is experimental and subject to change. Execute a Redpanda Connect agent as part of a pipeline that has access to tools via the Model Context Protocol (MCP). The command first reads resource definitions from the mcp subdirectory and exposes them as tools. It then runs the agent defined in redpanda_agents.yaml along with any Python agent modules. Use this reference to: Find the syntax for executing agents Identify secret management options Look up security-related flags Usage rpk connect agent run [OPTIONS] Example rpk connect agent run ./repo To disable all secret lookups: rpk connect agent run --secrets none: ./repo Flags Option Description --secrets Attempt to load secrets from a provided URN. If more than one entry is specified, they are attempted in order until a value is found. Environment variable lookups are specified with the URN env:, which by default is the only entry. To disable all secret lookups, specify a single entry of none: (default: env:). --redpanda-license Provide an explicit Redpanda license, which enables enterprise functionality. By default, licenses found at the path /etc/redpanda/redpanda.license are applied. --help, -h Show help for the command. --chroot (Linux only) Chroot into the provided directory after parsing configuration. Common /etc/ files are copied to the chroot directory, and the directory is made read-only. --chroot-passthrough (Linux only) Specify additional files to be copied into the chroot directory. Can be specified multiple times. Only valid when --chroot is used. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution 🎉 Thanks for your feedback! rpk connect agent init rpk connect blobl server