# Create AI Agent

Agent  is a conversational chatbot but has the ability to access the Internet in real time to give the most up-to-date, smarter and more accurate answers.

To create an Agent, follow the instructions below.

**Step 1:** Click **"Create Agent"**

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

Enter Assistant name and Description => Click "**Create**"

**Step 2:** Enter Prompt (from[ **Mega-Prompt Creation Assistant**](https://clickai.vn/assistant/7e4fbafd-e687-4ad3-910f-529d08c28a87))

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

### **How to create prompt :**

Use [Mega-Prompt Creation Assistant](https://clickai.vn/assistant/7e4fbafd-e687-4ad3-910f-529d08c28a87) to create Mega-Prompt and copy result to "**Prompt"**

<figure><img src="/files/5zUPVHzP3lP3I8JD0sCk" alt=""><figcaption></figcaption></figure>

**Step 3:** Add knowledge base

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

**Step 4:** Add **"Plugin" or connect to MCP server**

A Plugin (also known as an extension) is an additional tool that is installed on a system or software (like an AI agent) to add new features or extend functionality that the original software does not have.&#x20;

When you create an AI agent and add a Plugin, you are giving the AI ​​the ability to use external tools or data, such as looking up information on the Internet, getting data from a database, or performing other specialized tasks. Plugins make the AI ​​agent more flexible and intelligent, because they extend the AI's capabilities beyond what is pre-programmed.

ClickAI's AI Agent creation system supports connecting MCP servers outside of ClickAI's Plugin system, helping you easily customize and build AI Agents that suit your work needs in a simple way.

**Step 5:** Choose **"Model"**&#x20;

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

**Step 6:** Click "**Restart**" and test

<figure><img src="/files/5CcFe7qphKIVlbPXMO1q" alt=""><figcaption></figcaption></figure>

**Step 7:** Click "**Publish**" to publish AI Assistant

Once published, your AI Agent will appear on ClickAI's Marketplace, where users can access and use your AI Agent, and you will receive a commission based on the number of uses from users. However, if you do not want to make this AI Agent public, but only want to use it for your own purposes, you do not need to do this.

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

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

User have successfully created Agent.&#x20;


---

# 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.clickai.vn/clickai-docs/clickai-docs-en/function/create-ai-assistant/create-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.
