> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-server/server-update-and-maintenance/update/updating-agentic-components.md).

# Updating the agentic components

Update the Agent Orchestrator, the agent runtimes, and Vortex analysis in SonarQube Server 2026.5, on Kubernetes or Docker Compose, and roll back an update.

The agentic components run as their own containers, so updating SonarQube Server does not update them, and updating them does not update SonarQube Server. Each component carries its own patch number and can be patched independently, except Vortex analysis. See [Release cycle model](https://docs.sonarsource.com/sonarqube-server/server-update-and-maintenance/update/release-cycle-model.md#agentic-features).

| Update                            | Components to update                                                                                                                                                                                                                                                                                                                                                              |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A SonarQube Server update         | Vortex analysis, together with SonarQube Server, so its analyzers stay aligned with the instance, see [Installation overview](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/installation-overview.md#analyzer-versions). When you move to a new SonarQube Server version, also update the Agent Orchestrator and the agent runtimes to that version |
| A patch of the agentic components | The Agent Orchestrator, the Hunter Agent runtime, and the Remediation Agent runtime, without updating SonarQube Server                                                                                                                                                                                                                                                            |

## Before you update <a href="#before-you-update" id="before-you-update"></a>

Back up the shared signing secret, along with your database, see [Backup and restore](https://docs.sonarsource.com/sonarqube-server/server-update-and-maintenance/maintenance/backup-and-restore.md#agentic-features).

Plan the update for a time when few agent jobs run. Updating an agent runtime does not interrupt a running job. The runtime stops accepting new jobs and waits for its running job to finish and upload its results, see [Deploying with a Kubernetes or OpenShift installation](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/deploying-with-kubernetes-or-openshift-installation.md#stop-grace). A Hunter Agent job can run for up to about 12 hours, so the update of its runtime can take that long. On Docker Compose, `docker compose up -d` recreates all changed services together, and the new Agent Orchestrator container does not start until the slowest runtime has finished its job. To keep the Orchestrator running, update one service at a time with `docker compose up -d --no-deps <service>`.

To see which jobs are running, check the agentic tasks, see [Verifying the deployment](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/verifying-the-deployment.md#track-jobs).

## Image tags <a href="#image-tags" id="image-tags"></a>

Each component has its own image and tag:

| Component                 | Image                                      | Helm chart value              |
| ------------------------- | ------------------------------------------ | ----------------------------- |
| Agent Orchestrator        | `sonarsource/sonarqube-agent-orchestrator` | `agentOrchestrator.image.tag` |
| Hunter Agent runtime      | `sonarsource/sonarqube-hunter-agent`       | `hunterAgent.image.tag`       |
| Remediation Agent runtime | `sonarsource/sonarqube-remediation-agent`  | `remediationAgent.image.tag`  |
| Vortex analysis           | `sonarsource/sonar-vortex`                 | `vortexAnalysis.image.tag`    |

## Updating on Kubernetes <a href="#kubernetes" id="kubernetes"></a>

Follow the Helm chart update procedure, see [Performing the update](https://docs.sonarsource.com/sonarqube-server/server-update-and-maintenance/update/update.md#helm-chart-instance), with these additions:

1. In your `values.yaml`, set the new tag on each component you update. If your `values.yaml` sets a tag explicitly, a new chart version does not change it, so update it yourself.
2. Keep the shared signing secret in place. The chart derives the per-component keys from it again on each `helm upgrade`.
3. Run `helm upgrade`:

   ```bash
   helm upgrade --install -f values.yaml -n <yourNamespace> <yourReleaseName> <pathToSonarqubeHelmChart>
   ```

Every component uses a rolling update. When you also update SonarQube Server, the Agent Orchestrator waits for SonarQube Server to be migrated before it starts.

## Updating with Docker Compose <a href="#docker-compose" id="docker-compose"></a>

1. Set the new tags in your Compose file. If you generated the bundle with the Docker Compose bundle generator, generate it again. Pass `--image-tag` only for a tag that exists for all four agentic images, because it sets the same tag on each of them. Without it, the generator uses a default tag per image. Generate it into the same output directory: the generator then keeps the signing secret from the existing `.env`, so the derived keys stay valid. A different directory starts with a new secret. Keep the same `--project-name`, so Docker Compose reuses the existing data volumes, and leave out `--rotate-secrets`, which replaces the signing secret. See [Deploying with a Docker installation](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/deploying-with-docker-installation.md#generate).
2. Check that each component sets `stop_grace_period`, so a stop does not kill a running job, see [Deploying with a Docker installation](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/deploying-with-docker-installation.md#stop-grace).
3. If you also update SonarQube Server, update and migrate it first. When the bundle runs SonarQube Server, the Agent Orchestrator waits until it is migrated. For a SonarQube Server that the bundle runs, see [Deploying with a Docker installation](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/deploying-with-docker-installation.md#starting). For a ZIP installation, see [Performing the update](https://docs.sonarsource.com/sonarqube-server/server-update-and-maintenance/update/update.md#zip-instance).
4. Apply the change one service at a time, so the Agent Orchestrator keeps running while a runtime finishes its job. Each command returns when that service has restarted:

   ```bash
   docker compose up -d --no-deps <service>
   docker compose ps
   ```

   Repeat the first command for each changed service.

## Rolling back <a href="#rolling-back" id="rolling-back"></a>

To roll back a component, set its previous image tag and apply the change again, with `helm upgrade` on Kubernetes or `docker compose up -d --no-deps <service>` on Docker Compose, one service at a time.

SonarQube Server owns the database schema, and no migration was added between SonarQube Server 2026.5.0 and 2026.5.4, so rolling back the Agent Orchestrator within 2026.5 changes no tables.

{% hint style="warning" %}
Agent Orchestrator image `2026.5.0` supports PostgreSQL only. If your database is Microsoft SQL Server or Oracle, you cannot roll the Orchestrator back to `2026.5.0`.
{% endhint %}

## After you update <a href="#after-you-update" id="after-you-update"></a>

Confirm that every component reports healthy, see [Verifying the deployment](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/verifying-the-deployment.md). Run again any job that failed during the update.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Release cycle model](https://docs.sonarsource.com/sonarqube-server/server-update-and-maintenance/update/release-cycle-model.md)
* [Performing the update](https://docs.sonarsource.com/sonarqube-server/server-update-and-maintenance/update/update.md)
* [Deploying with a Kubernetes or OpenShift installation](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/deploying-with-kubernetes-or-openshift-installation.md)
* [Deploying with a Docker installation](https://docs.sonarsource.com/sonarqube-server/server-installation/ai-agents/deploying-with-docker-installation.md)


---

# 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.sonarsource.com/sonarqube-server/server-update-and-maintenance/update/updating-agentic-components.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.
