# Building an AI Agent

## Able to choose agent role

Choose a role that matches your use case the best. Your selection will not directly effect your agent, however we may recommend certain skills or provide guidance on your instructional prompts based on your selection.&#x20;

<figure><img src="/files/SY5jQ8Upd3wZjf01gC8i" alt=""><figcaption></figcaption></figure>

## Able to edit basic information

We provide every agent two names. The public name is what people would naturally call the agent (e.g. Bob). The internal name is a more detailed name / description that can simplify distinguishing two agents that may be named the same (e.g. Bob from Sales, Bob from Support). \
\
Your short description helps users (internal) know more about the role of the agent. You can add tags as well to group agents to make it easier to find via search.

The logo will be used in the Live Chat and Copilot user interface.

<figure><img src="/files/E7O5aYPlSoP1NLs7yjFd" alt=""><figcaption></figcaption></figure>

## Able to setup basic prompting

The instructions are one of the most important parts of building an agent. This is where you define the roles, objective, personality, guardrails, etc of the Agent. [See more details here](broken://pages/iv2VAODsjHezuk2x3z3u). You can also upload documents here for the AI to add to it's training.\
\
(Note: it's ok to skip this part, and come back to edit these later. Most likely you won't have a clear idea on instructions or documents ready to upload at this stage.)

<figure><img src="/files/IvFczCiG7plq3f3nhCxR" alt=""><figcaption></figcaption></figure>

## Able to choose from premade Info Packs

Packs are pre-made instructions that we can add to your instructions to help you get started. You can easily edit these under the training tab by viewing the instructions after you agent is created.\
\
(Note: You can skip this part as well and always add these packs at a later time)

<figure><img src="/files/OVJyBmUje0E3L6DZgOvk" alt=""><figcaption></figcaption></figure>

## Able to choose what skills to use

Skills are essentially tools and functionality that is native in the raia platform.  You can easily add/remove skills at any time. If you don't know what skills to add at this point, you can skip for now.

<figure><img src="/files/mSU9Ufl4kwp7Z1xA016t" alt=""><figcaption></figcaption></figure>

## [AI Agent Build Video Setup](https://www.youtube.com/watch?v=UQn4RBSaixY)

{% embed url="<https://www.youtube.com/watch?v=UQn4RBSaixY>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.raiaai.com/raia-cx/building-an-ai-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
