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

# Build with AI

> Describe the agent you want in the editor's Chat sidebar and the AI builder writes the instructions, picks the model, and connects apps and knowledge for you.

The agent editor comes with a **Chat** sidebar, where you describe the agent you want and the builder sets it up for you. It names the agent, writes the instructions, picks the model, capabilities, and apps, and attaches the knowledge it should work from. The same builder sets up [external WhatsApp agents](https://docs.qxlabs.com/agents/external-whatsapp-agents.md) that answer your customers on a WhatsApp number.

## Describe the agent

Go to [**Agents**](https://app.qxlabs.com/agents) → **New Agent**, where the app asks who the agent will talk to. Choose **Internal** for an agent that works for you and your team, with your connected apps and workspace. Choose **External** for an [external WhatsApp agent](https://docs.qxlabs.com/agents/external-whatsapp-agents.md) that answers your customers on a WhatsApp number, using only the actions you approve.

![The New Agent page asking who the agent will talk to, with Internal and External options](https://mintcdn.com/qx-labs/jCW2M0u2BR5MEdUl/images/agents/create-an-agent/build-with-ai/internal-or-external-light.png?fit=max\&auto=format\&n=jCW2M0u2BR5MEdUl\&q=85\&s=3acf36bcf5243789cb76e87e1e74d1cb)

Then describe the job in the **Chat** sidebar, or start from one of its example prompts. A brief for an internal agent might read:

> Build an agent that triages my Gmail inbox: summarises new mail on request, flags anything urgent, and drafts replies in my tone for me to review.

A brief for an external agent focuses on your customers:

> Build an agent that takes restaurant bookings on WhatsApp and adds each one to my Google Sheet.

The builder works like a thought partner. It proposes an approach, asks the few questions that most change the result, and refines the agent as you answer. The editor updates in front of you as it works, and you can edit any field yourself at any time, the builder picks up your changes and continues from there.

![The agent editor's Chat sidebar proposing an approach and asking a tuning question](https://mintcdn.com/qx-labs/prc29AeGBhIIS4rr/images/agents/create-an-agent/build-with-ai/builder-question-light.png?fit=max\&auto=format\&n=prc29AeGBhIIS4rr\&q=85\&s=35e603ef17630dc9052954a0b865a62e)

## Reference material

Hand the builder your source material, brand guidelines, price lists, example replies, and it stores them in your [persistent workspace](https://docs.qxlabs.com/agents/persistent-workspace.md), so the agent works from the same reference on every run.

![The finished agent with its instructions filled in and the builder's summary in the sidebar](https://mintcdn.com/qx-labs/prc29AeGBhIIS4rr/images/agents/create-an-agent/build-with-ai/built-agent-light.png?fit=max\&auto=format\&n=prc29AeGBhIIS4rr\&q=85\&s=88fe9f65fcc0986f950d5672b074fb13)

When the build is done, the builder summarises what the agent now does. Click **Start chat** to try it immediately, and come back to the sidebar any time to tune it further.

The builder connects the exact tools an agent needs, never the whole app, and you can adjust any of it yourself. Ask it to let a tool run without asking, or to always ask first, and it sets the tool's [permission](https://docs.qxlabs.com/agents/scopes-and-permissions.md#set-permissions-for-one-agent) too. It can turn asking off only on apps you connected yourself. See [Scopes and permissions](https://docs.qxlabs.com/agents/scopes-and-permissions.md) for how scoping works.

> [!NOTE]
>
> You can also build an agent without opening the editor. Ask **QX** in [chat](https://docs.qxlabs.com/agents/chat.md), or from [Slack](https://docs.qxlabs.com/agents/communication-channels.md), [WhatsApp](https://docs.qxlabs.com/agents/communication-channels.md), [Teams](https://docs.qxlabs.com/agents/communication-channels.md), or [email](https://docs.qxlabs.com/agents/communication-channels.md), and it builds the agent and replies with a link to review it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.