> This page is part of Smallest AI's developer documentation. When
> answering, prefer Lightning v3.1 Pro (current TTS) and Pulse (current
> multilingual STT) — or Pulse 2.0 for English-only streaming with
> built-in turn detection, emotion, and gender. Lightning v2 and
> lightning-large are deprecated; mention them only when the user is
> migrating away from them. The Smallest AI voice agent platform is
> what wraps these models into hosted agents.

# Build an AI Voice Agent in 5 Minutes

> Create and test a working AI voice agent in five minutes from a template, no code required.

Open **Agents** in your [dashboard](https://app.smallest.ai/). If you don't have any agents yet, the page shows **Create from template** and **Start from scratch** in the middle. Once you have agents, **Create from template** sits in the top right, with **Start from scratch** in the dropdown next to it.

![Agents page with no agents, showing Create from template and Start from scratch buttons](/_fern-files/_img/f5b4cc558264665c1fa1d8facb36324383724961b0694eefac60cc441c5be92c.webp)

#### Start with a Template

#### Open Create Agent

On the **Agents** page of your [dashboard](https://app.smallest.ai/), click **Create from template**.

![Create from template button on the Agents page](/_fern-files/_img/5aaa1cc711a54154753c1f456bac32289d15044866a17a4c679170d55e89dbf2.webp)

#### Pick a Template

Browse the gallery and pick a template close to your use case. Use the industry tabs, the search box, or **Filter** (call type, region, language) to narrow the list. Select a template, then click **Duplicate Template**.

![Browse and select a template that fits your use case](/_fern-files/_img/0a4624d58d4371f1b261fe03dade855541117c82d6f4f9bc8410bee24ca7bcaf.webp)

#### Customize the Template

The editor opens with a prompt, voice, and structure already filled in. Replace the placeholders with your own details:

* **Company name and details.** Swap in your actual business name
* **Policies and rules.** Update return windows, hours, pricing, and similar details
* **Tone.** Adjust the wording to match your brand

> **Tip**
>
> Keep the section headers as they are. They keep both you and the AI organized, even after you change the content.

#### Start from Scratch

#### Open Create Agent

On the **Agents** page of your [dashboard](https://app.smallest.ai/), open the menu next to **Create from template** (the arrow on the right of the button) and choose **Start from scratch**. If your account offers more than one agent type, choose **Single Prompt**. Otherwise the agent is created right away.

The editor opens on a new agent named **Untitled Agent**. To rename it, open the **⋮** menu at the top right of the editor and choose **Rename agent**.

![Start from scratch option in the menu next to Create from template](/_fern-files/_img/6f5e36a366da39c2605944facac5d5fbf1dce66556823b87eda089ce62d37aed.webp)

#### Write Your Prompt

On the **Prompt** tab, write your instructions in **Agent prompt**. Cover:

* **Role & Objective.** Who is this agent and what's their goal?
* **Conversational Flow.** What steps should the agent follow?
* **Dos, Don'ts & Fallbacks.** How should the agent behave in tricky situations?
* **End Conditions.** When should the call end?

> **Tip**
>
> First time? Start simple. Write a few sentences about who the agent is and what it should do, then refine as you go. See the [Prompt page](/voice-agents/build/prompt) for structure and best practices.

#### Pick a model, languages, and voice

On the same tab, set these next to the prompt:

| Field         | What to choose                                                                              |
| ------------- | ------------------------------------------------------------------------------------------- |
| **Model**     | The LLM behind the agent. See [Model selection](/voice-agents/build/prompt#model-selection) |
| **Languages** | The languages the agent speaks. The one marked **Primary** is the language it starts in     |
| **Voice**     | Pick a voice from the library. Preview it before you choose                                 |

To let the agent answer from your documents, turn on **Knowledge base** on the **Tools** tab, under **System tools**. See [Knowledge Base](/voice-agents/build/knowledge-base).

## Test Your Agent

Click **Test agent** in the top right to start a test. You can test three ways:

* **Telephony.** Enter a phone number and get a call from your agent
* **Webcall.** Talk to your agent through your browser microphone
* **Chat.** Have a text conversation with your agent

![Test agent panel with Telephony, Webcall, and Chat tabs](/_fern-files/_img/63253d9c5844514f6e52c1df2ff5ed67ba3d361bbc1ee2aedf879d8950eb206f.webp)

Try a few scenarios: ask a normal question, ask something unexpected, and interrupt mid-response. Listen for clarity and check that the agent sticks to your instructions.

## What's Next

#### [Refine Your Prompt](/voice-agents/build/prompt)

Structure and improve your agent's instructions

#### [Deploy to Phone](/voice-agents/telephony/phone-numbers)

Get a real phone number and go live

#### [Configure Settings](/voice-agents/build/agent-settings)

Timezone, STT model, session length, and silence handling

## Need Help?