## What it's for

An AI agent automatically answers your customers for you, in the tone you choose and based on the information you give it. It is the heart of Madyis Hub. Here is how to create your very first agent in a few minutes.

## Steps to create your agent

1. In the sidebar, click **AI Agents**.
2. Click **New agent**.
3. Enter the agent's **name** (for example "Lea" or "Support Assistant"). This is the name you will see in your dashboard.
4. Add a **description**. Describe the agent's role in one sentence (for example "answers questions about orders and deliveries"). This description matters: if you use several agents, it is used to route each request to the right agent.
5. Enter the **personality** (the system prompt). This is where you describe *how* the agent should speak: its tone, how it addresses the customer, what it represents. Example: "You are the warm assistant of the Flowers & Co shop. You answer politely and always stay positive."
6. Choose the agent's main **language**.
7. Save.

## Giving knowledge to your agent

An agent with no knowledge knows nothing about your business. Once the agent is created, open it and go to the **Knowledge** tab to teach it your information (your website, your documents, your text). See the dedicated knowledge base article for details.

## Activating the agent on an inbox

For the agent to actually answer your customers, you must link it to an inbox (for example your website widget, WhatsApp or Instagram).

1. On the agent page, open the **Channels** tab.
2. Tick the inbox or inboxes the agent should answer on.
3. Save.

> 💡 **Tip** — Before activating the agent for real, test it in the **Playground** to make sure it answers the way you want. See the article "Test your agent (Playground)".