> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/task-guides/create-an-agent.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Create an agent

Every Agent Builder task, from your first prompt to configuring, testing, securing, shipping, monitoring, and managing your agents.

The **Create an agent** guide is organized by task. Find what you want to do in the list below, then follow the steps.

| Task                                                     | Go to                                                                    |
| -------------------------------------------------------- | ------------------------------------------------------------------------ |
| Create an agent by describing it in a chat prompt        | [Create an agent from a prompt](#create-an-agent-from-a-chat-prompt)     |
| Start from a ready-made template                         | [Start from a template](#start-from-a-template)                          |
| Attach files to my first prompt                          | [Attach files to the prompt](#attach-files-to-the-prompt)                |
| Bring in an agent I already have                         | [Import an agent](#import-an-agent-i-already-have)                       |
| Build agents from my own IDE                             | [Build from your IDE](#build-agents-from-my-own-ide)                     |
| Change the agent by chatting                             | [Change the agent](#change-the-agent-by-chatting)                        |
| Attach a file to the builder chat                        | [Attach a file](#attach-a-file-to-the-builder-chat)                      |
| See how full the chat context is                         | [Context usage](#see-how-full-the-chat-context-is)                       |
| Keep building in a chat from an older version            | [Migrate a chat](#continue-a-chat-made-in-an-older-version)              |
| Start a new chat or open an earlier one                  | [Chat history](#start-a-new-chat-or-open-an-earlier-one)                 |
| Rename the agent                                         | [Rename the agent](#rename-the-agent)                                    |
| Ask for help with the agent                              | [Raise a request](#ask-for-help-with-the-agent)                          |
| See how the agent is wired                               | [Overview tab](#see-how-the-agent-is-wired)                              |
| See the steps the agent will follow                      | [Flow tab](#see-the-steps-the-agent-will-follow)                         |
| Open the agent's settings                                | [Agent Config](#open-agent-config)                                       |
| Change the name, description, output format, or starters | [Basic Details](#edit-the-agent-details)                                 |
| Write or improve the agent's instructions                | [Instructions](#write-or-improve-the-instructions)                       |
| Set how independently the agent works                    | [Autonomy](#set-how-independently-the-agent-works)                       |
| Set how deeply the agent thinks                          | [Capability](#set-how-deeply-the-agent-thinks)                           |
| Trade response speed against quality                     | [Response Mode](#trade-speed-against-quality)                            |
| Choose the models the agent uses                         | [Models](#choose-the-models)                                             |
| Keep long conversations within the context window        | [Auto-compaction](#keep-long-conversations-within-the-context-window)    |
| Detect malicious prompts                                 | [Prompt Sanitization](#detect-malicious-prompts)                         |
| Give the agent an action it can take                     | [Add a skill](#add-a-skill)                                              |
| Turn built-in skills on or off                           | [Built-in skills](#turn-built-in-skills-on-or-off)                       |
| Call an API or run code                                  | [Skill Library](#call-an-api-or-run-code)                                |
| Attach an MCP server from the registry                   | [MCP server](#attach-an-mcp-server-from-the-registry)                    |
| Add or request a new MCP server                          | [New MCP server](#add-or-request-a-new-mcp-server)                       |
| Connect an MCP server with client credentials            | [MCP with M2M](#connect-an-mcp-server-with-client-credentials)           |
| Connect an MCP server that signs people in with OAuth    | [MCP with OAuth](#connect-an-mcp-server-that-signs-people-in-with-oauth) |
| Fill the MCP server form from a config file              | [Import Config File](#fill-the-mcp-server-form-from-a-config-file)       |
| Choose whether an MCP tool asks before it runs           | [Supervision mode](#choose-whether-a-tool-asks-before-it-runs)           |
| Change which MCP tools the agent can use                 | [Manage tools](#change-which-mcp-tools-the-agent-can-use)                |
| Change an MCP server's URL or credentials                | [Edit MCP](#change-an-mcp-servers-url-or-credentials)                    |
| Remove an MCP server from the agent                      | [Remove](#remove-an-mcp-server-from-the-agent)                           |
| Reconnect an MCP server after import                     | [Reconnect](#reconnect-an-mcp-server-after-import)                       |
| Connect a SaaS product                                   | [Add an integration](#add-an-integration)                                |
| Add my own procedure as a skill                          | [Custom skill](#add-a-custom-skill)                                      |
| Turn a multi-step process into a skill                   | [Add a flow](#add-a-flow-as-a-skill)                                     |
| Hand part of the job to another agent                    | [Add an agent](#add-another-agent-as-a-skill)                            |
| Give the agent documents to read                         | [Add knowledge](#add-knowledge)                                          |
| Build or attach knowledge from the chat                  | [Knowledge from the chat](#build-or-attach-knowledge-from-the-chat)      |
| Attach existing knowledge or a governed graph            | [Existing knowledge](#attach-existing-knowledge-or-a-governed-graph)     |
| Remove knowledge from the agent                          | [Detach knowledge](#detach-knowledge)                                    |
| Make the agent run on an event                           | [Add a trigger](#add-a-trigger)                                          |
| Change or remove a trigger                               | [Edit a trigger](#change-or-remove-a-trigger)                            |
| Store API keys and credentials                           | [Secrets](#store-a-secret)                                               |
| Store reusable values                                    | [Variables](#store-a-variable)                                           |
| Review the agent's execution plans                       | [Execution Plans](#review-the-agents-execution-plans)                    |
| See how many credits the agent has used                  | [Check credits](#see-how-many-credits-the-agent-has-used)                |
| Try the agent                                            | [Try the agent](#try-the-agent)                                          |
| Build a test dataset                                     | [Eval dataset](#build-a-test-dataset)                                    |
| Run an evaluation and read the scores                    | [Run an eval](#run-an-evaluation)                                        |
| Apply the suggested fixes from an eval                   | [Apply suggestions](#apply-suggested-changes)                            |
| Create a widget key or API key                           | [Access keys](#create-an-access-key)                                     |
| Rename or deactivate a key                               | [Manage keys](#rename-or-deactivate-a-key)                               |
| Limit where the chat widget can run                      | [Allowed Domains](#limit-where-the-widget-can-run)                       |
| Verify who is calling the agent                          | [Authentication](#verify-who-is-calling-the-agent)                       |
| Mask personal data before it reaches the model           | [PII masking](#mask-personal-data)                                       |
| Ask for approval before a skill runs                     | [Tool approval](#require-approval-before-a-skill-runs)                   |
| See which models the organization allows                 | [Model policy](#see-which-models-are-allowed)                            |
| Save a version of the agent                              | [Versions](#save-or-switch-versions)                                     |
| Publish a version so it goes live                        | [Publish](#publish-an-agent)                                             |
| Download a saved version                                 | [Download a version](#download-a-saved-version)                          |
| Choose which executor version runs the agent             | [Executor version](#choose-the-executor-version)                         |
| Run the agent in my own app                              | [Integrate the agent](#run-the-agent-in-my-own-app)                      |
| Export the agent as a package                            | [Export the agent](#export-the-agent)                                    |
| Inspect the agent's runs                                 | [Runs & Traces](#inspect-the-agent-runs)                                 |
| Score live conversations                                 | [Online Evals](#score-live-conversations)                                |
| Turn on persona or FAQ memory                            | [Memory](#turn-on-persona-or-faq-memory)                                 |
| Find one of my agents                                    | [Find an agent](#find-one-of-my-agents)                                  |
| Retire an agent                                          | [Retire an agent](#retire-an-agent)                                      |

You need an account with access to **Agent Builder**, and a project to build in.

***

## <i class="fa-robot">:robot:</i> Start a new agent

You start every new agent from **Create New Agent** in **Agents**. Its prompt asks you to describe the task and says the builder will build the agent to do it.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-e383d75307e81c55c7e0421e0623820cb81a6573%2Fqore_agent-builder_how-to-create-new-agent_rounded_shadow.png?alt=media" alt="The Create New Agent screen: a prompt box reading Describe the agent you want to build, with a + button and a send arrow, template chips below it, and the Import an existing agent and Build from your IDE links"><figcaption><p>Create New Agent.</p></figcaption></figure>

### Create an agent from a chat prompt

{% stepper %}
{% step %}

#### Describe the agent

In **Describe the agent you want to build**, write what the agent should do. For example: "Create an agent that answers questions about loan eligibility using our policy documents."
{% endstep %}

{% step %}

#### Submit the prompt

Select the send arrow.
{% endstep %}

{% step %}

#### Review the drafted plan

The platform creates and names the agent, such as *Loan Eligibility Advisor*. When your request is short or general, the builder first asks one or two short questions. Each question shows numbered suggested answers, an **Answer in your own words** box, and a **Skip** option. With more than one question, selecting an answer moves to the next question, and the last question offers **Skip & submit**. With a single question, select an answer and then **Submit**. The chat records each answer under its question, and a skipped question as *Skipped*. A detailed request goes straight to the plan.

The builder then drafts a **plan** with *What it does*, *Who it serves*, *Workflow*, and the runtime flow, and pre-selects tools. The plan also has **Decision rules** and **Boundaries**, which lists what the agent will not do. Refine the plan in the **Type here** box.

The builder also asks whether you want to approve the plan to begin building or suggest adjustments. The choices are **Approve plan and start building** and **Suggest changes to the plan**, with an **Answer in your own words** box and **Skip & submit**. After you suggest a change, the builder updates the plan and asks again.
{% endstep %}

{% step %}

#### Build the agent

When the plan looks right, select **Build Agent**, or type *approve* in the chat. You approve the plan once. The builder doesn't ask for approval again.

On Agent Executor 1.5, the builder then asks whether to set up tests before it builds. See [Set up tests before the build](#set-up-tests-before-the-build). On 1.4, it builds the agent without that question. The platform builds the agent and opens the builder, which has the chat and the canvas.

When the build finishes, the chat summarizes what it set up, and says you can test the agent in the **Agent Playground** or evaluate it under **Regression Evals**. Each reply shows the credits it used.
{% endstep %}
{% endstepper %}

### Set up tests before the build

This is test-driven agent building, and it needs Agent Executor 1.5. See [Which features need which version](https://docs.uptiq.ai/platform/platform-resources/agent-executor/versions.md#which-features-need-which-version). An agent on 1.4 keeps the building flow described above, without the test question, and you can still create datasets and run evaluations yourself in [Regression Evals](https://docs.uptiq.ai/platform/console/agent-builder/test/regression-evals.md).

After you approve a plan for a new agent, the builder asks once whether to set up tests before it builds, and invites you to share your own test cases or have it suggest some from the plan. The answers are **Yes, suggest test cases from the plan**, **No, build directly**, your own words, or **Skip & submit**. Approving with **Build Agent** sends a message to the chat that says you approve the plan, and the question follows. It isn't offered when the build runs without anyone present, such as a build started from **App Builder**.

* **Yes**. Give the builder your own test cases, or let it suggest some from the plan. It lists each test case with a user question and an expected outcome, notes whether any would act outside the platform, and asks you to confirm or change them. It flags any that would send or change something outside the platform, and asks before it keeps each one. After you confirm, it creates a [Regression Evals](https://docs.uptiq.ai/platform/console/agent-builder/test/regression-evals.md) dataset with those test cases, builds the agent, and runs the evaluation once. The chat then shows **Evaluation Results**: the pass count, the fail count and the average score out of 10, what went well, and the failures. It proposes design changes, such as to the instructions, skills or configuration, and asks whether to apply them and run the evaluation again. It changes the agent or runs the evaluation again only when you approve.
* **No**. The agent is built immediately, and no evaluation runs.

Later in the same chat, when you change a rule the agent follows, the builder asks whether to run the tests again. Answer **No** and nothing runs. Answer **Yes** and the evaluation runs once. A change to the agent's opening message doesn't prompt the question.

The builder runs one evaluation at a time. It waits for a pending or running evaluation to finish before it starts another or changes the agent.

### Start from a template

Templates, such as **Collections Agent**, are listed below the prompt box. Use the **‹** and **›** arrows to scroll through them, then select one.

### Attach files to the prompt

Select **+** in the prompt box to attach files to your description.

### Import an agent I already have

{% stepper %}
{% step %}

#### Open Import an existing agent

Below the templates, select **Import an existing agent**. It imports an agent package exported from Platform in three tabs: **Upload package**, **Review changes**, and **Configure secrets**. It opens on **Upload package**.
{% endstep %}

{% step %}

#### Choose the package

Select **Click to upload or drag and drop** and choose a ZIP file up to 50 MB.
{% endstep %}

{% step %}

#### Continue

Select **Next**.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-653f57dc4be6aff015e4525d972215e1dd388098%2Fqore_agent-builder_how-to-import-existing-agent_rounded_shadow.png?alt=media" alt="The Import an existing agent dialog: Bring in an agent package exported from Platform, a ZIP upload area (up to 50 MB), and Cancel and Next buttons"><figcaption><p>Import an existing agent.</p></figcaption></figure>

An import restores the agent's knowledge into the project and replaces any knowledge the agent already had there. Governed graphs aren't imported. See [Knowledge in the package](https://docs.uptiq.ai/platform/console/agent-builder/deploy/export-agent.md#knowledge-in-the-package).

### Build agents from my own IDE

Below the templates, select **Build from your IDE**. **Connect to coding agents (MCP)** connects your agents to an MCP-capable coding agent, such as Claude Code or Cursor, with an API key. It lists three MCP servers, each with an example command for Claude Code:

| Server                 | Effect of the server                                                                                                           |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| **Agent Builder MCP**  | Create, configure, and manage agents.                                                                                          |
| **Knowledge MCP**      | Build datasets, ingest documents, and query the knowledge attached to your agents.                                             |
| **Agent Executor MCP** | Interact with your deployed agents by invoking them through the trigger API. Choose the **Executor version**, such as **1.5**. |

{% stepper %}
{% step %}

#### Create an API key

Under **API keys**, select **Create API Key**. A key is valid only for the current workspace and account, and you can revoke it at any time. A key created here can do only what your role allows. Until you create one, no keys are listed.
{% endstep %}

{% step %}

#### Add a server to your coding agent

Copy the server's example command, and replace `<YOUR_API_KEY>` with your key. Every request needs the `x-platform-key` header.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-a31c4c2c7fe58114898927966e34d13289256885%2Fqore_agent-builder_how-to-build-from-your-ide_rounded_shadow.png?alt=media" alt="The Connect to coding agents (MCP) dialog: example claude mcp add commands for Agent Builder MCP, Knowledge MCP and Agent Executor MCP with the server addresses blurred, an Executor version menu set to 1.4, the required x-platform-key header, and an API keys section with Add Key and No keys yet"><figcaption><p>Connect to coding agents (MCP).</p></figcaption></figure>

***

## <i class="fa-pen-ruler">:pen-ruler:</i> Work in the builder

Each agent opens in the builder, with the chat and the canvas.

The chat header holds the agent name and four icons: chat history, new chat, **Need Help? Report the Issue** (**?**), and **Toggle Panel**.

The canvas header holds everything else:

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-747fb7b94642d29435df007d3b534debaf895025%2Fqore_agent-builder_how-to-canvas-header_rounded_shadow.png?alt=media" alt="The canvas header: the Overview and Flow tabs, a credits meter showing 1,683 credits and $0.84, the Draft Version selector, the Integrate Agent and Export Agent icons, Agent Config, and Try Agent"><figcaption><p>The canvas header.</p></figcaption></figure>

| Header item            | Effect of the header item                                    |
| ---------------------- | ------------------------------------------------------------ |
| **Overview**, **Flow** | Switch between the agent's two views.                        |
| Credits meter          | Shows the credits the agent has used, and their cost.        |
| Version selector       | Shows the version you're viewing, such as **Draft Version**. |
| `</>`                  | **Integrate Agent**: run the agent in your own app.          |
| Export icon            | **Export Agent**: export the agent as a package.             |
| **Agent Config**       | Opens the agent's settings.                                  |
| **Try Agent**          | Opens the Agent Playground in a new tab.                     |

On a saved version with no unsaved changes, a **Download Agent Version** icon also appears.

### Change the agent by chatting

Type the change in **Type here** in the builder chat, and send it. Each reply shows the credits it used, such as *70.3 credits · $0.0351*.

The assistant can also add a [webhook](#send-the-agents-events-to-your-own-endpoint) to the agent. When you ask it to send the agent's final result to your API, it suggests a webhook instead of a skill.

### Manage tests from the builder chat

Ask the builder assistant to work with the agent's [Regression Evals](https://docs.uptiq.ai/platform/console/agent-builder/test/regression-evals.md) datasets, test cases and runs. It can:

* Create a dataset with test cases you give it, or generate one with AI.
* Show the test cases in a dataset.
* Add test cases, and change a test case's question, expected answer or documents. When you ask for an update without saying what to change, it changes nothing and asks what to change.
* Delete a test case. When your request doesn't say which one, it asks you to pick. It then shows **Permission needed**, with **Allow** and **Deny**, before it deletes anything. It then lists the remaining test cases.
* Attach files you uploaded in the builder chat to a test case. A test case holds up to 10 documents. When an attachment would go over that, the builder shows the 10-file limit message and changes nothing. A second file is added to the test case, and removing one file keeps the others.
* List the agent's evaluation runs with their scores: the average score, the passed and failed counts, the dataset, the date and each test case's score. Runs are listed newest first, up to the 20 newest, with the total.
* Stop a running evaluation. It asks you to confirm first. The run then shows **Stopped** in Regression Evals.

Replies about datasets and runs include buttons that open the datasets or the runs, and replies about webhooks can include a button that opens the webhooks. Each opens the matching tab in **Agent Config**. The buttons appear in the **Agent Builder** chat only, and only after the items exist.

A file you upload in the builder chat can also be added to the agent's knowledge.

### Build an evaluator agent by chatting

Ask the assistant for an evaluator agent, an agent that scores other agents. It plans first, and then asks only for the criteria, proposing some if you have none. It doesn't ask which agent will be scored. It sets the **Output Format** to **Json** and explains how to set up the evaluator in Evals. To suggest knowledge to attach, it can read the knowledge of agents in the same project that you can view. See [Create an evaluator](https://docs.uptiq.ai/platform/task-guides/create-an-evaluator.md).

### Attach a file to the builder chat

Select **+** beside **Type here**, then **Attach Files** (which uploads files from your device).

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-6f856b346b8231117c519d3dcb2f04062ac3147d%2Fqore_agent-builder_how-to-chat-attach-files_rounded_shadow.png?alt=media" alt="The + menu in the builder chat, with Attach Files: Upload files from your device"><figcaption><p>Attach Files.</p></figcaption></figure>

### See how full the chat context is

The context ring in the chat box shows how much of the chat's context is used. Its tooltip gives the breakdown: how full it is, such as *11% Full*, the tokens used out of the total, such as *\~21.1K / \~200.0K Tokens*, and the tokens taken by **User messages**, **Assistant messages**, **Tool calls**, and **Tool results**.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-9c0e62353fda93798f14d726177fbb0b6c1039b4%2Fqore_agent-builder_how-to-context-usage_rounded_shadow.png?alt=media" alt="The context usage breakdown: 11% Full, about 21.1K of 200.0K tokens, with User messages 66, Assistant messages 918, Tool calls about 10.0K and Tool results about 10.1K"><figcaption><p>Context usage.</p></figcaption></figure>

### Continue a chat made in an older version

A chat made in an older version shows a message that it was made in an older version. Choose one:

* **Migrate chat**. Keep building in this chat with its history. Migrating can take a while.
* **Start new conversation**. Start a fresh chat.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-5476e3536479aab0160cefea4cfb292e26ce78cb%2Fqore_agent-builder_how-to-migrate-chat_rounded_shadow.png?alt=media" alt="The notice This chat was made in an older version, with Migrate chat and Start new conversation buttons, above the message box"><figcaption><p>A chat from an older version.</p></figcaption></figure>

### Start a new chat or open an earlier one

In the chat header, select the new chat icon to start a fresh conversation with the builder, or the chat history icon to open a past one. To hide or show the chat, select **Toggle Panel**.

### Rename the agent

Select the agent name in the chat header, then **Rename Agent**. The same menu has **Back**. You can also rename it in **Agent Config** > **Basic Details**.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-e832902db56b35836355650bec5bcfd45119308f%2Fqore_agent-builder_how-to-agent-name-menu_rounded_shadow.png?alt=media" alt="The agent name menu open, with Back and Rename Agent"><figcaption><p>The agent name menu.</p></figcaption></figure>

### Ask for help with the agent

Select **?** in the chat header. **Need Help? Raise a Request** opens with the agent filled in.

* **Title**. Required, up to 200 characters.
* **What do you need help with?**. Required, up to 2,000 characters.
* **Attachment**. Optional. **Upload** up to five PNG or JPEG screenshots, each up to 10 MB.

Select **Submit Request**. The Uptiq Platform confirms that the issue was reported and thanks you for your feedback.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-9c1c59673e7016c150f3c495f44e05b25eac99af%2Fqore_agent-builder_report-issue-dialog_rounded_shadow.png?alt=media" alt="The Need Help? Raise a Request form, with the Agent field filled in, Title and What do you need help with? fields, an Upload button for attachments, and Cancel and Submit Request buttons"><figcaption><p>Need Help? Raise a Request.</p></figcaption></figure>

### See how the agent is wired

Select **Overview**. The agent sits in the center, with four cards around it:

* **Triggers**. What starts the agent. **+ Add Triggers**.
* **Knowledge**. What the agent can read. **+ Add Knowledge**.
* **Skills**. The actions the agent can take, each with its type, such as **System Skill**, and its status, such as **Active**. **View all** lists every skill. **+ Add Skills**.
* **Integrations**. The connected services. **+ Add Integrations**.

An empty card says that no knowledge is added yet. Each card's count shows how many items it holds.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-6f21215836152d1168a5c423cf0d10adb33defc4%2Fqore_agent-builder_how-to-canvas-overview_rounded_shadow.png?alt=media" alt="The Overview tab: the agent in the center, a Triggers card with one Schedule trigger and a Knowledge card with no knowledge on the left, and a Skills card with 31 skills and an Integrations card with no integrations on the right"><figcaption><p>The Overview tab.</p></figcaption></figure>

### See the steps the agent will follow

Select **Flow**. It lists the steps the agent can follow at runtime, under **What the Agent will do**. With no execution plan yet, it shows **No Plan Found**.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-968f801f416ba680900d4fa54b241f88731e7a8d%2Fqore_agent-builder_canvas-flow-tab_rounded_shadow.png?alt=media" alt="The Flow tab: What the Agent will do, followed by a sequence of steps, each with a short description"><figcaption><p>The Flow tab.</p></figcaption></figure>

***

## <i class="fa-sliders">:sliders:</i> Shape how the agent behaves

### Open Agent Config

Select **Agent Config** in the canvas header. It opens on **Basic Details**, with every section in the left navigation. Every section saves on its own with its own **Save**, which becomes available when you change something. Saved changes go to the draft.

### Edit the agent details

In **Agent Config** > **Basic Details**:

* **Name**. Required.
* **Description**. What the agent does. Required.
* **Output Format**. **Markdown** (the default) or **Json**. Required.
* **Conversation Starters**. The suggested first messages. Select **Manage** to change them.
* **Owner** and **Sponsor**, under **Ownership** — who is accountable for the agent. The owner is accountable for how the agent behaves day to day and keeps it up to date. The sponsor is the business lead who backs the agent and answers for its use. Both are optional, and each is chosen with **Select a user**. Publishing asks for them if they are empty. See [Publish an agent](#publish-an-agent).

Select **Save**.

### Write or improve the instructions

In **Agent Config** > **Instructions**, write what the agent does and how. The editor formats your text as markdown and has three controls:

* **Upload from file**. Import instructions from a file.
* **Save**. Save your changes. It isn't available until you change something.
* **Best practices**. Open a side panel with the recommended structure: Objective / Goal, Inputs Required, Process / Steps, Outputs / Deliverables, Constraints / Rules, and the optional Tone / Interaction Style and Additional Instructions.

Keep the instructions within 5,000 characters. The character counter shows your length, for example `2,269 / 5,000`. Past 5,000 it turns amber and warns that the instructions might overload the context during agent execution, but you can still save. See [Instructions](https://docs.uptiq.ai/platform/console/agent-builder/build/instructions.md#how-long-instructions-can-be).

Select **Save**.

{% hint style="warning" %}
Never paste API keys, passwords, or tokens into the instructions. Store them as [secrets](#store-a-secret) and reference them as `$secret.{name}`.
{% endhint %}

### Set how independently the agent works

In **Agent Config** > **Agent Behaviour**, choose **Autonomy**: **Low**, **Medium** (the default), or **High**. Higher autonomy commits to multi-step plans on its own; lower autonomy confirms more steps first.

### Set how deeply the agent thinks

In **Agent Behaviour**, choose **Capability**:

* **Auto** (the default) — the platform decides based on the input.
* **Intelligent Planner**.
* **Next Best Step**. Hides the **Planning Model** field.
* **Fast**. Removes persona, FAQ, CoT validation, and learning cases for lower latency. Only on executor versions that support it.

While **Response Mode** is **Flash**, Capability can't be changed.

### Trade speed against quality

In **Agent Behaviour**, choose **Response Mode**: **Advanced** (the default, higher quality, slower), **Balanced**, or **Flash**. The model fields appear only in **Advanced**.

### Choose the models

With **Response Mode** on **Advanced**, under **Advanced Controls**:

* **Model Family**. Filter the model lists to one provider family. Agents can use **Google** and **OpenAI**.
* **Planning Model**. The model that decides what to do, and in what order.
* **Execution Model**. The model that carries out the tasks.

A model the AI Gateway can't serve isn't available. A model the executor version doesn't support is marked **Not Supported**, and the page can't be saved until you choose another. Select **Save**.

### Set the reasoning effort

In **Agent Behaviour**, under **Advanced Controls**, choose **Reasoning Effort**: **Minimal**, **Low**, **Medium**, or **High**. Select **Save**. The setting is saved to the draft and is still selected when you reopen **Agent Config**. Not every model supports every effort. When the effort you pick isn't supported, the closest supported effort is used. When you don't choose one, the agent follows the platform default, which is **Medium**. The agent's effort applies to its planning and decision calls. An effort chosen for a single message in the chat picker overrides it. You can also ask the builder assistant to set it, for example "Set this agent's reasoning effort to Low".

### Keep long conversations within the context window

In **Agent Behaviour**, turn on **Auto-compaction** to summarize the conversation as it nears the context window. Set **Compaction threshold** from **50%** to **85%**. It appears only on executor versions that support it.

### Detect malicious prompts

In **Agent Behaviour**, turn on **Prompt Sanitization**. On an executor version that doesn't support it, the toggle is marked **Not Supported**.

For every behavior setting, see [Agent Behavior](https://docs.uptiq.ai/platform/console/agent-builder/build/agent-behavior.md).

***

## <i class="fa-screwdriver-wrench">:screwdriver-wrench:</i> Give the agent skills

### Add a skill

{% stepper %}
{% step %}

#### Open Skills & Capabilities

On the **Skills** card, select **+ Add Skills**. It opens **Agent Config** on **Skills & Capabilities**.
{% endstep %}

{% step %}

#### Choose a tab

| Tab                     | Holds                                                                                                                                      |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **All**                 | Every skill from every tab.                                                                                                                |
| **Skill Library**       | Skills by Uptiq that you configure, such as **MCP Server**, **API Call**, **API Call Advanced**, **JavaScript Code**, and **Python Code**. |
| **Flows**               | Flows you can add as a skill.                                                                                                              |
| **Agents**              | Other agents in the project.                                                                                                               |
| **MCP Marketplace**     | MCP servers from the catalog.                                                                                                              |
| **Custom Skills**       | Skills you upload, as a folder with a `SKILL.md` file.                                                                                     |
| **Pre-attached Skills** | The built-in skills, each with **Enable**.                                                                                                 |
| {% endstep %}           |                                                                                                                                            |

{% step %}

#### Find the skill

Type in **Search Skills**. The search covers the selected tab.
{% endstep %}

{% step %}

#### Configure and save

Select the skill to open its form. Fill it in, then save. The planner can now choose it when a request needs it.
{% endstep %}
{% endstepper %}

### Turn built-in skills on or off

In **Agent Config** > **Skill & Capabilities**, the **Pre-attached Skills** page has two lists:

* **Active Skills**. The skills the agent can use now, each with an **Actions** menu.
* **Skills you can add**. Select **Enable** to make one active.

Every agent has the same 26 built-in skills, such as **Show Message**, **AI Reasoning**, **Web Search**, **Knowledge Search**, and **View Uploaded Files**. Skills from other sources appear on the canvas's **Skills** card instead.

### Call an API or run code

In **Agent Config** > **Skills & Capabilities**, select **Skill Library**, then a skill:

| Skill                                | What you configure                                                                                                                                                          |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **API Call**                         | URL, method, authorization, headers, query parameters, and input and output schemas. **API Call Advanced** adds a request body.                                             |
| **JavaScript Code**, **Python Code** | Name, description, timeout, code, and input and output schemas.                                                                                                             |
| **Web Crawler**                      | The Firecrawl MCP server, added through **Add MCP Server** with its details filled in and named **Web Crawler**. Add your Firecrawl API key under **Variables (Optional)**. |

The **API Call** form is a window with five tabs: **Details**, **Authorization**, **Request**, **Input Schema**, and **Output Schema**. **Details** asks for the **Name** and **Description**, and for the **Method**, which starts on **Get**, and the **URL**. All four are required. **Next** moves to the next tab, and **Cancel** closes the window.

Reference stored values as `$secret.{name}` and `$agent.{name}` in any field. See [Skill Library](https://docs.uptiq.ai/platform/platform-resources/skill-library.md).

### Attach an MCP server from the registry

Agents get MCP servers from the account's MCP registry, which admins manage in [Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors/mcp-servers.md). The agent runs a server's tools with the sign-in saved in the registry.

{% stepper %}
{% step %}

#### Open the registry

In **Agent Config** > **Skills & Capabilities**, find **MCP Server** and select **Add**, or choose **Skill Library** > **MCP Server**. **Add MCP Server** lists the registry's servers. Use **Search MCP servers** to find one.
{% endstep %}

{% step %}

#### Pick a server

Select the server. A server marked **Request access** can be requested for this agent. A server marked **No access** can't be selected.
{% endstep %}

{% step %}

#### Choose the tools

Turn on the tools the agent needs, and set each one's supervision mode. Select **Attach**, or, for a server you're requesting, enter a **Reason** and select **Request and Attach**.
{% endstep %}
{% endstepper %}

A requested server is attached at once, and the agent uses its tools once an approver accepts. See [MCP Tools](https://docs.uptiq.ai/platform/console/agent-builder/build/mcp-tools.md#connecting-an-mcp-server).

### Add or request a new MCP server

When the server isn't in the registry, select **Add New Server** in **Add MCP Server**. The button reads **Request New Server** when the account requires approval for MCP servers and you can't manage the registry. Servers on the **MCP Marketplace** tab, such as **Tavily**, **Firecrawl**, and **Alpha Vantage API**, open the same form with their details filled in.

{% stepper %}
{% step %}

#### Enter the server

Enter the **Server Name** and **Remote MCP Server URL**. For a key or token, write it in the URL or a header as `{{name}}` and add its value under **Variables (Optional)**, so it's never saved in the URL or headers. Select **Show** under **Authentication (Optional)** if the server needs OAuth details, and add any **Headers (Optional)**. Select **Next**.
{% endstep %}

{% step %}

#### Sign in, if asked

If **Waiting for Authorization** appears, sign in to the server in the pop-up and grant the permissions. The window continues by itself. If the pop-up was blocked, allow pop-ups and select **Connect to Authorize** again.
{% endstep %}

{% step %}

#### Choose the tools

Every tool starts switched off. Turn on the tools the agent needs and set each one's supervision mode. Select **Add Server**, or, for a request, enter a **Reason** for the approvers and select **Request and Attach**.
{% endstep %}
{% endstepper %}

Only this agent gets the server. A requested server shows **Waiting for admin approval** until an approver accepts it in [Approval Requests](https://docs.uptiq.ai/platform/control-center/govern/approval-requests.md#mcp-server-request).

**Core Banking Sandbox API** returns simulated data. Use it to build and test, not to reach a real core banking system.

### Connect an MCP server that signs people in with OAuth

1. In the add form, select **Show** under **Authentication (Optional)**.
2. Copy the URL under **Register This Redirect URL**, and add it as an allowed redirect URI in the OAuth app on your MCP server.
3. Enter the **OAuth Client ID** and **OAuth Client Secret** from that OAuth app. You can leave them empty if the server supports dynamic client registration.
4. Select **Next**, then sign in when **Waiting for Authorization** appears.

See [Authentication](https://docs.uptiq.ai/platform/console/agent-builder/build/mcp-tools.md#advanced-settings).

### Connect an MCP server with client credentials

For a server that issues a client ID and secret instead of a sign-in page:

{% stepper %}
{% step %}

#### Open the form

In **Add MCP Server**, select **Add New Server** or **Request New Server**. Enter the server's name and URL.
{% endstep %}

{% step %}

#### Turn on machine-to-machine sign-in

Select **Show** under **Authentication (Optional)**, then turn on **Machine-to-Machine Sign-In (OAuth Client Credentials)**.
{% endstep %}

{% step %}

#### Enter the credentials

Enter the **Token URL** (required), the **Scope** (if your provider needs one), and the **OAuth Client ID** and **OAuth Client Secret** (both required).
{% endstep %}

{% step %}

#### Choose the tools

Select **Next**. There's no sign-in step. Choose the tools, then add or request the server.
{% endstep %}
{% endstepper %}

See [MCP Tools](https://docs.uptiq.ai/platform/console/agent-builder/build/mcp-tools.md#connect-with-client-credentials).

### Fill the MCP server form from a config file

In the add form, select **Import Config File** and choose a JSON file with an `mcpServers` object, the format MCP clients use. The Platform fills the name, URL, description, headers, and client ID and secret from the first server in the file. See [Import Config File](https://docs.uptiq.ai/platform/console/agent-builder/build/mcp-tools.md#import-config-file).

### Choose whether a tool asks before it runs

Each MCP tool has a supervision mode: **Always Ask Permissions** or **Allow Unsupervised**. Set it when you attach the server, or later:

1. Open the server from the canvas.
2. Change the mode for the tool.
3. Select **Save Changes**.

A mode an admin fixed in the registry replaces the one you choose.

### Change which MCP tools the agent can use

1. Open the server from the canvas.
2. Turn tools on or off with their switches.
3. Select **Save Changes**.

A tool an admin blocked can be requested: turn it on, enter a **Reason**, and select **Request Access**. To make tools the server added since it was saved available, an admin refreshes the server's tools in [Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors/mcp-servers.md#review-tool-changes-and-refresh).

### Change an MCP server's URL or credentials

A registry server's URL and credentials are shared by every agent that uses it, so an admin changes them in [Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors/mcp-servers.md#edit-an-mcp-server). A server that is still **Draft** is reconnected from the agent: open it, then select **Connect MCP Server**, or **Request Approval** when approval is required.

### Remove an MCP server from the agent

On the server's node on the canvas, select **Delete**, then confirm with **Remove**.

### Reconnect an MCP server after import

An imported agent's MCP servers are matched to the registry by URL. A server the registry doesn't have arrives as **Draft**, with its name and URL only. Open it from the agent and reconnect it: that sends it for approval or, when approval is off or you manage the registry, makes it Active.

### Add an integration

On the **Integrations** card, select **+ Add Integrations**, or open **Agent Config** > **Integration Tools & Connectors** > **Apps & Services**. Search with **Search integrations**, hover the service's row, and select **Connect**. Then follow the service's sign-in or credentials form. See [Connect an integration](https://docs.uptiq.ai/platform/task-guides/how-to-connect-an-integration.md).

### Add a custom skill

In **Agent Config** > **Skills & Capabilities**, select **Custom Skills**, then upload a folder with a `SKILL.md` file and up to 10 supporting files. See [Custom skills](https://docs.uptiq.ai/platform/platform-resources/skill-library/custom-skills.md).

### Add a flow as a skill

In **Agent Config** > **Skills & Capabilities**, select the **Flows** tab. Each flow has a card with its name and description, a version dropdown, and **Add**. The dropdown starts on **Current Published**, which always runs the latest published version of the flow. Choose **Version N** instead to pin the agent to that version. A pinned flow shows on the agent as `Workflow · vN`. The draft is never offered. With no flows yet, no skills are listed; select **+ Create Flow** to make one. See [Create a flow](https://docs.uptiq.ai/platform/task-guides/create-a-flow.md#create-a-flow-from-an-agent).

### Add another agent as a skill

In **Agent Config** > **Skills & Capabilities**, select the **Agents** tab, then the agent. It attaches immediately, with no form or confirmation, and appears on the **Skills** card as an **Agent** skill. It's chosen by its description, so make sure the description says what it's for.

***

## <i class="fa-book">:book:</i> Give the agent knowledge

### Add knowledge

{% stepper %}
{% step %}

#### Open Attach Knowledge

On the **Knowledge** card, select **+ Add Knowledge**.
{% endstep %}

{% step %}

#### Choose a category

Choose the category that best matches the content, such as **Financial Services** > **Loan Products**.
{% endstep %}

{% step %}

#### Add the content

Import from **Google Drive**, **One Drive**, or **SharePoint**, or select **Click to upload** and choose a file up to 10 MB.
{% endstep %}

{% step %}

#### Done

Select **Done**. **Done** isn't available until at least one file is added. The knowledge appears on the **Knowledge** card.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-c68ee30174226cfe734331025cf13408ad831f09%2Fqore_agent-builder_studio-agent-builder-attach-agent-canvas-attach-knowledge_rounded_shadow.png?alt=media" alt="The Attach Knowledge dialog: knowledge categories on the left, with Financial Services and Loan Products selected, and Google Drive, One Drive and SharePoint import options above an upload area with a 10 MB maximum file size"><figcaption><p>Attach Knowledge.</p></figcaption></figure>

Turn on the **Preprocessing Pipeline** for scanned or table-heavy documents. For larger files, use [Datasets](https://docs.uptiq.ai/platform/console/knowledge/datasets.md), which accepts up to 15 MB per file.

### Build or attach knowledge from the chat

Ask the builder in the chat. It can:

* **Find what exists**. Ask in your own words, such as "Do we have anything on our 2026 fee schedule?", then ask it to attach what it found.
* **Create and organize**. Create a knowledge base or dataset, and rename one or rewrite its description.
* **Add files**. Add the files you attach to the chat to a dataset, and tell you why a file failed to process.
* **Make files searchable**. Sync a dataset into a knowledge base. The builder reports the result for each dataset.
* **Connect it to the agent**. Attach a knowledge base, or detach it.
* **Add flash knowledge**. Put a few small attached files straight into the agent's context on every run, with no dataset and no wait.

Deleting a file from a dataset, or deleting a knowledge base, affects every agent that uses it. The builder asks you to confirm by name first.

### Attach existing knowledge or a governed graph

{% stepper %}
{% step %}

#### Open Use Existing Knowledge

On the **Knowledge** card, select **+ Add Knowledge**. **Use Existing Knowledge** opens on its **Knowledge** tab.
{% endstep %}

{% step %}

#### Select it

Find it by name, using **Search knowledge** if the list is long, and select it. For a governed graph, select the entry marked **Completed**. Knowledge already attached isn't listed.
{% endstep %}

{% step %}

#### Add it

Select **Add**. It appears on the **Knowledge** card. A governed graph shows as a **Knowledge Store** marked **Active**.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-74e47dbcea0744f3258962c72be8e6abc974def9%2Fqore_agent-builder_use-existing-knowledge-governed-graph_rounded_shadow.png?alt=media" alt="The Use Existing Knowledge dialog on the Knowledge tab, listing CCU Governed Graph as Completed above failed entries, with a search box, a Create Knowledge button and the Add button"><figcaption><p>Use Existing Knowledge.</p></figcaption></figure>

Attaching a governed graph needs the **Attach/Detach governed graph on agent** capability. Upload the graph in **Control Center** > **Govern** > **Governed Graph** first.

### Detach knowledge

* **A governed graph**. Open its node's **⋯** menu on the **Knowledge** card, then **Unlink**.
* **A knowledge base**. Ask the builder in the chat to detach it.

Detaching removes it from this agent only; the knowledge base and its files stay available to other agents.

***

## <i class="fa-bolt">:bolt:</i> Triggers, secrets, and variables

### Add a trigger

{% stepper %}
{% step %}

#### Open Triggers

Open **Agent Config** > **Triggers**, or select **+ Add Triggers** on the **Triggers** card. Select **Add Trigger**, then **Schedule**.
{% endstep %}

{% step %}

#### Fill in the trigger

In **Schedule Trigger**, enter a **Name** and the **Instructions** the agent should follow each time the trigger runs, as **Plain Text** or **JSON**. Under **Schedule**, choose **Preset** or **Custom cron**. With **Preset**, set the **Frequency** (**Hourly**, **Daily**, **Weekly**, or **Monthly**) and the **Time (UTC)**. **Context (Optional)** takes variables for the run.
{% endstep %}

{% step %}

#### Save

Select **Add Trigger**. The window includes a summary of when the trigger runs, such as `Runs every day at 09:00 UTC`. The trigger appears in the list with its **Type**, **Details**, and **Status**. To close the window, select **X**. It has no **Cancel** button.
{% endstep %}
{% endstepper %}

### Change or remove a trigger

In **Triggers**, open the `⋮` menu on the trigger's row. **Edit** opens **Edit Trigger** with the same fields, and **Update Trigger** saves the change. **Delete** removes the trigger.

### Send the agent's events to your own endpoint

A webhook sends the agent's events to an endpoint you run, as signed POST requests.

1. In **Agent Config**, select **Webhooks**.
2. Select **Add Webhook**.
3. Enter the **Endpoint URL**, which must start with `https://`, and a **Description** of what the endpoint is for.
4. Select **Add Webhook**.

**Endpoints** lists each webhook with its **Endpoint URL**, **Description**, **Status**, and **Created**. Adding the first webhook opens the **Signing Secret** tab. Until a webhook exists, the tab has no signing secret. An agent can have up to 10 webhooks.

Select the row menu, shown as ⋮, to change a webhook:

| Action      | What happens                                                                                                                    |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------- |
| **Edit**    | Changes the **Endpoint URL** or **Description**.                                                                                |
| **Disable** | Asks `Disable webhook?` and says that events stop going to the endpoint until you enable it again. **Enable** turns it back on. |
| **Delete**  | Asks `Delete webhook?` and says that events stop going to the endpoint and that this can't be undone.                           |

On the **Signing Secret** tab, `Every request is signed with this secret. Verify the signature before trusting the payload.` The secret is masked. Select the eye icon to show it and the copy icon to copy it. **Rotate Secret** asks `Rotate signing secret?` and says that a new secret replaces the current one immediately, and that requests signed with the old secret fail verification until you update your endpoints.

### Store a secret

{% stepper %}
{% step %}

#### Open Secrets & Variables

Open **Agent Config** > **Secrets & Variables**. The **Secrets** tab opens first. Select **Add Secret**.
{% endstep %}

{% step %}

#### Fill in the row

* **Name**. Starts with a letter or `_`, and uses only letters, numbers, and `_`.
* **Type**. **Text** (no spaces) or **JSON** (must be valid JSON).
* **Value**. The secret.
* **Secured**. Select it to store the value encrypted. It's off by default.
  {% endstep %}

{% step %}

#### Save

Select **Save**. Reference it anywhere as `$secret.{name}`, for example `$secret.STRIPE_SECRET_KEY`.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-b5ae29009dd5f1842074b367d8b84e6276479be2%2Fqore_agent-builder_manage-agent-secrets-and-variables_rounded_shadow.png?alt=media" alt="The Secrets and Variables page in Agent Config, with the Secrets table and its Text or JSON type menu open, the Variables table, and the Built-in section"><figcaption><p>Secrets &#x26; Variables.</p></figcaption></figure>

A secret's name can't be changed once saved: delete the row and add it again. To change a secured value, clear **Secured** (this clears the value), enter the new value, select **Secured** again, and save.

### Store a variable

In **Secrets & Variables**, open the **Variables** tab and select **Add Variable**. Enter a **Name**, an optional **Description**, and an optional **Default Value**, then select **Save**. Reference it as `$agent.{name}`, for example `$agent.BASE_URL`.

The **Built-in** tab lists values the platform provides, such as `$auth.token`, the verified caller's token. It resolves only in MCP connection configurations.

### Review the agent's execution plans

Open **Agent Config** > **Execution Plans**, under **Agent Setup**. At runtime, the planner selects the best matching plan based on user intent, or generates one dynamically when needed. With none added, no execution plans are listed. Each row is a reusable execution plan, with its **Name**, **When to use**, number of **Steps**, and **Actions**. Select **Add Execution Plan** to write one. Execution plans also power the **Flow** tab. See [Execution Plans](https://docs.uptiq.ai/platform/console/agent-builder/build/execution-plans.md).

### See how many credits the agent has used

Read the credits meter in the canvas header, such as **1,683 credits** and **$0.84**. Its tooltip gives the breakdown.

***

## <i class="fa-flask-vial">:flask-vial:</i> Test and improve

### Try the agent

Select **Try Agent** in the canvas header, or the **▷** icon on the agent's row in **My Agents**. The Agent Playground opens in a new tab, where you can chat with the agent. You need the **Trigger Agent** capability, and the agent needs a widget key.

### Build a test dataset

{% stepper %}
{% step %}

#### Open Regression Evals

Open **Agent Config** > **Regression Evals**. On the **Datasets** tab, select **New dataset**.
{% endstep %}

{% step %}

#### Choose where the test cases come from

* **Write them yourself**. Start with an empty dataset and add each question and expected answer by hand.
* **Generate with AI**. Set the **Number of test cases** (up to 50, default 10), and optionally **What should they focus on?**, such as "Edge cases around refunds and partial payments". The cases are written from the agent's instructions.
* **Import from a document**. A `.pdf`, `.xlsx`, `.xls`, or `.md` file up to 10 MB that lists test cases or describes scenarios. Up to 500 test cases.
  {% endstep %}

{% step %}

#### Review and generate

Enter a **Name** (up to 120 characters), choose how you will add test cases, and select **Create dataset**, **Create and generate** or **Create and import**. A dataset made from AI or a document shows **Adding test cases** until its test cases are ready; you can leave the page meanwhile.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-218581c7e546a8df60d977e4353e75104650c179%2Fqore_agent-builder_manage-agent-evals-datasets_rounded_shadow.png?alt=media" alt="The Regression Evals page in Agent Config on the Datasets tab, listing datasets with their status, test case count and creation time"><figcaption><p>Regression Evals, on the Datasets tab.</p></figcaption></figure>

Each agent can have up to 100 datasets. A dataset's row menu has **View**, **Edit details** and **Delete**. Each test case holds a question, an expected answer, and optional documents.

### Run an evaluation

{% stepper %}
{% step %}

#### Start the run

Open a dataset with at least one test case, then select **Run Evaluation**. The Platform confirms that the evaluation run started.
{% endstep %}

{% step %}

#### Follow it

On the **Runs** tab, each run shows its status, progress, and **Passed**, **Failed**, and **Avg score**. Select **Stop** to end a running evaluation; completed results are kept.
{% endstep %}

{% step %}

#### Read the scores

Open the run. Each test case is scored 0–10 by an LLM, with its reasoning. **7 or above passes.** Each result shows the question, the expected answer, the agent's actual answer, and the scorer's reasoning.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-2c9137f8bfa2784b392bb85c5cac0853741d56d2%2Fqore_agent-builder_manage-agent-evals-runs_rounded_shadow.png?alt=media" alt="The Regression Evals page on the Runs tab, with a search box and two completed run cards showing passed and failed counts and an average score"><figcaption><p>Regression Evals, on the Runs tab.</p></figcaption></figure>

### Apply suggested changes

When a run completes with failures or an average score below 7, the Platform suggests changes, each in a category: **Instructions**, **Skills**, **Knowledge**, **Guardrails**, or **Other**.

{% stepper %}
{% step %}

#### Open the suggestions

Select **Apply to Agent** on the completed run.
{% endstep %}

{% step %}

#### Choose what to apply

Select the suggestions you want. Edit a title, category, or description if needed.
{% endstep %}

{% step %}

#### Apply

Select **Apply**. **Agent Config** closes, and the builder agent makes the changes in the chat panel.
{% endstep %}
{% endstepper %}

Run the evaluation again to check the result. See [Regression Evals](https://docs.uptiq.ai/platform/console/agent-builder/test/regression-evals.md).

***

## <i class="fa-shield-halved">:shield-halved:</i> Secure the agent

### Create an access key

{% stepper %}
{% step %}

#### Open Access & Security

Open **Agent Config** > **Access & Security**, under *Credentials & access*, then select **+ Add Key**.
{% endstep %}

{% step %}

#### Name it and choose the type

Enter a **Key Name**, such as `Production Widget`, and choose the **Key Type**:

* **Widget Key**. For the embedded chat and the TypeScript SDK. Safe in browser code; works only from the platform and your allowed domains.
* **API Key**. A key and secret pair for server-to-server calls.
  {% endstep %}

{% step %}

#### Generate and copy

Select **Generate Key**. Copy the key, and for an API key its **API Secret**, before you close the dialog. They can't be retrieved later.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-c0c452c197b1ba4ac5c997e3705c0e518caacaef%2Fqore_agent-builder_manage-agent-access-and-security-add-key_rounded_shadow.png?alt=media" alt="The Add New Key dialog, with a Key Name field, a Key Type choice of API Key or Widget Key, and the Generate Key button"><figcaption><p>Add a key.</p></figcaption></figure>

To copy an existing key later, select the copy icon beside its masked value in the **Key** column.

### Rename or deactivate a key

On the key's row, open **⋯**, then **Rename** or **Deactivate**. Deactivating can't be undone. There's no rotate action: add a new key, move your integrations to it, then deactivate the old one.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-69ab1e50b75ddc378996cec6020e9089ddffe849%2Fqore_agent-builder_manage-agent-access-and-security-key-menu_rounded_shadow.png?alt=media" alt="The Access Keys table with a row&#x27;s menu open, showing Rename and Deactivate"><figcaption><p>A key's menu.</p></figcaption></figure>

### Limit where the widget can run

In **Access & Security**, under **Allowed Domains**, select **+ Add New Domain**, enter the URL or domain in **Enter URL**, and select **Save**. Remove an entry with its trash icon.

* With the list empty, the widget runs nowhere outside the platform.
* The list applies to widget keys only.
* Enter each domain exactly as the browser sends it. A mismatch in protocol, subdomain, or port is refused.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-65405dddbef0788cdba754bc9c170147f9dba5a6%2Fqore_agent-builder_manage-agent-access-and-security_rounded_shadow.png?alt=media" alt="The Access and Security page in Agent Config, with the Access Keys table showing one active widget key and the Allowed Domains list below it"><figcaption><p>Access &#x26; Security.</p></figcaption></figure>

### Verify who is calling the agent

{% stepper %}
{% step %}

#### Register an app with your identity provider

Register an application in Microsoft Entra ID, or create an OAuth client in your Google Cloud project.
{% endstep %}

{% step %}

#### Turn on Authentication

In **Agent Config** > **Authentication**, turn on **Enable Authentication**, and choose the **Authentication Provider**.
{% endstep %}

{% step %}

#### Enter the provider's details

* **Microsoft Entra ID**. The **Directory (tenant) ID** and **Application (client) ID**, from the app registration's **Overview** page.
* **Google**. The **OAuth client ID**, ending in `.apps.googleusercontent.com`.
  {% endstep %}

{% step %}

#### Save

Select **Save**.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-bb544e5791b5e4327000f9824dbce153b365a1c9%2Fqore_agent-builder_manage-agent-authentication-entra_rounded_shadow.png?alt=media" alt="Authentication configured with Microsoft Entra ID, showing the Directory tenant ID and Application client ID fields."><figcaption><p>Authentication with Microsoft Entra ID.</p></figcaption></figure>

Your app then sends the signed-in user's token with each request. Requests without a token still run; requests with an invalid token are rejected. See [Verify who's calling](https://docs.uptiq.ai/platform/task-guides/integrate-an-agent.md#send-the-signed-in-user-token).

### Mask personal data

{% stepper %}
{% step %}

#### Turn on Sensitive Data Masking

Open **Agent Config** > **Guardrails**. Select the **Sensitive Data Masking** row to open its modal, and use the row's ⋯ menu to **Activate** it.
{% endstep %}

{% step %}

#### Choose a provider

Choose **AWS Comprehend**, **Azure Text Analytics**, **Google Cloud DLP**, **Regex**, or **Off**. The provider decides which entity types you can pick.
{% endstep %}

{% step %}

#### Set the entity rule

* **Deny list**. Mask only the entity types you select.
* **Allow list**. Pass the selected types through, and mask every other detected type.

Use **Select all**, **Clear**, or **Clear group**, and **Search** to find a type.
{% endstep %}

{% step %}

#### Save

Select **Save**.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-0874210598c54a6b6e8085c7e86e067b88132a88%2Fqore_agent-builder_guardrails-pii-tokenization-configure_rounded_shadow.png?alt=media" alt="The PII masking configuration screen, with a provider dropdown"><figcaption><p>PII masking.</p></figcaption></figure>

Masked values are replaced with tokens before the model sees them. Tokenization needs a compatible executor version; otherwise the entity list is read-only. See [PII masking](https://docs.uptiq.ai/platform/console/agent-builder/deploy/guardrails/pii-masking.md).

### Require approval before a skill runs

{% stepper %}
{% step %}

#### Turn on Tool Execution Approval

In **Agent Config** > **Guardrails**, select the **Tool Execution Approval** row to open its modal, and use the row's ⋯ menu to **Activate** it.
{% endstep %}

{% step %}

#### Choose the skills

On **Edit Tool Permission**, turn on approval for each skill that needs it, or turn on **Enable for all skills** to cover every current and future skill. **Search skills** filters the list.
{% endstep %}

{% step %}

#### Save

Select **Update Tool Permission**, or **Cancel**.
{% endstep %}
{% endstepper %}

When the agent reaches one of those skills, it pauses and asks the user. **Allow** runs the skill; **Deny** blocks it, and the agent continues without it.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-921186e0e8556c8e764816cc7c20df85152c9379%2Fqore_agent-builder_guardrails-tool-execution-approval-web-search-prompt_rounded_shadow.png?alt=media" alt="The chat pausing on a Web Search tool call, asking the user to Allow or Deny"><figcaption><p>A skill waiting for approval.</p></figcaption></figure>

### See which models are allowed

In **Agent Config** > **Guardrails**, **Allowed LLM Families** and **Allowed LLM Providers** show as **Always enforced**. Your organization sets them in the [AI Gateway](https://docs.uptiq.ai/platform/control-center/ai-gateway.md); they can't be changed per agent.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-4046e7a081a78fb1cc2cc0bba9378325af488b40%2Fqore_agent-builder_agent-builder-guardrail-tool-permission_rounded_shadow.png?alt=media" alt="The Guardrails list, with Name, Type, and Status columns for each guardrail"><figcaption><p>Guardrails.</p></figcaption></figure>

***

## <i class="fa-rocket">:rocket:</i> Ship and run

### Save or switch versions

Changes save to the draft and don't create a version, because versioning is manual. To keep the current state as a version you can return to, select **Draft Version** in the canvas header and save one. **Publish** isn't available until you save a new version after your changes. See [Runtime & Versioning](https://docs.uptiq.ai/platform/console/agent-builder/build/runtime-and-versioning.md#draft-versions-and-executor-versions).

### Publish an agent <a href="#publish-an-agent" id="publish-an-agent"></a>

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-43b9d726ec88fea16279318d0ce01fbfa413b722%2Fqore_control-center_govern_publish-request-flow-diagram.png?alt=media" alt="Flow of a publish request. Save a version, select Publish, then check how many approvals are required. With 0 approvals the item publishes immediately and no request is created. With 1 or more, the request is open in Publish Review as Pending, then Partially Approved when some approvals are in, then Approved when the required approvals are in, and the platform publishes the item. A reviewer can reject the request, which settles it as Rejected, and the requester can withdraw it, which makes it Cancelled."><figcaption><p>How a publish request moves from <strong>Publish</strong> to a published item.</p></figcaption></figure>

Publishing makes a saved version the agent's live version, the one new conversations run when nobody asks for a specific version. Publishing needs approval from a second person, so a request goes to [Publish Review](https://docs.uptiq.ai/platform/control-center/govern/publish-review.md) and the version goes live once it is approved.

1. Save a version of the agent. **Publish** is unavailable while the canvas header shows **Draft Version**, which means the agent has changes after its latest version or no version at all. Hovering it shows `Save a version of this agent before publishing`. Save a version, with a description, from the version menu first.
2. In the canvas header, select **Publish**, next to **Try Agent**.
3. A window titled `Publish Agent` opens. With approval required it reads `Send version v2 for approval? It is marked as published once approved.` **Last Published** shows when the agent was last published and which version, and **Reason** is required and takes a summary of the changes for reviewers.
4. Select **Publish**. When the agent has no owner or sponsor, a window titled `Add an owner and sponsor` asks you to name them first. The owner is accountable for how the agent behaves day to day, and the sponsor is the business lead who backs it. Select **Save and Continue**, or **Skip**. You can change them later in Basic Details.

Two checks can appear first:

* **Unpublished knowledge**. If knowledge attached to the agent hasn't been published, a window titled `Publish Agent - Knowledge` warns `Some knowledge linked to this agent hasn't been published yet. People using this agent may get answers drawn from this content.` Select **Cancel**, or **Publish Anyway** to continue. See [Knowledge](https://docs.uptiq.ai/platform/console/knowledge/sync-and-versions.md#publish-a-version).
* **A request is already waiting**. If another version is waiting for review, the window asks `Replace the pending request?` and `Another version of this agent is waiting for review. Replace it?` Select **Replace** to withdraw the old request and send the new one.

The button then reads **Pending Approval**, and a window confirms that the version was sent for approval and will be published once approved, and that the previously published version stays live until then. It has a **Withdraw request** button. The version that is already live keeps running until the new one is approved. After approval, a window titled **Agent Published** appears, and the approved version is live. A reviewer's rejection leaves the live version as it was, and you can submit again.

To publish, you need edit access to the agent and a role with **Request agent publish**. Developer, Account Admin, and Organisation Admin have it. Approving needs **Approve agent to publish (with its tier)**, which Approver, Account Admin, and Organisation Admin have. Nobody can approve a request they raised themselves.

**Why you may not see an approval step.** Approval is a separate setting for each kind of publish. If the count for agent versions is 0 in your account, **Publish** takes effect at once and no request is created, even when other kinds, such as knowledge or apps, still need review. An administrator changes the count in [Approval Policies](https://docs.uptiq.ai/platform/control-center/govern/publish-review.md#approval-policies). See [How approval works](https://docs.uptiq.ai/platform/control-center/govern/publish-review.md#how-approval-works).

### Unpublish an agent <a href="#unpublish-an-agent" id="unpublish-an-agent"></a>

Unpublishing takes the live version out of use, so the agent has no live version. The saved version itself isn't changed. An unpublish request goes through the same approval and the same statuses as a publish request, shown in the diagram under [Publish an agent](#publish-an-agent).

1. Select **Publish** in the canvas header. When a version is live, **Last Published** appears with its version, and an **Unpublish** button sits next to it. **Unpublish** isn't shown while a publish request for the agent is waiting.
2. Select **Unpublish**. A window titled `Unpublish agent?` reads `Once approved, v2 will no longer be live. Conversations that don't pick a version will run the current draft until a version is published again.` It asks for a **Reason**, and **Send for approval** isn't available until you type one. Spaces alone don't count.
3. Select **Send for approval**. A window titled `Unpublish Pending Approval` reads `Unpublishing v2 has been sent for approval. v2 stays live until it is approved.` with **Withdraw request**, and the header button reads **Pending Approval**.

The request appears in [Publish Review](https://docs.uptiq.ai/platform/control-center/govern/publish-review.md) as **Unpublish agent version**, with the agent, version, description, and your reason, and no **Changes** tab. While it waits, you can't raise a publish request for the agent, and you can't raise a second unpublish request.

| Outcome                                               | What happens                                                                             |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| Approved                                              | The request shows **Approved** in **Publish Review**, and the version is no longer live. |
| Rejected                                              | The version stays live.                                                                  |
| Withdrawn, from the window or from **Publish Review** | The version stays live.                                                                  |

When approval for unpublishing is off, the confirmation window unpublishes the version immediately and no request is raised. The **Approval Policies** list includes **Unpublish agent version**, which needs 1 approval by default.

### Download a saved version

On a saved version with no unsaved changes, select **Download Agent Version** (the download icon) in the canvas header. The version's file downloads to your browser.

### Choose the executor version

The executor version is the runtime that runs the agent. Change it in either place:

* **Agent Config** > **Agent Behaviour** > **Runtime & Versioning** under **Advanced Controls**, then **Save**.
* **My Agents**. Select **•••** on the agent's row, then **Executor Version**, and choose a version. The current one is selected. **1.0** is marked **Deprecated**.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-de412ee9f6524c9b4a4d38c8bf15a997a18adfd4%2Fqore_agent-builder_how-to-my-agents-menu_rounded_shadow.png?alt=media" alt="My Agents with the ••• menu open on an agent: Export Agent, Executor Version and Delete Agent, with the Executor Version submenu listing 1.4 (ticked), 1.3, 1.2, 1.1 and 1.0 Deprecated"><figcaption><p>The agent's ••• menu, with Executor Version open.</p></figcaption></figure>

Switching the executor version can change the agent's behavior and the features available to it. Test the agent after you switch.

### Run the agent in my own app

Select **Integrate Agent** (`</>`) in the canvas header. Choose **Embedded Chat** for a chat widget, or **Agent API** to call the agent from your code. For every step, see [Integrate an agent](https://docs.uptiq.ai/platform/task-guides/integrate-an-agent.md).

### Export the agent

{% stepper %}
{% step %}

#### Open Export Agent Package

Select the export icon in the canvas header, or **•••** > **Export Agent** on the agent's row in **My Agents**. Both open the same dialog. You need the **Export Agent** capability.
{% endstep %}

{% step %}

#### Choose what to include

* **Include secrets (API keys, tokens, credentials)**. Off by default.
* **Include external agent (A2A) authentication**. Off by default.
* **Include integration skills**. Off by default.

MCP servers always export, without their credentials.
{% endstep %}

{% step %}

#### Export

Select **Export Package**. The Platform emails you a download link when the package is ready. The link expires; export again for a new one.
{% endstep %}
{% endstepper %}

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-73daf3367727e4e43e6a457e38227c67dd85f625%2Fqore_agent-builder_how-to-export-agent-package_rounded_shadow.png?alt=media" alt="The Export Agent Package dialog: Export this agent&#x27;s logic, configuration, tools, and contextual data into a single portable package, with Include secrets, Include MCP configuration and Include integration skills checkboxes, and Cancel and Export Package buttons"><figcaption><p>Export Agent Package.</p></figcaption></figure>

{% hint style="warning" %}
**Include secrets** puts credential values in the package. See [Export Agent](https://docs.uptiq.ai/platform/console/agent-builder/deploy/export-agent.md).
{% endhint %}

***

## <i class="fa-chart-line">:chart-line:</i> Monitor in production

### Inspect the agent runs

Open **Control Center** > **Observe** > **Runs & Traces**. Each row is one run, from the widget, the API, or a trigger, with its **Execution ID** and **Conversation ID**. Select a row to see the skills chosen, their results, guardrail results, and step timing. See [Runs & Traces](https://docs.uptiq.ai/platform/control-center/observe/runs-and-traces.md).

### Score live conversations

Online Evals is part of **Control Center** > **Evals**. Open **Agent List**, assign one or more evaluators to the agent, and turn on its **Online eval** toggle. Each scored conversation appears in **Online Eval Runs**, with the reasoning behind its score. Scoring runs in the background and never affects the live conversation. See [Online Evals in Control Center](https://docs.uptiq.ai/platform/control-center/evals.md).

### Turn on persona or FAQ memory

Open **Agent Config** > **Reinforcement Learning** (Preview):

* **User Persona**. Use it to review the preferences your agent has learned about you. Turn on **Enable User Persona** to remember what each user has asked about, preferred, or corrected. You can delete a stored memory. With none stored, no user persona memories are listed.
* **FAQ**. Use it to review and approve frequently asked questions your agent has learned. Turn on **Enable FAQ** to use stored FAQs and their answers when a question matches. With none stored, no FAQs are listed.
* **Learning Cases**. Use it to review and approve learning cases that improve your agent's behavior. Turn on **Enable Learning Cases** to collect corrections from production. Each one needs a person's approval before it's used. With none stored, no learning cases are listed.

Both memories are off on a new agent, and aren't used while **Capability** is **Fast**.

***

## <i class="fa-folder-gear">:folder-gear:</i> Manage your agents

**My Agents**, below the prompt on Create New Agent, lists your agents. Each agent's entry includes its name, description, and when it was last updated, plus **▷** (Try Agent) and the **•••** menu.

### Find one of my agents

* Type part of the name in **Search agent**.
* Use the list and grid icons to switch how the agents are laid out.

### Retire an agent

Select **•••** on the agent's row in **My Agents**, then **Retire Agent**. A window titled `Retire agent?` reads `Check what "<agent name>" is connected to before you retire it.` and warns `Everything below stops working once you retire this agent.` Under **Resource** it lists what the agent is connected to, each with its name and type,, such as an app and its type. It can also list parent agents, flows that run the agent, and assistant users who enabled it. Select **Cancel** to leave the agent as it is, or **Continue**.

***

## <i class="fa-triangle-exclamation">:triangle-exclamation:</i> Common issues

* **The agent ignores attached knowledge**. Check that **Knowledge Search** is active, that the instructions tell the agent to consult its sources, and that new files show **Synced**.
* **The agent doesn't use a skill**. Make the skill description specific, and refine the instructions to say when to use it.
* **A skill fails at runtime**. Check its credentials and endpoint, then inspect the run in **Runs & Traces**.
* **An MCP server's tools all fail as unauthorised**. The server might expect client credentials. Turn on **Machine-to-Machine Sign-In (OAuth Client Credentials)** and reconnect.
* **An MCP connection fails at Next on an OAuth server**. The server might not support dynamic client registration. Enter the **OAuth Client ID** (and secret) from its OAuth app under **Authentication (Optional)**.
* **The MCP sign-in pop-up didn't open**. Your browser might have blocked it. Allow pop-ups and select **Connect to Authorize** again.
* **An imported MCP server shows Draft**. The registry didn't have it, so it arrived with its name and URL only. Open it from the agent and reconnect it.
* **An MCP server is marked No access**. An admin blocked it, or you don't have access to it. Ask an account admin, or pick a server marked **Request access** to request it.
* **I don't see the canvas**. You might still be in the planning view. Select **Build Agent**.
* **Agent Behaviour won't save**. A selected model or mode isn't available. Choose one that's available and isn't marked **Not Supported**.
* **The chat says it was made in an older version**. Select **Migrate chat** to keep its history, or **Start new conversation**.
* **The Export Agent icon is disabled**. You need the **Export Agent** capability.
* **I lost an API secret**. It's shown only once. Create a new API key, move your integration to it, and deactivate the old one.

***

## <i class="fa-link">:link:</i> Related pages

* [Get Started](https://docs.uptiq.ai/platform/console/agent-builder/get-started.md), [The Canvas](https://docs.uptiq.ai/platform/console/agent-builder/the-canvas.md), and [Build](https://docs.uptiq.ai/platform/console/agent-builder/build.md)
* [Regression Evals](https://docs.uptiq.ai/platform/console/agent-builder/test/regression-evals.md), [Access & Security](https://docs.uptiq.ai/platform/console/agent-builder/deploy/authentication.md), and [Guardrails](https://docs.uptiq.ai/platform/console/agent-builder/deploy/guardrails.md)
* Run the agent in your own app: [Integrate an agent](https://docs.uptiq.ai/platform/task-guides/integrate-an-agent.md)
* Build a multi-step automation: [Create a flow](https://docs.uptiq.ai/platform/task-guides/create-a-flow.md)

## What's next

{% content-ref url="/pages/oqoUh5tiruKJyHSG8th8" %}
[Create a flow](https://docs.uptiq.ai/platform/task-guides/create-a-flow.md)
{% endcontent-ref %}

{% content-ref url="/pages/xVjYq9xI38wU5JNjHrDo" %}
[Regression Evals](https://docs.uptiq.ai/platform/console/agent-builder/test/regression-evals.md)
{% endcontent-ref %}

{% content-ref url="/pages/0CdWW96i8FYEqKl4ET4C" %}
[Export Agent](https://docs.uptiq.ai/platform/console/agent-builder/deploy/export-agent.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/task-guides/create-an-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
