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

# Agent Definition

> An agent definition is a configuration that specifies how your AI agent behaves during voice or chat conversations

***

<Tip>
  **Chat vs Voice compatibility**

  * For **chat simulations**, you must create an Agent Definition with **Agent Type = chat** and use it in a chat Run Test.
  * **Voice Agent Definitions** (and voice-only fields like contact number) can’t be used for chat tests.
</Tip>

## Creating Agent Definition

<Steps>
  <Step title="Navigate to Agent Definition">
    Navigate to Simulation section from the sidebar and click on "Agent Definition".
  </Step>

  <Step title="Provide Basic Information">
    Provide required basic information about your agent.

    <img src="https://mintcdn.com/futureagi/VXzj9Co5OPGvhxUe/screenshot/product/simulation/agent-definition/1.png?fit=max&auto=format&n=VXzj9Co5OPGvhxUe&q=85&s=ff542b913879f81fc2d5053fb713e5b2" alt="Agent Definitions Page" width="3010" height="1478" data-path="screenshot/product/simulation/agent-definition/1.png" />

    <img src="https://mintcdn.com/futureagi/VXzj9Co5OPGvhxUe/screenshot/product/simulation/agent-definition/2.png?fit=max&auto=format&n=VXzj9Co5OPGvhxUe&q=85&s=825ad833e5e3b7e539f79ba266d70fc3" alt="Agent Definitions Page" width="1502" height="830" data-path="screenshot/product/simulation/agent-definition/2.png" />

    | Field      | Description                                                                                   |
    | ---------- | --------------------------------------------------------------------------------------------- |
    | Agent Type | Choose the type of your agent from the dropdown (voice or chat).                              |
    | Agent Name | Assign a name to your agent. This will be used to identify your agent in the simulation.      |
    | Language   | Choose the language you want your agent to converse in. You can select one or many languages. |
  </Step>

  <Step title="Agent Configuration">
    This section is useful if you want to setup <Tooltip tip="Voice observability allows you to monitor, track, and analyze voice interactions with your agent in real-time." cta="Learn more about voice observability" href="/product/simulation/how-to/voice-observability">voice observability</Tooltip> for your agent.

    <img src="https://mintcdn.com/futureagi/VXzj9Co5OPGvhxUe/screenshot/product/simulation/agent-definition/3.png?fit=max&auto=format&n=VXzj9Co5OPGvhxUe&q=85&s=a1531996b9d2e7191b01cf4486c7ffb7" alt="Agent Definitions Page" width="1496" height="1056" data-path="screenshot/product/simulation/agent-definition/3.png" />

    | Field                  | Description                                                                                                                               |
    | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
    | Voice/Chat Provider    | Choose the provider for your agent. Click [here](/future-agi/integrations/overview#voice) to find out more about the supported providers. |
    | Assistant ID           | Select the appropriate country code.                                                                                                      |
    | Connection Type        | Choose the connection type for your agent.                                                                                                |
    | Observability Provider | Choose the observability provider for your agent.                                                                                         |
  </Step>

  <Step title="Define Agent Behavior">
    <img src="https://mintcdn.com/futureagi/H8p323mHnmsVRz7n/screenshot/product/simulation/agent-definition/4.png?fit=max&auto=format&n=H8p323mHnmsVRz7n&q=85&s=814295608611440a146104b3d3fc27ee" alt="Agent Definitions Page" width="1532" height="1460" data-path="screenshot/product/simulation/agent-definition/4.png" />

    **Prompt/ Chains:** Add prompts, personality traits, and conversation flows that will guide your agent's behaviour.

    <Tip>
      If you have provided the API key and Assistant ID of appropriate provider, you can fetch the prompt fromt the provider here
    </Tip>

    **Language:** Then choose the primary language for your agent (e.g. English, Spanish, French, German, etc.).

    **Knowledge Base (optional):** Provide domain-specific information to help agent behaviour as per your business use-case.

    <Tip>
      Click [here](/future-agi/get-started/knowledge-base/overview) to learn more about knowledge base.
    </Tip>
  </Step>

  <Step title="Set Contact Information">
    <Note>
      This step is **voice-only**. If your Agent Type is **chat**, you can skip contact number and connection type.
    </Note>

    **Contact Number**: Enter the phone number your agent will use.

    **Country Code**: Select the appropriate country code.

    **Connection Type**:

    * **Inbound** (ON): Your agent will receive incoming calls from customers

    * **Outbound** (OFF): Your agent will initiate calls to customers
  </Step>

  <Step title="Add Version Details">
    Provide a descriptive commit message to track changes and maintain version history.
  </Step>

  <Step title="Enable Observability (Optional)">
    Enable this if you want to track your agent's performance.

    After enabling, you will see a project created in your agent's name in [Observe](https://app.futureagi.com/dashboard/observe) section after running test.
  </Step>
</Steps>

***

## Voice Observability

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/9XHrT2VFbjQ" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

***

## Agent Configuration and Version Management

Users can edit the configuration here. Saving changes will create a new version, preserving all previous versions.

<img src="https://mintcdn.com/futureagi/VrLVzSI8y7HxVBdX/screenshot/product/simulation/scenarios/agent-details.png?fit=max&auto=format&n=VrLVzSI8y7HxVBdX&q=85&s=f98e7f0ac27324dda7eaaaaa3bd0297c" alt="Add Agent Description" width="1842" height="909" data-path="screenshot/product/simulation/scenarios/agent-details.png" />

Agent definition versioning allows you to track changes made to your AI agents over time. Each version captures the agent’s configuration, behavior prompts, knowledge base connections, and other key settings. With versioning, you can safely experiment with updates, roll back to previous versions, and maintain an audit trail of your agent development.

The Agent Details UI is divided into key sections:

* **Agent Select Dropdown** – Switch between different agents quickly.

* **Version Management Section** – Located on the left, shows all versions with the latest at the top. Each version displays:
  * Version number
  * Timestamp
  * Commit message

* **Create New Version Button** – Opens a side drawer to create a new version of the agent.

### How Versioning Agents Helps You

Versioning provides several benefits:

* **Experiment Safely** – Test new prompts, workflows, or provider settings without affecting the live agent.
* **Rollback Capability** – Restore any previous stable configuration if needed.
* **Audit & Compliance** – Maintain a history of agent modifications for regulatory or internal compliance.

### How to Create New Agent Versions

When creating a new version:

<img src="https://mintcdn.com/futureagi/VrLVzSI8y7HxVBdX/screenshot/product/simulation/scenarios/add-new-version.png?fit=max&auto=format&n=VrLVzSI8y7HxVBdX&q=85&s=871ebcecda4f4e1efa1d40db2520591c" alt="Add Agent Version" width="1840" height="901" data-path="screenshot/product/simulation/scenarios/add-new-version.png" />

1. Click **Create New Version** in the version management section.
2. In the side drawer, complete:
   * **Commit Message** – Describe the changes
   * **Basic Information** – Agent name, description, etc.
   * **Configuration Fields** – Behavior, voice, and knowledge base
3. Click **Save** to create the version.

<Tip>
  Always provide clear commit messages to make version history meaningful.
</Tip>

### Switching Between Versions

<img src="https://mintcdn.com/futureagi/VrLVzSI8y7HxVBdX/screenshot/product/simulation/scenarios/Version-changing.png?fit=max&auto=format&n=VrLVzSI8y7HxVBdX&q=85&s=456654c8991339ed7cb338699337c8d2" alt="Add Agent Version" width="415" height="552" data-path="screenshot/product/simulation/scenarios/Version-changing.png" />

1. In the Version Management section, click any existing version.
2. The UI will load the selected version for viewing, configuration, and further edits.
3. This allows users to quickly switch between different configurations of the same agent.

> **Note**
> Switching versions does not delete previous versions; all historical versions remain accessible.

***

## Perfomance Analytics

<img src="https://mintcdn.com/futureagi/VrLVzSI8y7HxVBdX/screenshot/product/simulation/scenarios/performance-analytics.png?fit=max&auto=format&n=VrLVzSI8y7HxVBdX&q=85&s=7823b6b7d5e1aa5b38999c0af9da1ce3" alt="Add Agent Version" width="1616" height="848" data-path="screenshot/product/simulation/scenarios/performance-analytics.png" />

Shows the agent’s performance using graphs and metrics:

* Call success rates
* Average response times
* Evaluation scores across multiple metrics
* Error rates and anomalies

**Benefits:**

* Identify strengths and weaknesses in agent behavior
* Monitor improvements over time
* Quickly spot issues in production or testing

***

## Call Logs

<img src="https://mintcdn.com/futureagi/VrLVzSI8y7HxVBdX/screenshot/product/simulation/scenarios/call-logs.png?fit=max&auto=format&n=VrLVzSI8y7HxVBdX&q=85&s=6aaee0142da2499baf31892dcdf2d09e" alt="Add Agent Version" width="1629" height="843" data-path="screenshot/product/simulation/scenarios/call-logs.png" />

Provides a detailed history of calls handled by the agent version:

* **Call Information** – Duration, participants, and call status (Completed, Failed, Dropped)
* **Evaluation Scores** – Scores for each call on defined metrics
* **Call Details Drawer** – Click any call to open:

  <img src="https://mintcdn.com/futureagi/VrLVzSI8y7HxVBdX/screenshot/product/simulation/scenarios/call-detail.png?fit=max&auto=format&n=VrLVzSI8y7HxVBdX&q=85&s=97d45d78491d25b666c5f15d6444a0f2" alt="Add Agent Version" width="1740" height="911" data-path="screenshot/product/simulation/scenarios/call-detail.png" />

  * Full conversation transcript
  * Turn-by-turn analysis
  * Evaluation results per metric
  * Audio playback (if enabled)
  * Key moments flagged by evaluations

***
