# rpk connect agent init

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

---
title: rpk connect agent init
latest-redpanda-tag: v26.1.9
latest-console-tag: v3.7.3
latest-operator-version: v26.1.4
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "false"
page-eol-date: March 31, 2027
latest-connect-version: 4.93.0
docname: rpk/rpk-connect/rpk-connect-agent-init
page-component-name: streaming
page-version: "26.1"
page-component-version: "26.1"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-connect/rpk-connect-agent-init.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/main/modules/reference/pages/rpk/rpk-connect/rpk-connect-agent-init.adoc
description: Initialize a Redpanda Connect agent.
page-topic-type: reference
learning-objective-1: Find the syntax for initializing an agent template
learning-objective-2: Identify available initialization options
page-git-created-date: "2026-05-22"
page-git-modified-date: "2026-05-22"
support-status: supported
---

<!-- Source: https://docs.redpanda.com/streaming/current/reference/rpk/rpk-connect/rpk-connect-agent-init.md -->

> ❗ **IMPORTANT**
>
> This command is experimental and subject to change.

Initialize a template for building a Redpanda Connect agent.

Use this reference to:

-   Find the syntax for initializing an agent template

-   Identify available initialization options


## [](#usage)Usage

rpk connect agent init \[OPTIONS\]

## [](#example)Example

```bash
rpk connect agent init ./repo
```

## [](#flags)Flags

| Option | Description |
| --- | --- |
| --name | The name of the agent. |
| --help, -h | Show help for the command. |