> ## 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.

# Create Your First Agent

> Create Your First Agent - AI Hive Documentation

# Guide to Creating Your First AI Agent

With just 4 simple steps, you'll have a smart virtual assistant ready to consult and close deals for your business.

***

## Step 1: Initialize Agent

On the main interface of **Studio**, you'll find the shortcut to get started.

1. Access the **Studio** menu in the left sidebar.
2. Click the **"Create AI Agent"** button (Black) in the top right corner of the screen.

<img src="https://mintcdn.com/nhatvk/vo3TPo86k8V63Z7b/images/agents/agents-d187550e.png?fit=max&auto=format&n=vo3TPo86k8V63Z7b&q=85&s=7564462e305e20f8fe11072b5c78d49c" alt="image.png" width="1911" height="932" data-path="images/agents/agents-d187550e.png" />

## Step 2: Set Up Basic Information

The Bot configuration screen will appear. Here you need to identify your virtual assistant.

1. **Create AI Agent:** Select the "Create AI Agent" button.
2. **Name:** Give it a memorable name (e.g., *XShop Consultant*).
3. **Description:** Write a brief summary of the Bot's mission.

<img src="https://mintcdn.com/nhatvk/vo3TPo86k8V63Z7b/images/agents/agents-3887dc55.png?fit=max&auto=format&n=vo3TPo86k8V63Z7b&q=85&s=e9dada9858b5e223593da4a6f76fd134" alt="image.png" width="1911" height="936" data-path="images/agents/agents-3887dc55.png" />

## Step 3: Role Configuration (Prompting) - Important

This is the most critical step that determines the "intelligence" of the Bot. You have 2 ways to teach the Bot how to work:

### Method 1: Manual Prompting

If you are familiar with Prompt Engineering or already have a detailed script, enter it directly into the **Instructions** box.

* *Example input:* "You are a professional consultant. Please answer customers politely, concisely, and always suggest closing the deal..."

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-51c45abe.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=afcaa4134a6c8e1aeb2da9e8c2171fdb" alt="image.png" width="1093" height="706" data-path="images/agents/agents-51c45abe.png" />

### Method 2: AI Auto-Generate 🌟

This is an exclusive feature that helps you create a standard System Prompt without brainstorming.

1. After creating the Agent, a prompt creation window appears, allowing you to choose existing **Prompt Templates** or **Auto-Generate** a prompt.
2. If you don't want to use a template, in the **AI Generator** window, fill in the basic suggestions:
   * **What should the AI do?** (e.g., *Sell cosmetics, close orders, handle complaints*).
   * **Brand Name:** (e.g., *XShop Cosmetics*).
   * **Tone/Style:** (e.g., *Cheerful, use emojis, friendly address*).
3. Click the **Auto-Generate** button.
4. The system will think for a few seconds and write a long, logical Prompt.
5. Review the result; if satisfied, click **Apply** to save it to the Instructions box.

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-dba9c83d.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=9a264936bd9b1a9ac9a1c826e5852f33" alt="image.png" width="1701" height="934" data-path="images/agents/agents-dba9c83d.png" />

## Step 4: Test & Save

Before publishing, you need to test chat to ensure the Bot understands correctly.

1. Look at the **Preview** panel on the right side of the screen.
2. Type a test question (e.g., *"Hi, can you help me with size recommendations?"*).
3. If the Bot responds correctly, click the **"Publish"** button at the top to complete.

<img src="https://mintcdn.com/nhatvk/A4aF2oHwToUyYIx5/images/agents/agents-6c934c3b.png?fit=max&auto=format&n=A4aF2oHwToUyYIx5&q=85&s=b53da72a991c81cdb519d5844971df6f" alt="image.png" width="1691" height="941" data-path="images/agents/agents-6c934c3b.png" />

***

## Result

After successful saving, your new Agent will appear at the top of the list in the Studio screen with the `AGENT` tag.

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