# Create an Agent

### **Overview**

Admins can create AI Agents in the Admin Portal and prepare them for testing and deployment to users. Newly created Agents are ready for use by default until it is deleted by an admin from this menu.&#x20;

<figure><img src="/files/5JQBJmWt2tYdp1PDLmWh" alt="" width="563"><figcaption></figcaption></figure>

***

### Create a New AI Agent

Click on the **Create an Agent** button to access the Agent Creation menu.

<figure><img src="/files/6Vv56jAz3NhNHSyGz8qR" alt="" width="563"><figcaption></figcaption></figure>

Provide the following details in the **Configure Agent** section:

**Name**: Enter a name for your AI agent (e.g., “Tracker Assistant”). Keep the name concise and meaningful.

**Description**: Add a short description of what this agent will do (up to 250 characters).&#x20;

For Example: "Helps manage project trackers by automating updates and providing insights."

**Icon**: Upload or select an icon to represent your AI Agent visually.

***

### Customize Your AI Agent

In the **Customize Agent** section, configure the AI settings by designating service provider, model type, and creating instructions.

<figure><img src="/files/xxfynQvo4CD5UoAuHZbl" alt="" width="563"><figcaption></figcaption></figure>

**AI Service Provider**: Choose the desired service provider from the dropdown list. For instance, select **MangoApps Managed LLM**.

**Model Type**: Pick the model for the AI Agent. For example, you might use **(Azure OpenAI) GPT 4.0** for advanced language processing capabilities.

**Instructions**: Click the **Edit Instruction** button to provide specific guidelines for your agent. This ensures the agent’s responses align with your workflows and policies.

**Prompts**: Click **New Prompt** to define default or scenario-specific prompts that guide the agent’s responses.&#x20;

For example, users will be able to select these prompts to create Instruction templates within the **Send to Agent** tracker workflow.

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

***

### Save Your Agent

Once all the required fields are filled in, click the **Save** button at the bottom of the page.

The agent is now ready to be integrated into your domain.


---

# 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://guides.mangoapps.com/ai-guide/admin-portal/ai-studio-module/ai-agents/create-an-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.
