What an Agent Release Contains on AgentCore - Runtime Versions, Endpoints, and Parts Outside the Version

First Published:
Last Updated:

Amazon Bedrock AgentCore Runtime creates a new version each time the agent runtime is updated. Once created, a version does not change, and named endpoints continue to point to the same version until the user redirects them. Therefore, redirecting a production endpoint to a previous version can appear to roll back to that earlier release. The AgentCore developer guide also refers to this mechanism as a rollback.

However, a runtime version only contains the runtime's configuration. If system prompts or model IDs are placed in configuration bundles, they move separately as bundle versions. Amazon Bedrock Guardrails and Prompt management also have their own versions. The pages this article read show no versioning for the Gateway itself and its regular targets, Policy, Memory, or Identity credential providers. The extent to which an agent's behavior reverts to a previous release when an endpoint is redirected depends on where those components are located.

This article details, for each part that makes up an agent release on AgentCore, whether it has versions, what moves those versions, and whether it returns when the runtime endpoint is rolled back. It also lists the items to record so that each release shows which version of which part went into it. This article is based on AWS documentation read on December 1, 2026 (during re:Invent 2026). It was not tested on real systems. This article does not cover pricing, methods for stopping agents, permission design, or procedures for switching models.

Related articles on this site:

Table of Contents

  1. 1. Scope and Assumptions
  2. 2. What a Runtime Version Contains
  3. 3. DEFAULT and Named Endpoints
  4. 4. Components Outside the Runtime Version
  5. 5. Configuration Bundles and A/B Testing
  6. 6. What Does Not Return When an Endpoint Is Rolled Back
  7. 7. Release Records and Metrics to Compare
  8. 8. Frequently Asked Questions about AgentCore Releases
  9. 9. Summary
  10. 10. References

1. Scope and Assumptions

This chapter first defines the intended audience, the scope of this article, the materials read, the labels, and the terminology. The conclusions come first, in the following nine points.

  • Runtime versions are created with each update and remain unchanged after creation. A version encompasses all necessary configurations for execution (see Chapter 2).
  • The developer guide provides examples of creating new versions, citing container images, protocol configurations, and network settings. It does not provide a comprehensive list of individual fields. The inclusion of environment variables and execution roles within a version can be inferred from the fact that GetAgentRuntime returns configuration settings specific to each version (see Sections 2.2 and 2.3).
  • The DEFAULT endpoint automatically advances to the latest version. Named endpoints do not advance until UpdateAgentRuntimeEndpoint is called (see Chapter 3).
  • Passing a version to DeleteAgentRuntime will delete only that specific version. Deleting an older version prevents reverting to it (see Section 3.6).
  • Configuration bundles, Gateway built-in connectors, Guardrails, and Prompt management each have their own versions outside the runtime version. Reverting the runtime endpoint will not affect the versions of these components (see Chapters 4 and 5).
  • The pages this article read show no versioning for the Gateway itself and its regular targets, Gateway rules, Policy, Memory, or Identity credential providers. This article does not conclude that these components have no versions (see Section 4.5).
  • If a reference to a part outside the version is pinned inside the runtime version, the reference returns together with the version. A reference that reads the latest version does not return (see Section 4.3).
  • When code is updated, and when an endpoint's reference is removed on platform version V2, established sessions continue in their previous state until they end. The former is documented on the troubleshooting page, while the latter is described on the microVMs page. No description was found for redirecting an endpoint on platform version V1 (see Section 6.2).
  • To be able to roll back a release, record which version of which component went into each release (see Chapter 7).

1.1 Target Audience

This article is intended for operators and platform engineers who run agents in production on AgentCore Runtime and who have configured staging and production environments using named endpoints. Specifically, it targets individuals who believe that pointing production endpoints back to a previous version will revert to the behavior of that earlier release, and those who are considering externalizing prompts and model IDs into configuration bundles or similar mechanisms.

1.2 What This Article Covers and What It Does Not

This article covers runtime versions, the DEFAULT endpoint and named endpoints, liveVersion and targetVersion, endpoint status, version and endpoint limits, version deletion, configuration bundles, Gateway A/B test splits, built-in connector versions, Guardrails and Prompt management versions, components with no versioning described on the pages, established sessions, and release records.

The following topics are outside the scope of this article, with the articles that cover them:

1.3 Checked Date and Reviewed Materials

The verification date is December 1, 2026. This date falls on the second day of AWS re:Invent 2026 (November 30 – December 4, 2026). On December 1, 2026, the "What's New" section for AgentCore was reviewed. The most recent announcement was dated November 29, 2026, and there were no further updates regarding versions or endpoints. Announcements made during re:Invent may change what this article describes.

This article read the following materials:

  • AgentCore Developer Guide pages: AgentCore Runtime versioning and endpoints, microVMs (the page describing how microVMs work, located under "How it works"), Use isolated sessions for agents, Troubleshoot AgentCore Runtime, and the chapter on configuration bundles (including the introduction page, updates, retrieval, listing, deletion, and runtime usage sections), target-based A/B testing, Gateway built-in connector versions, quotas, and release notes, as well as the table of contents for the Developer Guide.
  • AgentCore Control API Reference: UpdateAgentRuntime, GetAgentRuntime, DeleteAgentRuntime, CreateAgentRuntimeEndpoint, UpdateAgentRuntimeEndpoint, GetAgentRuntimeEndpoint, ListAgentRuntimeVersions, the list of operations, ModifyMemoryStrategyInput, ContainerConfiguration, and S3Location.
  • Amazon Bedrock User Guide pages: Guardrails deployment and Prompt management deployment.
  • "What's New" announcement dated November 12, 2026 ("The next generation AgentCore runtime is now the default").
  • One article from the AWS re:Post Knowledge Center and one article from AWS re:Post (Domain 2: Operational reliability). Neither is part of the developer guide, so this article names them and uses them only as supplementary sources.

The table of contents for the developer guide lists two pages—microVMs and Instances—under the "How it works" section for AgentCore Runtime. The microVMs page that this article cites has runtime-how-it-works in its URL and covers runtimes that run on microVMs. Where a developer guide page and the API reference differ, this article treats the API reference as authoritative (see Section 3.8). English quotations were checked against the text displayed on the HTML pages.

1.4 Labels for Statements

This article uses the following three labels to distinguish where each statement comes from.

LabelMeaning
StatedInformation found directly in AWS documentation.
Not statedInformation not found in the AWS documentation reviewed for this article. This does not constitute proof of non-existence.
InferenceInformation derived by this article through combining multiple statements from the documentation.

Any statement without a label is Stated. This article was not tested on real systems, so no observation label is used.

1.5 Usage of Terms

Within the AgentCore and Bedrock documentation, the term "version" refers to at least five distinct concepts. This article clarifies each instance of the term "version" by specifying which version is being referenced.

Term Used in This ArticleRefers ToIdentifier FormatPrimarily Discussed In
Runtime VersionA specific historical iteration of the AgentCore Runtime configuration.agentRuntimeVersion (a string of numbers starting from 1)Versioning page, API Reference
Platform VersionA generation of the underlying platform that runs the runtime.platformVersion (V1 or V2)microVMs page
Bundle VersionA specific historical iteration of a configuration bundle's settings.UUID version IDConfiguration Bundles chapter
Connector VersionA specific version of the built-in connectors in the Gateway.MAJOR.MINOR.PATCH (target source.version)Connector versions page
Guardrails Version and Prompt Management VersionFixed copies of guardrails and prompts, created from drafts.Guardrails are identified by a number; prompts are identified by their version ARN.Bedrock User Guide

In addition, the following terms are used:

  • Endpoint: A name for calling a runtime version. There is the DEFAULT endpoint, and there are named endpoints that users create. The Quotas page also refers to endpoints as "aliases."
  • Rolling back an endpoint: Changing the target of a named endpoint to a previous runtime version. This article distinguishes between an endpoint's destination being rolled back and an agent's behavior reverting to a previous release. The former is a confirmed occurrence; the latter depends on the components' placement.
  • Release: A single, deployed change set. This includes not only runtime versions, but also bundle versions, connector versions, guardrail versions, prompt versions, and the state of the Gateway and Policy.
  • V1, V2: Platform versions. These are distinct from the first runtime version (version 1).

2. What a Runtime Version Contains

This chapter outlines the contents of a runtime version, using the text of the pages and the shape of the APIs.

2.1 Version Properties

The AgentCore Runtime versioning and endpoints page describes the runtime versions using the following four lines:

When you create an AgentCore Runtime, AgentCore Runtime automatically creates version 1 (V1)
Each update to the AgentCore Runtime creates a new version with a complete, self-contained configuration
Versions are immutable once created
Each version contains all the configuration needed for execution

Creating a runtime creates version 1, and each update creates a new version. Once a version is created, it remains unchanged and contains all necessary configuration settings. Version numbers are strings of numerical characters, starting from 1 in the API. The pattern for agentRuntimeVersion is ([1-9][0-9]{0,4}), with a length of 1 to 5 characters.

The microVMs page describes the same mechanism as follows:

This versioning system provides reliable deployment history and rollback capabilities.

The developer guide describes the runtime versioning system as a means of rollback. However, what this rollback returns is the configuration that the version holds. The following sections detail what a version contains. Note that the versioning page itself does not mention the term "rollback."

2.2 Updates for Creating New Versions

The scenarios table on the versioning page lists three changes that result in the creation of a new version:

ChangePage Description
Protocol ChangeCreates a new version with new protocol settings.
Container Image UpdateCreates a new version using a new container image.
Network Settings ModificationCreates a new version with new security parameters.

The microVMs page also lists these same three items in parentheses.

Each update to configuration (container image, protocol settings, network settings) creates a new version

Neither page explicitly states which specific fields, when modified, trigger the creation of a new version (Not stated). However, the second line on the versioning page (as referenced in Section 2.1) states that a new version is created with each update. Based on this line, this article reads that a runtime update creates a new version whichever field it changes (Inference).

2.3 Version-Specific Configuration

The GetAgentRuntime API accepts a version parameter in the URI query. The request takes the form GET /runtimes/agentRuntimeId/?version=agentRuntimeVersion. The response includes the following fields:

  • agentRuntimeArtifact (the container image or code location)
  • roleArn (execution role)
  • environmentVariables
  • networkConfiguration
  • protocolConfiguration
  • authorizerConfiguration
  • requestHeaderConfiguration
  • lifecycleConfiguration
  • filesystemConfigurations
  • platformVersion

The UpdateAgentRuntime API requires agentRuntimeArtifact and roleArn. All other fields are optional. Updates must always include at least these two fields.

Based on the structure of these two APIs, this article reads that environment variables, the execution role, the authorizer configuration, the request header configuration, the lifecycle configuration, and platformVersion are also recorded for each runtime version (Inference). This is an inference, as the versioning page does not provide a comprehensive list of fields.

However, an article in the AWS re:Post Knowledge Center (published November 11, 2026) explicitly states:

Each runtime version has its own authorization configuration.

The same article shows how to read the endpoint's liveVersion with get-agent-runtime-endpoint and then read that version's authorizerConfiguration with get-agent-runtime.

Regarding cpuConfigurations, the UpdateAgentRuntime API reference states:

The CPU configurations for the AgentCore Runtime. Immutable after creation. Supported only with Runtime platform version V2.

This field cannot be modified after the runtime has been created.

2.4 Values Written Within the Code and Container

The runtime version holds either the URI of the container image or the location of the code. System prompts, model IDs, and tool definitions written in the code go into the version together with that image or code (Inference). If the location pins the content, rolling the endpoint back to a previous version returns the previous code and the values written within it (Inference).

However, a version only holds the location, and that location may not pin the content. The pattern for containerUri in the API reference accepts both tags and digests. Regarding the versionId for code stored on S3, the API reference states:

The version ID of the Amazon Amazon S3 object. If not specified, the latest version of the object is used.

The pages this article read do not specify when a tag is resolved to an image, nor at what point the latest version is taken when the versionId is omitted (Not stated). If you overwrite a tag and push it, or if you use an S3 location without a versionId, the pages do not determine which image or code runs when the endpoint is rolled back to a previous version (Inference). If you rely on rolling back to a previous version, refer to the image using a digest or a tag that cannot be overwritten, and include a versionId for code stored on S3 (Inference).

An AWS re:Post article (Domain 2: Operational reliability, published October 15, 2026) outlines a model update process that involves changing the agent's code to a new model ID, testing it on a development endpoint, then updating the production endpoint. If issues arise, the article rolls the endpoint back with UpdateAgentRuntimeEndpoint. This process is predicated on the model ID being stored in the code. The same article describes endpoint reversion as follows:

If a promoted version misbehaves, then point production back to the previous version for immediate rollback.

If the model ID is stored in the code and the location pins the content, reverting the endpoint will also revert the model. However, if the model ID is stored in configuration bundles or an external settings store, reverting the endpoint will not revert the model (see Chapter 4).

2.5 Platform and Runtime Versions

platformVersion refers to the generation of the platform that runs the runtime, and can have a value of V1 or V2. The microVMs page differentiates between platform and runtime versions as follows:

It is separate from the runtime versions that capture your configuration history.

The same page states that if platformVersion is omitted during an update, the runtime will remain on the current platform version.

If you omit it when you update a runtime, the runtime keeps its current platform version.

On November 12, 2026, a What's New post announced that the default platform version for new runtimes is now V2, and included the following statement regarding existing runtimes.

Existing runtimes stay on the current version until you move them.

Since platformVersion is a field within UpdateAgentRuntime, the transition from platform version V1 to V2 creates a new runtime version as part of a runtime update (Inference). No page was found that states whether, after this move, a runtime version from before the move runs on platform version V1 when a named endpoint is rolled back to it (Not stated). How platform version V2 starts agents is covered in What a Snapshot Carries on AgentCore Runtime V2.

3. DEFAULT and Named Endpoints

This chapter describes how endpoints advance and roll back, their status, their limits, and version deletion.

3.1 How Endpoints Advance

The versioning page describes how endpoints advance as follows:

The DEFAULT endpoint automatically points to the latest version of your AgentCore Runtime
When you update an AgentCore Runtime, the DEFAULT endpoint is automatically updated to point to the new version
Endpoints must be explicitly updated to point to new versions

DEFAULT advances to the latest version whenever the runtime is updated. Named endpoints, on the other hand, continue to point to the same version until a user explicitly updates them.

The scenarios table on the same page shows this difference in the following six steps:

StepChangeLatest VersionEndpoint
1CreationV1DEFAULT points to V1
2Protocol ChangeV2DEFAULT advances to V2
3Creation of the PROD endpoint using V2V2 (No new version is created)PROD points to V2
4Container image updateV3DEFAULT advances to V3. PROD remains at V2.
5Update PROD to V3V3 (No new version is created)PROD points to V3
6Network configuration changeV4DEFAULT advances to V4. PROD remains at V3.

Creating an endpoint and updating an endpoint do not create a new version of the runtime. The V1, V2, V3, and V4 in the table represent version numbers of the runtime. They are unrelated to platform versions V1 and V2.

3.2 Redirecting via UpdateAgentRuntimeEndpoint

Advancing a named endpoint and rolling it back to a previous version both use the same UpdateAgentRuntimeEndpoint. The request body consists of only three optional fields: agentRuntimeVersion, clientToken, and description. Upon success, it returns an HTTP 202 status code.

CreateAgentRuntimeEndpoint, which creates an endpoint, also accepts the agentRuntimeVersion parameter, which is also optional. The API reference does not specify which version is used when this parameter is omitted (Not stated).

No page was found that states whether the DEFAULT endpoint can be pointed back to a previous version with UpdateAgentRuntimeEndpoint (Not stated). If you have a configuration that only uses DEFAULT and want to revert to a previous setting, you can update the runtime with the settings from that previous version. However, this will not actually revert to the previous version; instead, it will create a new version with the same settings as the previous one (Inference).

3.3 liveVersion and targetVersion

The responses from UpdateAgentRuntimeEndpoint and GetAgentRuntimeEndpoint both include liveVersion and targetVersion. The API reference describes liveVersion as follows:

The currently deployed version of the AgentCore Runtime on the endpoint.

The description for targetVersion is as follows:

The target version of the AgentCore Runtime for the endpoint.

During endpoint updates, liveVersion represents the currently deployed version, while targetVersion indicates the version being transitioned to (Inference). The API reference does not specify when these two values will align, nor which version serves invocations during the update (Not stated).

The microVMs page describes endpoint updates as follows:

You can update endpoints without downtime, allowing for seamless version transitions and rollbacks.

This text says that the agent does not stop while an endpoint is updated. It does not say which version responds during the update. After deciding to roll back, check with GetAgentRuntimeEndpoint that liveVersion has become the target version (Inference).

3.4 Endpoint Status

The number of status values varies depending on the page.

SourceValues
Versioning page, microVMs pageCREATING, CREATE_FAILED, READY, UPDATING, UPDATE_FAILED (5 values)
GetAgentRuntimeEndpoint, UpdateAgentRuntimeEndpoint API referenceThe 5 values listed above, plus DELETING and DELETE_FAILED (7 values)

This article treats the 7 values in the API reference as authoritative. On the microVMs page, UPDATING indicates the status while the endpoint is being updated to point to a new version, and UPDATE_FAILED indicates a failed update. When an update fails, which version the endpoint points to is not stated (Not stated).

3.5 Version and Endpoint Limits

The AgentCore quota page (as of December 1, 2026) states the following:

QuotaValueCan be Increased
Versions per agent1,000Can be increased in Service Quotas
Endpoints (aliases) per agent10Can be increased in Service Quotas

The quota page does not say whether DEFAULT counts toward the 10 endpoints (Not stated). The number of runtime versions increases with each update. In operational environments that are frequently updated through CI/CD, you need to monitor whether the number of versions is approaching 1,000 (Inference).

3.6 Version Deletion

DeleteAgentRuntime accepts a version qualifier. The API reference documentation describes it as follows:

Deletes an Amazon Bedrock AgentCore Runtime, or a single version of an AgentCore Runtime when you provide the version qualifier.

The request takes the form DELETE /runtimes/agentRuntimeId/?clientToken=clientToken&version=agentRuntimeVersion. Regarding the version parameter, the API reference states:

The version of the AgentCore Runtime to delete. When you provide this value, only that version is deleted. When you omit it, the entire AgentCore Runtime and all of its versions are deleted.

The operation to delete a version does not have a different name, such as DeleteAgentRuntimeVersion. Searching the API reference's list of operations by name does not find it. If you omit the version parameter, the runtime and all of its versions will be deleted.

Deleting an older version means that you will no longer be able to revert to that version (Inference). The API reference does not specify whether you can delete the version that an endpoint is pointing to, nor does it describe what happens to the endpoint if you do so (Not stated). This article has not verified when this functionality was added (Not stated). When deleting older versions to manage the version limit, be sure to first determine which version you want to retain as the fallback.

3.7 Rolling Back to an Older Version on Platform Version V2

The microVMs page describes the snapshot lifecycle on platform version V2 as follows:

AgentCore Runtime prepares a snapshot when an endpoint points to a version.

The same page states that a snapshot is deleted when no endpoint points to its version (quoted in Section 6.2).

From these two statements, rolling an endpoint back on platform version V2 to an older version that no endpoint points to requires preparing a snapshot of that version (Inference). The re:Post article describes rolling back an endpoint as immediate rollback. On platform version V2, the endpoint likely stays in UPDATING until the snapshot of the target version is ready (Inference). The page does not state how long a rollback takes (Not stated).

To prevent a state where no endpoints point to the target version, one option is to keep a named endpoint that points to that version (Inference). This option uses one endpoint of the limit (see Section 3.5), and the snapshot of the kept version is also kept (Inference). How snapshots are made on platform version V2 is covered in What a Snapshot Carries on AgentCore Runtime V2.

3.8 Differences Between Pages

The example on the versioning page and the API reference differ as follows:

ItemExample on the Versioning PageAPI Reference and SDK
ClientCalls update_agent_runtime_endpoint using boto3.client('bedrock-agentcore', ...)UpdateAgentRuntimeEndpoint is an operation within AgentCore Control and is available in the bedrock-agentcore-control client in boto3. It is not included in the models for the bedrock-agentcore SDK.
Version ValueagentRuntimeVersion='v2.1'The pattern is ([1-9][0-9]{0,4}), consisting of numbers only.
Endpoint Status57

This article treats the API reference as authoritative. Copying the example on the versioning page can fail in two places: the client and the version value (Inference).

4. Components Outside the Runtime Version

This chapter sorts the components that determine agent behavior and sit outside the runtime version by where they are placed.

4.1 Three Locations

The components that determine agent behavior are divided into three locations:

  • Within the Runtime Version: This includes container images, code, protocols, network settings, authorizer configurations, and other settings (including environment variables and execution roles – see Section 2.3). When the endpoint is rolled back, these return as well. The image and code return only when the location pins the content (see Section 2.4).
  • Components with their own versions, located outside the Runtime Version: This includes configuration bundles, Gateway built-in connectors, Guardrails, and Prompt management. Each component's own operations move its versions.
  • Components outside the Runtime Version with no versioning described on the pages: This includes the Gateway itself and its regular targets, Gateway rules, Policy, Memory, and Identity credential providers.

4.2 Table of Components

The following table details, for each component, whether it has versions, what advances those versions, and whether it returns when the runtime endpoint is rolled back to a previous version.

ComponentVersioning and UnitOperation to Advance VersionBehavior When Rolling BackLabel
Container image or code (including prompts and model IDs written in it)Enters a runtime versionUpdateAgentRuntimeRolls back (when the location pins the content)Image URI is Stated; rolling back and internal values are Inference
Protocols, networkEnters a runtime versionUpdateAgentRuntimeRolls backStated
Authorizer configurationEnters a runtime versionUpdateAgentRuntimeRolls backStated (Knowledge Center)
Environment variables, execution role, headers, and lifecycle settingsEnters a runtime versionUpdateAgentRuntimeRolls backInference
platformVersionReadable for each runtime versionUpdateAgentRuntimeNot stated whether the target version runs on platform version V1Inference, Not stated
Configuration bundlesBundle version (UUID, parentVersionIds, branch)UpdateConfigurationBundleDoes not roll back (unless the version ID is pinned inside the runtime version)Inference
Gateway built-in connectorsConnector version (MAJOR.MINOR.PATCH)Update target with source.versionDoes not roll backInference
GuardrailsNumbered versions and DRAFTCreateGuardrailVersionDependent on reference locationInference
Prompt managementVersions and draftCreating a prompt versionDependent on reference locationInference
Gateway itself and regular targetsNo versioning described on the pagesUpdate Gateway and targetDoes not roll backNot stated, Inference
Gateway rulesNo versioning described on the pagesCreation and update of rulesDoes not roll backNot stated, Inference
PolicyNo versioning described on the pagesCreation and update of policyDoes not roll backNot stated, Inference
Memory strategies and recordsNo versioning described on the pagesStrategy modification and agent writingDoes not roll backNot stated, Inference
Identity credential providerNo versioning described on the pagesUpdate credential providerDoes not roll backNot stated, Inference

In the table, "Does not roll back" means that rolling back the runtime endpoint does not move the component. Each component can sometimes return to a previous state through its own operations. For example, a bundle version returns when the previous version ID is referenced again (see Section 5.1).

4.3 Pinning References or Reading the Latest Version

For components with their own versions, whether an endpoint rollback brings them back depends on how the agent references them.

  • Pin the reference to a version and place that reference inside the runtime version: For example, hardcoding a guardrail's ID and version number in an environment variable or in the code. When the endpoint rolls back, the reference also reverts to the previous version. Because a numbered version does not change, the guardrail of the previous release returns (Inference).
  • Place a reference that always reads the latest version: For example, using a guardrail's DRAFT version, using a prompt's draft, or reading the latest version from a bundle's branch. Even when the endpoint rolls back, the reference will continue to point to the current latest version (Inference).
  • Pass the reference from an external source with each call: With configuration bundles, either the Gateway or the calling application passes the bundle reference with each request. Because the runtime version doesn't hold a reference, rolling back the endpoint won't change the version of the bundle being passed (see Section 5.3).

The Bedrock user guide states that when deploying guardrails to production, you should create a version and then call that version within your application. The ApplyGuardrail API reference indicates that, in addition to a version number, the guardrailVersion parameter can also accept DRAFT. The documentation on retrieving configuration bundles states that GetConfigurationBundle returns the latest version of a branch, while GetConfigurationBundleVersion returns a specific version based on the provided version ID. Which one the agent uses changes what returns.

4.4 Components with Their Own Versions

Gateway Built-in Connectors: The Connector versions page states that built-in connectors use semantic versioning, and outlines the process for determining versions during target creation and updates, as shown in the table below.

ScenarioPage Description
source.version specified during creationThe target is fixed to that version.
source.version omitted during creationThe target gets the connector's current default version.
source.version specified during an updateThe target transitions to that version.
source.version omitted during an updateThe target remains on its current version (sticky).

Connector versions progress through the stages of Available, Default, Deprecated, and Retired. Retired versions cannot be used for new targets, and existing targets must upgrade. Because connector versions are part of the target configuration, rolling back the runtime endpoint does not change them (Inference). If the version is omitted at creation, the target gets the default version at that time, so the version can change each time the target is recreated. Keep the source.version from the GetGatewayTarget response in the release record (Chapter 7).

Guardrails: Guardrail versions are fixed copies made from the working draft. The Bedrock user guide states the following about guardrail versions:

Guardrail versions aren't separate resources and don't have their own ARN.

Applications call guardrails by specifying both the guardrail ID and version.

Prompt Management: Saving prompts creates drafts, and versions are created when deploying to production. Management of prompt versions and CI/CD pipelines are covered in Prompt Lifecycle Management on AWS.

4.5 Components with No Versioning Described on the Pages

This article searched for descriptions of versions related to the following components. The search included all items in the developer guide's table of contents (646 items), searches of AWS documentation (for Policy, Memory, Identity, and Gateway, each with different terms), and the API references for each component. In the table of contents, the only pages with version in their titles were the pages for Runtime, harness, built-in connectors, and evaluation datasets.

  • Gateway itself and regular targets: The API for updating targets has no version parameter (except source.version for built-in connectors).
  • Gateway rules: The target-based A/B testing page states the following about the rule created when the treatment side wins:

The rule updates the live Gateway immediately.

The same page also indicates that this rule is not part of the project and is not managed by agentcore deploy.

  • Policy: There are operations for creating and updating policies, but no descriptions of versions were found.
  • Memory: The API reference for modifying strategies states the following regarding changing the expiration time of records:

The change applies only to records created after the update.

This change does not apply to records already written. The change takes effect only going forward.

  • Identity credential providers: There is an update operation, but it does not include a version parameter.

This article does not conclude that these components have no versions. What can be said is that the pages read on December 1, 2026 show no versioning for them, and that because they sit outside the runtime version, an endpoint rollback does not move them (Inference). The question of who can modify these is addressed in Who Can Change the Restrictions on an AgentCore Agent.

4.6 When Using AWS AppConfig

The configuration that places model IDs and guardrail IDs in AWS AppConfig is addressed in Dynamic Model Routing and Configuration Management for Generative AI with AWS AppConfig. AppConfig's hosted configuration also maintains its own versions outside of the runtime version. When model IDs and prompts are placed in AppConfig's AI types, how far the typed schema checks those values is covered in AWS AppConfig AI Configuration Profiles - What the Typed Schema Validates and What customParameters Passes Through.

The following diagram shows what an endpoint rollback reaches, by the three locations.

What an Endpoint Rollback Reaches on AgentCore
What an Endpoint Rollback Reaches on AgentCore

5. Configuration Bundles and A/B Testing

This chapter describes configuration bundles, which version settings inside AgentCore, and Gateway A/B tests.

5.1 Bundle Version

The entry page for configuration bundles defines a bundle as follows:

A configuration bundle is a versioned, immutable snapshot of your agent’s dynamic configuration — system prompts, model IDs, tool descriptions, and any other key-value pairs your agent reads at runtime.

A bundle's components are keyed by the ARN (Amazon Resource Name) of the AgentCore resources it configures (for example, the ARN of the runtime), and contain any key-value pairs. Versions do not change, and each update creates a new version with a UUID. Versions form a chain through parentVersionIds, and branches (for example, mainline) separate lines of versions. The example on the update page passes the latest version on the branch as the parent.

The same entry page lists one of the bundle's uses as Rollback.

Rollback. Because versions are immutable, you can roll back to any previous version by referencing its version ID.

A bundle rollback means referencing a previous version ID again. This is a separate operation from reverting the runtime endpoint (Inference).

5.2 Reference Resolution Path at Runtime

The page on using configuration bundles at runtime describes how bundle references are passed:

The gateway and runtime pass the bundle reference through W3C baggage headers

The baggage contains two key-value pairs:

  • aws.agentcore.configbundle_arn: The ARN of the bundle.
  • aws.agentcore.configbundle_version: The bundle version ID.

The agent's code uses the get_config_bundle() function from the AgentCore SDK to read the bundle configuration for the current request. The SDK parses the baggage, resolves the bundle version using the control plane API, and caches the result. This functionality requires version 1.8 or later of bedrock-agentcore-sdk-python.

Regarding cases where the request does not include a bundle reference, the same page states:

If no bundle reference is present in the request (for example, when no A/B test is active and no baggage was passed), it returns an empty dict.

If no A/B test is running and the caller does not pass baggage, the agent will receive an empty configuration. The example code on the page then uses the default values in the code.

5.3 Who Chooses the Bundle Version?

The same page states that during an A/B test, the Gateway assigns each session to a variant and puts that variant's bundle reference into the request as baggage. It mentions that baggage can also be provided manually, citing a test case as an example. It also states that in production, the Gateway handles the baggage during A/B tests, so there's no need to create it manually.

In essence, the runtime version does not decide which bundle version is used. During A/B tests, the Gateway makes the selection; otherwise, the caller does (Inference). Even if the endpoint is reverted to a previous runtime version, the bundle version included in the request remains unchanged. To revert to a previous bundle version, either the A/B test variant settings need to be adjusted, or the application needs to provide a different bundle version ID (Inference).

If the bundle version ID is written to an environment variable associated with the runtime version, and the agent reads this configuration using GetConfigurationBundleVersion, the bundle version also returns together with the runtime version (Inference). This is not the form of the examples on the page. It represents a different approach than the mechanism used by Gateway to include bundle references during A/B tests.

5.4 The Gateway Splits Traffic in A/B Tests

The target-based A/B testing page describes the traffic split as follows:

The AgentCore Gateway registers each endpoint as a separate target and routes each session to one endpoint or the other based on the A/B test’s traffic weights.

Traffic can be split between named endpoints in the same runtime, or between different runtimes. The Gateway splits the traffic, not the runtime endpoints. Session assignments are sticky, meaning requests with the same session ID will always be directed to the same target.

After stopping the A/B test, if the treatment side won, a rule should be created in the Gateway to direct all traffic to that side (see Section 4.5). If the control side won, no changes to the routing are necessary. These rules are immediately effective on the production Gateway and exist outside of the project. When reverting a release that was activated through A/B testing, it's necessary to check both the runtime endpoints and the Gateway rules (Inference).

The release notes mention the general availability of the A/B test feature in the July 2026 entry. The configuration bundles page does not indicate a preview status (as of December 1, 2026). The general availability announcement for configuration bundles is not mentioned in the release notes (Not stated).

5.5 When Deleting a Bundle

The page for deleting configuration bundles states that deleting a bundle will remove all of its versions. The deletion process is asynchronous, and the API immediately returns a DELETING status. A bundle that an active A/B test references cannot be deleted. The quotas page indicates that each account can have up to 1,000 bundles, and each bundle can have up to 10,000 versions, noting that the version limit cannot be increased.

Runtime versions can be deleted one at a time, but a bundle cannot be deleted version by version (Inference; the deletion page describes only deleting the whole bundle).

6. What Does Not Return When an Endpoint Is Rolled Back

This chapter describes elements that do not revert to a previous release even when an endpoint is rolled back to a previous version.

6.1 Reading What Returns

When you roll back an endpoint, the endpoint will indeed point to a previous runtime version. The microVMs page explains that requests to the endpoint are resolved using the version that the endpoint points to.

Whether the agent's behavior rolls back to a previous release is a separate question. Components in the runtime version will roll back (the image and code only when the location pins the content), while components outside the runtime version will remain in their existing states. The following diagram is an example built on the scenarios table on the versioning page (steps 1 through 6). It overlays bundle versions and Policy changes and adds a seventh step that points PROD back to runtime version V2. The seventh step, along with the bundle and policy rows, represents the example added in this article.

Runtime Versions, Endpoints, and Changes Outside the Version
Runtime Versions, Endpoints, and Changes Outside the Version

6.2 Established Sessions

The troubleshooting page for AgentCore Runtime addresses an issue where existing sessions continue to use an older version of the code even after updating the code.

Once a session is established, it continues using that version of the code until the session terminates, even when code assets are updated as part of performing the UpdateAgentRuntime operation.

This passage describes updating code with the UpdateAgentRuntime operation. The same page recommends using a new session ID to utilize the updated code.

For platform version V2, the snapshot lifecycle section on the microVMs page also covers removing an endpoint's reference.

AgentCore Runtime deletes a snapshot when no endpoint points to it. This occurs when you update a runtime, remove an endpoint’s reference to a version, or delete the runtime or a runtime endpoint. Deletion can take up to 8 hours, which is the maximum session lifetime, because sessions that are already running on the snapshot continue until they end.

In platform version V2, even when the endpoint is redirected to a different version, sessions running on a previous version's snapshot will continue to operate until they terminate. This means that even if the production endpoint is rolled back from runtime version V3 to V2, sessions established in runtime version V3 will continue to run in version V3 until they end. The maximum session duration is 8 hours.

For platform version V1, there is no mention of how established sessions are handled when the endpoint is redirected (Not stated). The endpoint update and deletion API reference also does not describe the handling of established sessions (Not stated). Stopping an AI Agent on AWS notes the absence of such information in the API reference.

After a session has stopped, calling it again with the same session ID resumes it in a new execution environment. The "Use isolated sessions for agents" page describes this, but does not specify which version it will run on (Not stated). Scoping Each Session on AgentCore Runtime covers who chooses the session ID.

6.3 Memory Records

Records written to the AgentCore Memory by agents running version V3 of the runtime persist even when the endpoint is rolled back to runtime version V2 (Inference). The Memory is a resource external to the runtime version; the runtime version itself only holds configuration pointing to the Memory (for example, an environment variable ID). Agents running runtime version V2 can read records written by version V3. If version V3 modified the format of the records, check before rolling back whether the code of runtime version V2 can read them (Inference).

Some Memory strategy changes also take effect only going forward (see Section 4.5). If a change you want to undo is in records written after the strategy change, rolling back the endpoint will not revert those changes (Inference).

6.4 Gateway and Policy Changes

Changes to the Gateway target, Gateway rules, and Policy are outside the runtime version. If these were modified as part of a release, they stay in their current state even when the endpoint is rolled back (Inference). To return to the previous release, each one must be updated back to its previous state. This requires records documenting those previous states (see Chapter 7).

6.5 References That Read the Latest Version

Components that read a guardrail's DRAFT, a prompt's draft, or the latest version on a bundle branch keep reading the current latest even if the endpoint is rolled back (see Section 4.3). If these elements were modified after the previous release, the behavior after the rollback will be a combination of the previous release's code and the current configuration (Inference). This combination represents a configuration that has not been tested in either release.

7. Release Records and Metrics to Compare

This chapter describes the items to record so that releases can be rolled back, and the metrics to compare.

7.1 Items to Record

With each release, it's helpful to consolidate the following items into a single record. This will allow you to later trace which version of which component went into each release (Inference; this article built the items and sources from the shape of the APIs).

ItemExample ValueWhere to Read It
Runtime ID and VersionagentRuntimeVersionListAgentRuntimeVersions, GetAgentRuntime
Platform VersionplatformVersionGetAgentRuntime (specifying the version)
Endpoint Name and DestinationliveVersion, targetVersionGetAgentRuntimeEndpoint
Bundle ARN, Version ID, BranchversionId, branch nameGetConfigurationBundleVersion, ListConfigurationBundleVersions
A/B Test Variant and WeightBundle version or target for each variantA/B Test Configuration
Built-in Connector Versionsource.version for each targetGetGatewayTarget
Guardrail ID and VersionNumbered versionApplication Configuration
Prompt ARN and VersionARN of the prompt versionApplication Configuration
Gateway RulesRule ID and contentID returned during rule creation
Policy, Memory Strategy, Credential ProviderDetails of changesThe pages show no versioning, so decide how to record them yourself

ListAgentRuntimeVersions also returns the status and last updated time for each version. This article does not cover which CI/CD tools to use for recording.

7.2 Things to Verify Before Rolling Back

Before reverting an endpoint to a previous version, verifying the following will help you predict its behavior after the reversion (Inference).

  1. Using GetAgentRuntimeEndpoint, retrieve the current liveVersion of the production endpoint.
  2. Using ListAgentRuntimeVersions, confirm that the target version still exists (see Section 3.6).
  3. Read the configuration of the target version using GetAgentRuntime's version parameter and compare it with the records from Section 7.1.
  4. Using the records, verify whether any external components (bundle version, connector version, guardrail and prompt version, Gateway rules, Policy, Memory strategy) were changed after the previous release.
  5. If changes were made, decide whether to revert those components as well, or if it's acceptable to keep them in their current state and combine them with the previous code.
  6. On platform version V2, if no endpoints are currently pointing to the target version, expect that preparing the snapshot can take time (see Section 3.7).
  7. After the reversion, confirm that the liveVersion has been updated to the target version. On platform version V2, established sessions will continue to operate in their previous state until they are terminated (see Section 6.2).

7.3 Five Metrics to Compare

The re:Post article (Domain 2: Operational reliability) recommends collecting the following five baseline metrics for the current model version before deploying a new version.

  • Tokens consumed per request (average of input and output)
  • End-to-end latency (including time to first token in streaming scenarios)
  • Error rate (both on the server and client side)
  • Consistency of output format (whether JSON, tool calls, and action plans can be parsed)
  • Success rate for task completion (percentage of passing evaluations within a suite)

The re:Post article is not an AWS developer guide. This article considers that the same five metrics can also be compared before and after a rollback when deciding whether to roll back a release (Inference). In releases that changed parts outside the runtime version, metrics may not return to their previous levels even after reverting the endpoint, which can indicate that certain components have not been rolled back (Inference). The topics of model canary deployments and evaluation gating are covered in Safe Foundation Model Rollout Strategies on AWS.

8. Frequently Asked Questions about AgentCore Releases

This chapter summarizes the key points of the main text in the form of questions and answers. The basis for each answer can be found in the sections enclosed in parentheses.

Q1. If you revert the production endpoint to a previous version, will that roll back to a previous release?

Only certain components will be rolled back. Elements in the runtime version, such as container images, code, protocols, network settings, and authorizer configurations, will be reverted. However, the image and code are reverted only when the location pins the content. Configuration bundles (in the form of the page examples), connector versions, the Gateway, Policy, and Memory will not be reverted, as they reside outside the runtime version. Whether guardrail and prompt versions are reverted depends on where those references are located. In platform version V2, established sessions will continue to operate in their previous state until they terminate (see Section 2.4 and Chapters 4 and 6).

Q2. Can the DEFAULT endpoint also be rolled back to a previous version?

No description was found on the pages this article read. DEFAULT automatically advances to the latest version every time the runtime is updated. If you update the runtime with a previous version's settings, a new version with the same settings will be created (see Section 3.2).

Q3. Can older versions of the runtime be removed?

Yes. If you pass a version to DeleteAgentRuntime, only that version will be deleted. If you fail to specify a version, the runtime and all of its versions will be deleted. Once a version is deleted, endpoints cannot be rolled back to that version (see Section 3.6).

Q4. When the endpoint is rolled back, do running sessions switch to the previous version at that moment?

In platform version V2, this does not occur. The microVMs page states that sessions running from a previous version's snapshot will continue until those sessions are terminated. The troubleshooting page states the same for code updates. There is no mention of this behavior when switching the endpoint in platform version V1 (see Section 6.2).

Q5. Does the configuration bundle version return together with the runtime version?

Not in the form of the page examples. During A/B tests, the Gateway handles references to the bundle; otherwise, the calling component passes them via baggage for each request. The runtime version does not hold the bundle version. To return the bundle version, reference the previous version ID again. If the version ID is pinned in an environment variable of the runtime version, the bundle version also returns (see Sections 5.1 and 5.3).

Q6. Do Policy or Gateway rule changes return when the endpoint is rolled back?

No. Both are outside the runtime version, and the pages this article read show no versioning for them. It will be necessary to update to the previous state, and to that end, records of the changes are required (see Sections 4.5, 6.4, and 7.1).

Q7. Are V1 and V2 of runtime versions and platform versions the same thing?

They are different. The runtime version refers to a number representing the history of configurations, while the platform version indicates the generation of the underlying system that runs the runtime (see Sections 1.5 and 2.5).

9. Summary

  • Runtime Versions: Created with each update and remain unchanged thereafter, encompassing all necessary configurations for execution. The developer guide describes this mechanism as a means of rollback. There is no list of fields that go into a version, and saying that environment variables and the execution role go into it is an inference from the shape of the APIs.
  • Endpoints: DEFAULT automatically advances to the latest version. Named endpoints do not advance until UpdateAgentRuntimeEndpoint is called. Older versions can be deleted one at a time with the version qualifier of DeleteAgentRuntime, and deleting them removes rollback targets.
  • Components Outside the Runtime Version: Configuration bundles, connectors, Guardrails, and Prompt management each have their own versions. The pages show no versioning for Gateway, Policy, Memory, or Identity. Even if an endpoint is rolled back, these components will not revert. If a reference pinned to a version is placed inside the runtime version, the reference returns.
  • After Rollback: On platform version V2, established sessions continue in the previous state until they end (no description was found for platform version V1). Memory records are preserved. To revert to a previous release, you need a record of which components and versions were used together.

10. References



References:
Tech Blog with curated related content

Written by Hidekazu Konishi