Upgrade an Agent Gateway to the latest release

Check which release your Agent Gateway runs, read what changed, back it up, and start the upgrade from Affinidi Portal.

This guide moves an Agent Gateway appliance to the latest release that Affinidi Portal offers, then checks the gateway once the new release is running. For how the appliance and its dashboard fit together, see the Agent Gateway overview.

Affinidi Portal shows when a newer release is available, but it leaves the timing to you: an appliance stays on its current release until someone in your project starts the update. Some releases also change how stored settings behave. The release notes describe each change, usually under Breaking, so you can review the affected settings after the upgrade.

Use this guide when:

  • The Version field in Affinidi Portal shows a newer release next to the one your gateway runs.
  • You need a fix or feature from a newer release.

Prerequisites

  • Access to the Affinidi Portal project that holds the Agent Gateway appliance.
  • An account on the gateway’s dashboard, to check the release and review flagged settings afterwards. Backing up the gateway first needs the Administrator role.
  • A time when the gateway can be unavailable for about as long as deploying a new appliance takes, typically a few minutes.

What an upgrade changes

AreaWhat happensWhat you do
Target releasePortal offers one target, the latest release available for your appliance, and shows it next to the current version. The update moves the appliance to that release.Check the target in the Version field before you start.
Your dataThe gateway keeps its surfaces, identities, secrets, user accounts, and other configuration. A release that needs a fresh start makes Portal warn you with Upgrade requires a fresh configuration before anything changes, because configuration from earlier releases is not carried over to it.When Portal shows that warning, plan to recreate your configuration after the upgrade.
Stored settingsA release can change how a setting behaves, or convert stored settings when it first starts, for example by copying a Trust Check onto each Transit Point and flagging the copies for review.Review the settings listed for each release in Changes to check after upgrading.
Connected mediatorWhen the release needs a newer mediator, Portal warns you with Compatibility requirement before the update starts.Update the mediator your gateway connects to.
Resource limitsThe gateway reads the limits configured for your appliance when the new release starts. The upgrade keeps every surface, secret, and other record, even where their number is at or above a limit. A limit is checked only when you create a record, so it blocks new records of that kind until usage drops below it.Check your usage against each limit on Settings › Limits.
Going backRolling back to an earlier release is done by Affinidi support, from your backup.Take a backup before every upgrade. See Rolling back to an earlier release.

Steps

Check the release your gateway runs

Find the current release in either place:

  • Agent Gateway dashboard: the page footer ends with the release, for example · v1.0.3.
  • Affinidi Portal: the Version field of the configuration, shown on its card in the Configurations list and under Configuration details.

When a newer release is available, the Version field shows the current release with a warning icon, an arrow, and the target release, for example v1.0.2 ⇒ v1.0.3. Select the information icon next to either release to open its Version changelog.

Read the release notes

Open the Agent Gateway releases page on GitHub and read every release between your current release and the target, not only the target. Changes to stored settings are usually under Breaking, but can also appear under Security or Fixed.

Then open Changes to check after upgrading and note the checks listed for each of those releases. These are the settings to review once the gateway runs the new release.

Back up the gateway

Download a backup from the dashboard so you hold a copy of the gateway’s data from before the upgrade. Follow Back up and restore an Agent Gateway.

Start the update in Affinidi Portal

  1. Sign in to Affinidi Portal and, in the left sidebar, select Agent Gateway under the Affinidi Trust Fabric section.
  2. In the Configurations list, select the name of the appliance to open it.
  3. Under Configuration details, below Version, select Update to followed by the target release, for example Update to v1.0.3.
Configuration details of an Agent Gateway in Affinidi Portal, with the Version field showing v1.0.2 with a warning icon, an arrow to v1.0.3, and the Update to v1.0.3 button below it

If Portal shows a warning, read it before you continue:

  • Upgrade requires a fresh configuration: configuration from your current release is not carried over, and you recreate it after the upgrade.
  • Compatibility requirement: the release needs a newer mediator than the one your gateway may be connected to, and that mediator needs an update for the gateway to keep working.

When both apply, Portal shows them in one Compatibility requirement dialog. When neither applies, the update starts as soon as you select Update to.

In the dialog, select Update to followed by the release to go ahead, or Cancel to leave the appliance on its current release.

Portal confirms that the Agent Gateway update has been triggered and returns you to the Configurations list.

Wait for the update to finish

The update takes about as long as deploying a new appliance. Deployment state shows Pending, then In Progress, and Agent Gateway Dashboard shows Pending. Edit and Delete stay unavailable until the update finishes.

When Deployment state shows Complete, check that Version shows the target release with no arrow. A rolled-back update also ends in Complete.

Review the settings the release flagged

Sign in to the dashboard and work through the checks you noted in Changes to check after upgrading, one release at a time, from the oldest to the newest.

Rolling back to an earlier release

Take a backup before every upgrade, as in Step 3. To go back to an earlier release, contact Affinidi support with your backup. An earlier release doesn’t load some surfaces stored after the upgrade, so read Before rolling back to an earlier release first.

Confirm

Test 1: opening the configuration in Portal returns the new release with no update offered

In Affinidi Portal, open the configuration.

Expected: Deployment state is Complete, Version shows the target release with no arrow, and the Update to button is gone.

Open the Agent Gateway Dashboard address from Portal and sign in.

Expected: the page footer ends with the target release, for example · v1.0.3, and the Surfaces page lists your surfaces.

Test 3: request through a surface returns the expected response

Send the same request you use to check a surface after a change, for example the test request from the Route MCP clients to your MCP server or the Route a Vertex AI agent through an A2A surface.

Expected: the same status code and response as before the upgrade, unless a change you noted affects it.

Troubleshooting

SymptomLikely causeFix
No Update to button under Version.The appliance already runs the latest release, or an update is still running.Check that Version shows no arrow and Deployment state is Complete. If an update is running, wait for it to finish.
Edit and Delete are unavailable, with the reason “One of the instances has an active request”.An update or other request on one of your Agent Gateway appliances is still running.Wait until Deployment state shows Complete.
Portal shows “There is an issue with update. Please try again or get support.”Portal could not start the update.Select Update to again. If the message repeats, contact Affinidi support.
Portal shows “Updating to the new version failed, but the current version is still running successfully.”The update did not complete and the appliance returned to its previous release.The appliance runs its previous release. If the new release had already converted stored settings, restore the backup you took before the upgrade. Try the update again later, or contact Affinidi support.
Deployment state shows Failed.The appliance could not be deployed.Portal suggests deleting the configuration and creating a new one. Contact Affinidi support first, and keep your latest backup: a backup restores only onto a gateway with the same domain and backup encryption key.
A create button shows Limit reached after the upgrade.Usage of that resource is at or above its limit. Existing records keep working.Check the row on Settings › Limits. Delete records you no longer need, or upgrade your appliance tier for a higher limit. See Limits tab.
A surface, Transit Point, or automation behaves differently after the upgrade.The new release changed how a stored setting behaves.Find the symptom in Symptoms after an upgrade.

Next steps