> ## 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 build

> Build a Roark-hosted agent

Creates a new Roark-hosted agent from a one-line job description. Roark authors the system prompt and hosts the config, so the agent is live and self-improvable from creation.

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

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

## Options

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

Name of the agent.

**--job-description** `string` *required*

One-line description of what the agent should do. Roark authors the system prompt from this.

**--industry** `string`

The industry the agent serves. Recorded on the agent, so its simulation setup starts from that industry. 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. The agent's prompt is written from the facts it states.

**--capabilities** `array`

What the agent handles. Recorded on the agent, so its simulation setup tests each. One of `APPOINTMENT_BOOKING`, `FAQ`, `IDENTITY_VERIFICATION`, `ACCOUNT_MANAGEMENT`, `BILLING_AND_PAYMENTS`, `ORDER_MANAGEMENT`, `TROUBLESHOOTING`, `CALL_ROUTING`, `LEAD_QUALIFICATION`, `COLLECTIONS`, `OUTBOUND_CALLING` Repeatable.

**--voice** `string`

Optional display name of the agent's voice. The authored prompt matches its delivery to it.

**--tts** `object`

Optional provider voice the hosted agent speaks with.

**--tts.provider** `string` *required*

Text-to-speech provider, for example ELEVENLABS. One of `CARTESIA`, `ELEVENLABS`, `OPENAI`, `RIME`, `ASSEMBLYAI`, `DEEPGRAM`, `FISH_AUDIO`, `SMALLEST`

**--tts.voice-id** `string` *required*

The provider's id for the voice.

**--tts.model** `string`

The provider's voice model, for example eleven\_flash\_v2\_5. Its current one when omitted.

**--stt** `object`

Optional transcriber the hosted agent hears with. Roark's default when omitted.

**--stt.provider** `string` *required*

Speech-to-text provider, for example DEEPGRAM. One of `DEEPGRAM`, `OPENAI_WHISPER`, `SPEECHMATICS`, `ASSEMBLYAI`, `ELEVENLABS`, `SONIOX`, `SMALLEST`

**--stt.model** `string` *required*

The provider's model id, for example nova-3.

**--llm** `object`

Optional text model the hosted agent thinks with. Roark's default when omitted.

**--llm.provider** `string` *required*

Text model provider, for example OPENAI. One of `OPENAI`, `ANTHROPIC`, `GOOGLE`, `XAI`, `ULTRAVOX`, `AWS`, `ELEVENLABS`, `GROQ`, `META`, `RIME`, `PHONIC`, `SMALLEST`

**--llm.model** `string` *required*

The provider's model id, for example gpt-4.1.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent build --name <value> --job-description <value> --tts.provider <value> --tts.voice-id <value> --stt.provider <value> --stt.model <value> --llm.provider <value> --llm.model <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.