> For the complete documentation index, see [llms.txt](https://support.marscat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.marscat.io/development-tools/relayx-cli/command-explanation/agent.md).

# agent

Create an Agent with publishing permissions for MarsApp.

{% code title="Command" %}

```bash
relayx-cli agent
```

{% endcode %}

{% stepper %}
{% step %}

### Select MarsApp

Choose the MarsApp you want the Agent to be associated with.
{% endstep %}

{% step %}

### Set Agent name

Provide an alphanumeric-only name (maximum 10 characters).
{% endstep %}

{% step %}

### Set password

Enter a password (at least 6 characters).
{% endstep %}

{% step %}

### Confirm password

Re-enter the password to confirm.
{% endstep %}

{% step %}

### Display agent success message

A success message will be shown once the Agent is created.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Notes:

* Agent accounts need to be authorized through the `approve` command before they can be used.
* Each MarsApp supports a maximum of 5 Agents.
  {% endhint %}

[📖 Learn about account types and permission descriptions →](https://support.marscat.io/development-tools/overview.md)
