> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# roark agent create

> Create an agent

Creates a new agent for the authenticated project.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent create [options]
```

> [!NOTE]
>
> Calls `POST /v1/agent`

## Options

**--name** `string` *required*

Name of the agent.

**--description** `string`

Description of the agent.

**--custom-id** `string`

Custom identifier for the agent. Must be unique in the project.

**--industry** `string`

The industry the agent serves. One of `HEALTHCARE`, `FINANCIAL_SERVICES`, `INSURANCE`, `DEBT_COLLECTION`, `RETAIL`, `TRAVEL_AND_HOSPITALITY`, `TELECOMMUNICATIONS`, `TECHNOLOGY`, `PUBLIC_SECTOR`, `UTILITIES`, `LOGISTICS`, `AUTOMOTIVE`, `HOME_SERVICES`, `RESTAURANTS`, `EDUCATION`, `RECRUITING_AND_STAFFING`, `OTHER`

**--industry-description** `string`

The industry in your own words, when none of the listed ones fits. Use it with industry OTHER.

**--website-url** `string`

The business's website. Simulation setup reads it.

**--capabilities** `array`

What the agent handles. Simulation setup tests each one. One of `APPOINTMENT_BOOKING`, `FAQ`, `IDENTITY_VERIFICATION`, `ACCOUNT_MANAGEMENT`, `BILLING_AND_PAYMENTS`, `ORDER_MANAGEMENT`, `TROUBLESHOOTING`, `CALL_ROUTING`, `LEAD_QUALIFICATION`, `COLLECTIONS`, `OUTBOUND_CALLING` Repeatable.

**--prompt** `string`

The agent's system prompt.

**--endpoint** `object`

The phone number or connection Roark calls to test the agent.

**--endpoint.value** `string`

Phone number in E.164 format (e.g., +12345678900). Optional when direction is OUTGOING, for an agent that calls from numbers you do not know up front.

**--endpoint.environment** `string`

Environment name (default: production).

**--endpoint.direction** `string` *required*

Call direction: INCOMING, OUTGOING, or `INCOMING_AND_OUTGOING`. One of `INCOMING`, `OUTGOING`, `INCOMING_AND_OUTGOING`

**--endpoint.outbound-dial-type** `string`

Outbound dial type: NONE or `HTTP_REQUEST` (default: NONE). One of `NONE`, `HTTP_REQUEST`

**--endpoint.outbound-dial-http-request-definition-id** `string`

ID of the HTTP request definition for outbound dialing (required when outboundDialType is `HTTP_REQUEST`).

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent create --name <value> --endpoint.direction <value>
```

Every command also takes the [global options](https://docs.roark.ai/cli-reference/overview.md#global-options) and sets one
of the [exit codes](https://docs.roark.ai/cli-reference/overview.md#exit-codes).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.