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

# Advanced Agent Configuration

> Advanced Agent Configuration - AI Hive Documentation

# **Advanced Agent Configuration**

After creating a basic Agent, you can fine-tune technical parameters to make the Bot smarter and more suitable for your business needs.

Access: Go to **Studio** -> Select the Agent to edit -> **Configuration** tab.

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-0d3532db.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=2ae04c0d985127403000028722ba03ac" alt="image.png" width="2452" height="1387" data-path="images/agents/agents-0d3532db.png" />

## AI Model Settings

On the left side of the screen, you'll see parameters that control the "brain" of the Bot.

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-0af08543.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=a3a3b05b49a7411a225612c3d3181ac7" alt="image.png" width="2466" height="1388" data-path="images/agents/agents-0af08543.png" />

* **Model:**
  * `GPT-4o`: Most intelligent, versatile, handles complex logic well. (Recommended for Sales/Customer Service).
  * `Claude 3.5 Sonnet`: More natural and emotional writing style.
  * `Gemini Pro`: Fast response speed, handles large data well.
* **Temperature:** Slider from 0 to 1.
  * **Low (0 - 0.3):** Bot answers accurately, logically, less creative. Suitable for **Customer Service, Order Lookup**.
  * **High (0.7 - 1.0):** Bot is creative and imaginative. Suitable for **Marketing, Content Writing**.

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-f486a740.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=00a0acedf5a309114f95a01a33ae2818" alt="image.png" width="1320" height="1120" data-path="images/agents/agents-f486a740.png" />

* **Max Tokens:** Limits the length of the Bot's response.

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-f0d424c9.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=c52bc48f96be0ede076da0e23cdb6ece" alt="image.png" width="1345" height="1122" data-path="images/agents/agents-f0d424c9.png" />

## Vision Feature

Allows customers to send images to the Bot, and the Bot can "see" the content.

* **How to enable:** Check the **"Allow Image Upload"** box.

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-e8dbe86e.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=61f3871d85044b1fda1f654fb2dd4862" alt="image.png" width="1597" height="227" data-path="images/agents/agents-e8dbe86e.png" />

* **Applications:**
  * Customer sends a photo of a defective product -> Bot identifies the defect for warranty.
  * Customer sends a photo of a dress sample -> Bot finds similar products in inventory.

## Variable Management

Variables help the Bot remember customer information throughout the conversation (e.g., Name, Phone Number, Address).

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-e0180bb3.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=973bb4778e9dcfdbe105c408bb12d0c4" alt="image.png" width="1587" height="133" data-path="images/agents/agents-e0180bb3.png" />

* **System Variables (Default):** `user_name`, `language`.
* **Custom Variables:** You can create new variables like `customer_phone`, `order_id`.
* **How to use in Prompt:** Use the syntax `ten_bien`.
  * *Example:* "Hello \{\{user\_name}}, how can I help you?"

***

## Tool Integration

For the Bot to perform real actions (like inventory lookup, shipping calculation), you need to give it "hands and feet".

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-16c980ea.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=0f449166f4202b8ed06edb48db71e64f" alt="image.png" width="852" height="1072" data-path="images/agents/agents-16c980ea.png" />

* In the **Tools** section, click **+ Add Tool**.
* Select the desired tool from the library:
  * `CRM Tool`: For checking inventory, creating orders.
  * `Calculator`: For price calculations.
  * `Google Search`: For searching the latest information online.

*(Detailed instructions on advanced ERP/CRM integration will be covered in Tools)*.
