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

# Creating Your First Agent

> Create an agent from scratch or a template, then configure prompt, voice, and model settings.

An agent defines how your product sounds on a call: the role it plays, the knowledge it uses, and the models that power speech and reasoning.

## Create from scratch

Choose this when you want full control over the prompt and settings.

1. Go to **Manage Agents → Create Agent → Create from Scratch**.
2. Enter a name and short description.
3. Click **Create**.

<img src="https://mintcdn.com/gnaniinnovationsprivatelimited/yXP1Zpn5y-UcJpP2/images/Screenshot2025-08-11at2.30.39PM.png?fit=max&auto=format&n=yXP1Zpn5y-UcJpP2&q=85&s=014c492ed5ee0525f43cf19edbc5731b" alt="Create agent from scratch" className="mx-auto" style={{ width: "70%" }} width="1120" height="1536" data-path="images/Screenshot2025-08-11at2.30.39PM.png" />

## Create from a template

Choose this when you want a pre-written system prompt as a starting point.

1. Go to **Manage Agents → Create Agent**.
2. Select a template and click **Proceed**.
3. Name the agent, link a knowledge base, and click **Create**.

<img src="https://mintcdn.com/gnaniinnovationsprivatelimited/yXP1Zpn5y-UcJpP2/images/Screenshot2025-08-11at2.31.19PM.png?fit=max&auto=format&n=yXP1Zpn5y-UcJpP2&q=85&s=7212939e8a66d8411bc166be49b0ca02" alt="Create agent from template" width="2510" height="1398" data-path="images/Screenshot2025-08-11at2.31.19PM.png" />

## Write the system prompt

The system prompt sets role, goals, and tone. Strong prompts usually include:

* A clear objective (what the agent should accomplish on each call)
* Context about the audience and business
* Expected tone and formality
* One or two example exchanges when helpful

## Configure messages and models

On the agent setup screen:

| Setting | Purpose |
| - | - |
| Greeting message | Opening line when the call connects |
| Ending message | Closing line before hang-up |
| Provider and model | LLM that generates replies |
| Knowledge base | Linked documents and URLs |
| Temperature | Lower = more literal; higher = more varied wording |
| Max tokens | Upper bound on user input the model processes per turn |

## Customize agent details

Open the **Customize** tab to set language, region, time zone, and how the agent should describe itself to callers.

| Field | Purpose |
| - | - |
| Language | One primary language, or multiple for multilingual agents |
| Region and time zone | Used for scheduling and integrations |
| Description | Short summary of how the agent should present itself |

**Next:** [Testing Your Agent](/A03_Testing)


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