> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/deka-gpu-documentations/cloudeka-api-list/command-reference/cldkctl-cdn-1/create/delete-1/delete.md).

# create

Create an agent for a Claw instance in your project. This command allows you to create an agent for a Claw instance.

## Usage

```
cldkctl claw instance agent create [instance_name] [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl claw instance agent create techwriter-claw -i true
```

2. Enter the agent **Display Name** and **Agent Key**.
3. Select or enter the **Provider**.
4. Enter the **Model** to use for the agent.
5. Enter the **Agent Description**.
6. Select whether to enable **Self Evolve**.
7. Select the **System Prompt Mode**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F1NMdRlKzBpf0Ssofvh6Z%2Fimage.png?alt=media&amp;token=203edf69-4c8b-4ba0-9bb8-e8417c35c1bc" alt=""><figcaption></figcaption></figure>

8. Confirm the instance creation by selecting **Confirm**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F66E0wUOva1r08qTRevcS%2Fimage.png?alt=media&amp;token=e2117d93-cf4e-4799-a8d7-e35d0f82d195" alt=""><figcaption></figcaption></figure>

9. Once completed successfully, the terminal displays the success message.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FZ72XTI9t7gOopmWiw21C%2Fimage.png?alt=media&amp;token=80e84e81-9cfb-4158-919d-dfb8b894abf7" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

1. Provide all required values using command flags.
2. Run the command in your terminal.
3. Once completed successfully, the terminal displays the success message.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FH6x220lHqI80R0Ca5FgP%2Fimage.png?alt=media&amp;token=de8e88ba-0600-4514-8b4d-12baa46a4db9" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags.](/deka-gpu-documentations/cloudeka-api-list/global-flags.md) Refer to the Global Flags section for details.
{% endhint %}

| Flag           | Shorthand | Default | Description                                           |
| -------------- | --------- | ------- | ----------------------------------------------------- |
| --agent-key    | -k        |         | Agent key                                             |
| --description  | -d        |         | Agent description                                     |
| --display-name | -n        |         | Agent display name                                    |
| --help         | -h        |         | Help for create                                       |
| --interactive  | -i        | false   | Run in interactive/TUI mode (true/false)              |
| --model        |           |         | Model to use for the agent                            |
| --project      | -p        |         | Specify project ID                                    |
| --prompt-mode  |           | full    | Prompt mode for the agent (full, task, minimal, none) |
| --provider     |           |         | Provider ID or name to use for the agent              |
| --self-evolve  | -s        | false   | Enable self-evolve for the agent (true/false)         |
