> 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/console/agent-builder/build/runtime-and-versioning.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Runtime & Versioning

Select, validate, and upgrade the Agent Executor version that runs your agent.

**Runtime & Versioning** controls the [Agent Executor](https://docs.uptiq.ai/platform/platform-resources/agent-executor.md) version that runs your agent. Executor releases add capabilities, address issues, and can deprecate earlier behavior. Pinning a version keeps runtime behavior predictable while you validate upgrades.

Set the version on the **Agent Behaviour** page: open **Agent Config** > **Agent Behaviour** and use the **Runtime & Versioning** dropdown at the foot of **Advanced Controls**. The **Agent Config** sidebar has no separate Runtime & Versioning item.

## Executor Version <a href="#executor-version" id="executor-version"></a>

Use the **Runtime & Versioning** dropdown, called **Executor Version** in the My Agents menu, to select the runtime for this agent. On the **Agent Behaviour** page, its hint explains that this is the runtime version for the agent and that different versions might change behavior and available features. Open the dropdown to see the list. The selected version is marked as selected, and versions that are no longer supported are unavailable and marked **Deprecated**.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-3b1060fa4e67d87ce0dffbaae53984a5e0cb7447%2Fqore_agent-builder_agent-behaviour-runtime-and-versioning_rounded_shadow.png?alt=media" alt="The Agent Behaviour page in Agent Config, with the Runtime &#x26; Versioning dropdown at the foot of Advanced Controls set to 1.4."><figcaption><p>The <strong>Runtime &#x26; Versioning</strong> dropdown on <strong>Agent Behaviour</strong>.</p></figcaption></figure>

| Field            | Obligation | Default                                          | Notes                                                                |
| ---------------- | ---------- | ------------------------------------------------ | -------------------------------------------------------------------- |
| Executor Version | Mandatory  | The newest version your platform marks as stable | Switching versions can change agent behavior and available features. |

The dropdown lists versions available to your tenant. New agents start on the newest version that your platform marks as stable. This is not necessarily the newest version in the list: executor 1.5 is listed, but new agents don't start on it. Existing agents remain on their current version until you change it.

You can also change it from the agent list: in **My Agents**, select **•••** on the agent's row, then **Executor Version**. The current version is selected, and **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 (selected), 1.3, 1.2, 1.1 and 1.0 Deprecated"><figcaption><p>Executor Version, from My Agents.</p></figcaption></figure>

## Change the executor version <a href="#migrate-to-v14" id="migrate-to-v14"></a>

1. In **Executor Version**, select the version.
2. Read the upgrade guide. Before you confirm, the platform shows a guide for that exact step, such as 1.4 to 1.5, with what's new, what works differently and what to do first.
3. Confirm the change.
4. Test representative conversations, skills, and integrations.

{% hint style="warning" %}
An executor upgrade can change agent behavior. Validate the agent before migrating production workloads.
{% endhint %}

Moving an agent to 1.5 changes how it is called from outside the platform: widget keys are refused, and browsers and apps use short-lived access tokens. Read [What works differently on 1.5](https://docs.uptiq.ai/pages/vx1INm6meuRZBQmL9H3S#what-works-differently-on-1.5) before you switch. You can move a 1.5 agent back to 1.4, which restores its widget keys.

## When the executor version matters <a href="#when-the-executor-version-matters" id="when-the-executor-version-matters"></a>

Most agent configuration works across versions. Some capabilities require a newer executor version. For example, the PII masking provider an agent uses depends on its version.

Test-driven agent building, where the Agent Builder offers to set up evaluation tests before it builds, needs 1.5. An agent on 1.4 keeps its existing building flow, and Regression Evals work on both. See [Set up tests before the build](https://docs.uptiq.ai/platform/task-guides/create-an-agent.md#set-up-tests-before-the-build).

If a builder section is unavailable, check the executor version. See [Which features need which version](https://docs.uptiq.ai/platform/platform-resources/agent-executor/versions.md#which-features-need-which-version).

## Draft versions and executor versions <a href="#draft-versions-and-executor-versions" id="draft-versions-and-executor-versions"></a>

**Executor Version** selects the platform runtime. A **Draft Version** snapshot is a version of the agent configuration that you save yourself.

| Version type         | Scope                    | Use it for                                        |
| -------------------- | ------------------------ | ------------------------------------------------- |
| **Executor Version** | One runtime per agent    | Control runtime behavior and feature availability |
| **Draft Version**    | Many snapshots per agent | Compare or restore agent configuration            |

The settings are independent. Saving a draft doesn't change the executor version. Changing the executor version doesn't save a draft.

## Save a version <a href="#save-a-version" id="save-a-version"></a>

Versioning is manual. Changing an agent doesn't create a version. Every change saves to the draft, and a version exists only when you save one.

1. Make your changes and save them in the builder. They go to the draft.
2. Open the version selector in the canvas header. It shows **Draft Version** while the agent has changes after its latest version.
3. Enter a version description and save the version.

A saved version is a snapshot of the agent configuration. A later change goes to the draft, and you save another version to keep it.

**Publish** works only on a saved version. While the agent has changes after its latest version, or has no version, **Publish** is unavailable, and hovering it tells you to save a version first. Saving a new version makes **Publish** active again. See [Publish an agent](https://docs.uptiq.ai/platform/task-guides/create-an-agent.md#publish-an-agent).

## Which agent version runs <a href="#which-agent-version-runs" id="which-agent-version-runs"></a>

An agent has a **draft** (version 0), the numbered versions you save, and one **live** version: the version that was last published and approved. See [Publish an agent](https://docs.uptiq.ai/platform/task-guides/create-an-agent.md#publish-an-agent).

When someone starts a conversation with an agent on executor 1.4 or later, the platform picks the version like this:

| Situation                                                      | Version that runs                                                                                            |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| The request names a version                                    | That version. Through the API this is the `version` field; `0` is the draft.                                 |
| The request names no version                                   | The live version. If nothing has been published yet, the draft.                                              |
| The person was given one saved version of the agent (a Viewer) | That version. A request for the draft or for no version gets that version, and any other version is refused. |
| The conversation already started                               | The version it started on. A follow-up message can't switch it.                                              |

On executor 1.3 and earlier, a request that names no version runs the draft, so unpublished changes reach users right away.

Saving a newer version doesn't change what an existing integration runs if it names a version. To move it forward, change the number it sends.

A flow or another agent that you add as a skill has its own version choice. A flow runs **Current Published** or a pinned **Version N**, and an agent runs **Draft** or a saved version. See [Add a flow as a skill](https://docs.uptiq.ai/platform/console/agent-builder/build/attach-skill.md#add-a-flow-as-a-skill).

In the agent playground, the chat widget has a version picker, but only in developer mode. Developer mode is available only in local, development, and release-candidate environments, not in production. In a running conversation the picker is read-only: `Start a new chat to switch versions`.

## What's next

{% content-ref url="/pages/93drMOZnnsM8BIO4Hwwp" %}
[Agent Executor](https://docs.uptiq.ai/platform/platform-resources/agent-executor.md)
{% endcontent-ref %}

{% content-ref url="/pages/LcMB72Ay10x5EM5yhxtq" %}
[Execution Plans](https://docs.uptiq.ai/platform/console/agent-builder/build/execution-plans.md)
{% endcontent-ref %}

{% content-ref url="/pages/UZ0I8WFQSmaFybHZZPHu" %}
[Create an agent](https://docs.uptiq.ai/platform/task-guides/create-an-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/console/agent-builder/build/runtime-and-versioning.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.
