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

# Agent Configuration

> Edit and manage your voice agents

## Overview

After creating an agent, you can view and edit most aspects of its configuration. The agent configuration screen provides comprehensive control over your agent's behavior.

## Agent Overview Card

The overview card displays:

* Agent name and unique ID
* Voice profile and language settings
* Creation date
* Quick test call button

## Configuration Sections

### 1. System Prompt

The complete AI prompt that guides your agent's behavior. Shows all sections including:

* Introduction
* Response Guidelines
* Task
* Conversation Flow
* FAQs

<Tip>Edit the system prompt for complete control over agent behavior</Tip>

### 2. Introduction & Objective

Defines the agent's role and purpose. This section sets the context for how the agent presents itself.

### 3. Response Guidelines

Rules for how the agent should respond:

* Tone and style
* Behavior instructions
* Do's and don'ts
* Language preferences

### 4. Task Definition

What the agent is trying to accomplish:

* Success criteria
* Goals
* Key objectives

### 5. Conversation Flow

Step-by-step flow of the conversation:

* How to start
* Question sequences
* Handling objections
* Closing statements

### 6. FAQs

All configured question-answer pairs. You can:

* Add new FAQs
* Edit existing ones
* Remove outdated questions
* Reorder for priority

### 7. Custom Variables

View and manage all custom variables:

* Default variables (callee\_name, mobile\_number)
* Custom variables you've created
* Add new variables anytime
* Update default values

### 8. Voice Configuration

Adjust voice settings:

* Voice profile (Mahesh, Anika, etc.)
* Speech rate (adjustable slider)
* Buffer size
* Other voice parameters

### 9. Agent Tasks

List of configured tasks with:

* Task priorities
* Dependencies
* Execution order

## What Can Be Edited

<AccordionGroup>
  <Accordion title="✅ Editable After Creation">
    * System Prompt (full agent behavior)
    * Introduction & Objective
    * Response Guidelines
    * Task Definition
    * Conversation Flow
    * FAQs (add, edit, remove)
    * Custom Variables
    * Voice Profile
    * Voice Settings (speech rate, etc.)
    * Agent Tools (MCP tools, WhatsApp)
  </Accordion>

  <Accordion title="❌ Cannot Be Edited">
    * Agent ID (unique identifier)
    * Primary language (must create new agent)
    * Creation date
    * Historical call data
  </Accordion>
</AccordionGroup>

## Editing Your Agent

<Steps>
  <Step title="Access Configuration">
    From your dashboard, click on the agent you want to edit
  </Step>

  <Step title="Select Section to Edit">
    Click the edit icon next to any editable section
  </Step>

  <Step title="Make Changes">
    Update the content as needed. Changes are validated in real-time.
  </Step>

  <Step title="Save Changes">
    Click "Save" to apply your changes. The agent will be updated immediately.
  </Step>
</Steps>

## Best Practices

<CardGroup cols={2}>
  <Card title="Test After Changes" icon="flask">
    Always test your agent after making changes
  </Card>

  <Card title="Update Incrementally" icon="arrows-rotate">
    Make small changes and test before major updates
  </Card>

  <Card title="Review Transcripts" icon="file-lines">
    Check call transcripts to identify improvement areas
  </Card>

  <Card title="Keep FAQs Current" icon="clock">
    Regularly update based on actual customer questions
  </Card>
</CardGroup>

## Common Configuration Changes

### Adjusting Tone

Edit Response Guidelines to make your agent:

* More formal or casual
* Empathetic or direct
* Brief or detailed

### Adding New Features

Update Task Definition to add capabilities like:

* Appointment scheduling
* Order tracking
* Ticket creation
* Information lookup

### Improving Flow

Modify Conversation Flow to:

* Reduce conversation length
* Handle objections better
* Improve closing rates
* Add qualification questions

## Next Steps

<CardGroup cols={2}>
  <Card title="Test Your Changes" icon="phone" href="/calls/web-calling">
    Use web calling to test modifications
  </Card>

  <Card title="Add Tools" icon="plug" href="/integrations/overview">
    Enhance with MCP tools and integrations
  </Card>
</CardGroup>
