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
Example
rpk connect agent run ./repo
To disable all secret lookups:
rpk connect agent run --secrets none: ./repo
Flags
| Option | Description |
|---|---|
|
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 |
|
Provide an explicit Redpanda license, which enables enterprise functionality. By default, licenses found at the path |
|
Show help for the command. |
|
(Linux only) Chroot into the provided directory after parsing configuration. Common |
|
(Linux only) Specify additional files to be copied into the chroot directory. Can be specified multiple times. Only valid when |