# Custom AI Agent

An AI agent is a program that can make decisions or perform a service based on its environment, user input and experiences.\
\
BLACKBOX AI offers a wide range of AI agents who are experts in their respective fields, but perhaps you can't find one that fits your needs. In that case, you can create one yourself. It will take a description as parameters, and you can choose to insert URLs and files that it will consider in its initial context to answer your questions.

You can also choose to make this bot private or public. If it's public, when you share a conversation with BLACKBOX AI with someone else, the recipient will then be able to use your bot to ask questions as well.

To create your custom AI Agent, you can either click on the card present on the main screen or on the sidebar menu titled "Create Chatbot".

<figure><img src="/files/37tSq2IPJ3LdmNvX4aMq" alt=""><figcaption><p>2 ways to create a custom AI Agent</p></figcaption></figure>

You will then be presented with a modal allowing you to create your custom AI Agent. Simply click on "Create Chatbot" to confirm its creation.

<figure><img src="/files/EtcAJmHOplKqTGi34CPH" alt=""><figcaption><p>Create custom AI Agent modal</p></figcaption></figure>


---

# 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.blackbox.chat/blackbox-ai-1/blackbox-ai/website/website-old/custom-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.
