Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,21 @@
***** xref:reference:rpk/rpk-cluster/rpk-cluster-txn-describe-producers.adoc[]
***** xref:reference:rpk/rpk-cluster/rpk-cluster-txn-list.adoc[]
*** xref:reference:rpk/rpk-connect/rpk-connect.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-agent.adoc[]
***** xref:reference:rpk/rpk-connect/rpk-connect-agent-init.adoc[]
***** xref:reference:rpk/rpk-connect/rpk-connect-agent-run.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-blobl-server.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-create.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-dry-run.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-echo.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-install.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-lint.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-list.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-mcp-server.adoc[]
***** xref:reference:rpk/rpk-connect/rpk-connect-mcp-server-init.adoc[]
***** xref:reference:rpk/rpk-connect/rpk-connect-mcp-server-lint.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-plugin.adoc[]
***** xref:reference:rpk/rpk-connect/rpk-connect-plugin-init.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-run.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-streams.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-studio-pull.adoc[]
Expand All @@ -370,9 +379,6 @@
**** xref:reference:rpk/rpk-connect/rpk-connect-test.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-uninstall.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-upgrade.adoc[]
**** xref:reference:rpk/rpk-connect/rpk-connect-mcp-server.adoc[]
***** xref:reference:rpk/rpk-connect/rpk-connect-mcp-server-init.adoc[]
***** xref:reference:rpk/rpk-connect/rpk-connect-mcp-server-lint.adoc[]
*** xref:reference:rpk/rpk-container/rpk-container.adoc[]
**** xref:reference:rpk/rpk-container/rpk-container.adoc[]
**** xref:reference:rpk/rpk-container/rpk-container-purge.adoc[]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
= rpk connect agent init
:description: Initialize a Redpanda Connect agent.

Comment thread
JakeSCahill marked this conversation as resolved.
[IMPORTANT]
====
This command is experimental and subject to change.
====

Initialize a template for building a Redpanda Connect agent.

== Usage

rpk connect agent init [OPTIONS]

== Example

[,bash]
----
rpk connect agent init ./repo
----

== Options
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change required for this PR, but I wanted to note that the other rpk connect pages use a "Flags" heading (example). This might have to do with our reference automation tool, could be worth raising a separate ticket to look into.


[cols="1m,2a"]
|===
| Option | Description

| --name
| The name of the agent.

| --help, -h
| Show help for the command.
|===
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
= rpk connect agent run
:description: Execute a Redpanda Connect agent as part of a pipeline with MCP tool access.

[IMPORTANT]
====
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 MCP (Model Context Protocol). Each resource in the `mcp` subdirectory creates tools that can be used, then the `redpanda_agents.yaml` file along with Python agent modules are invoked.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Execute a Redpanda Connect agent as part of a pipeline that has access to tools via the MCP (Model Context Protocol). Each resource in the `mcp` subdirectory creates tools that can be used, then the `redpanda_agents.yaml` file along with Python agent modules are invoked.
Execute a Redpanda Connect agent as part of a pipeline that has access to tools via the MCP (Model Context Protocol). The command first reads resource definitions in the `mcp` subdirectory and exposes them as tools. It then runs the agent defined in `redpanda_agents.yaml` along with any Python agent modules.

The second sentence is a bit unclear to me, so here's a suggestion to rephrase -- @mmatczuk please let us know if the rephrase is correct.


== Usage

rpk connect agent run [OPTIONS]

== Example

[,bash]
----
rpk connect agent run ./repo
----

== Options

[cols="1m,2a"]
|===
| Option | Description

| --secrets env:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the description, if env: is the default, but you could use --secrets none:, maybe we should keep the string in this cell to --secrets only? I'd also suggest adding explicit usage examples in the preceding section, it's not very clear to me how to use this option

| 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.
|===
29 changes: 29 additions & 0 deletions modules/reference/pages/rpk/rpk-connect/rpk-connect-agent.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
= rpk connect agent
:description: Redpanda Connect agent commands.

[IMPORTANT]
====
This command is experimental and subject to change.
====

Run and initialize Redpanda Connect agents. Agents are pipelines that have access to tools via the MCP (Model Context Protocol) and can interact with AI models.

== Usage

rpk connect agent [command]

== Subcommands

* xref:rpk/rpk-connect/rpk-connect-agent-init.adoc[init]: Initialize a Redpanda Connect agent.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* xref:rpk/rpk-connect/rpk-connect-agent-init.adoc[init]: Initialize a Redpanda Connect agent.
* xref:reference:rpk/rpk-connect/rpk-connect-agent-init.adoc[init]: Initialize a Redpanda Connect agent.

* xref:rpk/rpk-connect/rpk-connect-agent-run.adoc[run]: Execute a Redpanda Connect agent as part of a pipeline with MCP tool access.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* xref:rpk/rpk-connect/rpk-connect-agent-run.adoc[run]: Execute a Redpanda Connect agent as part of a pipeline with MCP tool access.
* xref:reference:rpk/rpk-connect/rpk-connect-agent-run.adoc[run]: Execute a Redpanda Connect agent as part of a pipeline with MCP tool access.

* help, h: Show a list of commands or help for one command.

== Options

[cols="1m,2a"]
|===
| Option | Description

| --help, -h
| Show help for the command.
|===
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
= rpk connect dry-run
:description: Parse Redpanda Connect configs and test the connections of each plugin.

Parse Redpanda Connect configs and test the connections of each plugin. Exits with a status code of `1` if any connection errors are detected.

== Usage

rpk connect dry-run [command options]

== Example

[,bash]
----
rpk connect dry-run ./foo.yaml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we give the yaml file a name more descriptive than foo?

----

== Options

[cols="1m,2a"]
|===
| Option | Description

| --verbose
| Print the lint result for each target file (default: false).

| --secrets env:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See earlier comment

| 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:`).

| --env-file, -e
| Import environment variables from a dotenv file.

| --redpanda-license
| Provide an explicit Redpanda License, which enables enterprise functionality. By default, licenses found at the path `/etc/redpanda/redpanda.license` are applied.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Provide an explicit Redpanda License, which enables enterprise functionality. By default, licenses found at the path `/etc/redpanda/redpanda.license` are applied.
| 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.
|===
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
= rpk connect plugin init
:description: Create the boilerplate for a custom Redpanda Connect plugin.

[IMPORTANT]
====
This command is experimental and subject to change.
====

Generate a project on the local filesystem that can be used as a starting point for building a custom component for Redpanda Connect. Existing files in the specified directory are overwritten.

== Usage

rpk connect plugin init [OPTIONS]

== Options

[cols="1m,2a"]
|===
| Option | Description

| --language, --lang
| The programming language for the plugin. Supported languages are `golang` and `python` (default: `python`).

| --component
| The type of component to generate. Supported components are `input`, `output`, and `processor` (default: `processor`).

| --help, -h
| Show help for the command.
|===
28 changes: 28 additions & 0 deletions modules/reference/pages/rpk/rpk-connect/rpk-connect-plugin.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
= rpk connect plugin
:description: Plugin management commands for Redpanda Connect.

[IMPORTANT]
====
This command is experimental and subject to change.
====

Manage custom Redpanda Connect plugins. Use these commands to scaffold and build custom components.

== Usage

rpk connect plugin [command]

== Subcommands

* xref:rpk/rpk-connect/rpk-connect-plugin-init.adoc[init]: Create the boilerplate for a custom component plugin.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* xref:rpk/rpk-connect/rpk-connect-plugin-init.adoc[init]: Create the boilerplate for a custom component plugin.
* xref:reference:rpk/rpk-connect/rpk-connect-plugin-init.adoc[init]: Create the boilerplate for a custom component plugin.

* help, h: Show a list of commands or help for one command.

== Options

[cols="1m,2a"]
|===
| Option | Description

| --help, -h
| Show help for the command.
|===
Loading