> 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/user-guide/issues/with-ai-features.md).

# With AI features

Use the Hunter Agent, the Remediation Agent, and AI CodeFix to find and fix issues in SonarQube Server 2026.5.

SonarQube Server includes AI features that help you work through your issues: the SonarQube Hunter Agent, which finds vulnerabilities that require human-like understanding of the code; the SonarQube Remediation Agent, which proposes fixes as pull requests; and AI CodeFix, which generates a fix for a single issue on demand. All three are part of Sonar's [Agent Centric Development Cycle](https://docs.sonarsource.com/agent-centric-development-cycle/).

## Hunter Agent

The SonarQube Hunter Agent runs a deep AI-powered analysis of your projects to find vulnerabilities that require human-like understanding of the code, such as broken access control and business-logic flaws, then raises them as issues you triage like any other.

The Hunter Agent is available in the Enterprise and Data Center editions and requires a separate subscription. An Instance Admin sets it up before you can use it. See [Hunter Agent](/sonarqube-server/instance-administration/ai-features/hunter-agent.md).

To learn how the agent works, see [Hunter Agent](/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/hunter-agent.md).

{% content-ref url="/pages/Yl51VorvxZyUGwvcEJFh" %}
[Hunter Agent findings](/sonarqube-server/user-guide/issues/with-ai-features/hunter-agent-findings.md)
{% endcontent-ref %}

## Remediation Agent

The SonarQube Remediation Agent generates fixes for static analysis issues on your main branch, either on a schedule or for issues you assign to it. You can also request fixes for issues in a pull request when its quality gate fails.

You can also ask it to fix Hunter Agent findings on the main branch or other project branches.

The Remediation Agent generates the changes in the background and opens pull requests in your repository for you to review and approve.

The Remediation Agent is available in the Enterprise and Data Center editions and requires a separate subscription. An Instance Admin sets it up before you can use it. See [Remediation Agent](/sonarqube-server/instance-administration/ai-features/remediation-agent.md).

To learn how the agent generates and verifies fix suggestions, see [Remediation Agent](/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/remediation-agent.md).

{% content-ref url="/pages/1KERwLRR8BkjZPSWYaj3" %}
[Backlog fix suggestions](/sonarqube-server/user-guide/issues/with-ai-features/backlog-fix-suggestions.md)
{% endcontent-ref %}

{% content-ref url="/pages/I3GDqPjnSitzqrFTuWmZ" %}
[Pull request fix suggestions](/sonarqube-server/user-guide/issues/with-ai-features/pull-request-fix-suggestions.md)
{% endcontent-ref %}

## AI CodeFix

AI CodeFix generates a fix suggestion for an individual issue, which you review in SonarQube Server or open in your IDE. See [Fixing issues](/sonarqube-server/user-guide/issues/fixing.md#getting-ai-generated-fix-suggestions) to use it, and [AI CodeFix](/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/ai-codefix.md) to learn how it works.


---

# 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/user-guide/issues/with-ai-features.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.
