> 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/readme.md).

# Home

Documentation for the SonarQube platform, which verifies AI-generated and developer-written code from the agent and IDE to the pull request.

<p align="center"><strong>Ship agentic code with confidence.</strong></p>

<figure><picture><source srcset="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FJTGELopZjaU8Mu2ok8yq%2FSonarQube_Logo_Dark%20Backgrounds.svg?alt=media&amp;token=bc308a6c-2d97-4772-9d44-f2c9cf9be56b" media="(prefers-color-scheme: dark)"><img src="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2F3tPf4BBGEaPcEQ6TsR9s%2FSonarQube_Logo_Light%20Backgrounds.svg?alt=media&amp;token=a1ac7fe3-afea-4825-91f4-90ab46589c5c" alt="The SonarQube logo, displayed at the top of the documentation homepage above links to the SonarQube platform documentation"></picture><figcaption></figcaption></figure>

SonarQube builds code confidence into agentic software factories. It guides agents with clear intent and guiderails, independently verifies every change, fixes findings before code ships, and provides auditable evidence of what was checked and resolved. Learn more in [What is SonarQube?](https://docs.sonarsource.com/get-to-know-sonar/what-is-sonarqube.md) and [SonarQube products](https://docs.sonarsource.com/get-to-know-sonar/sonarqube-products.md).

## Three loops, one standard

SonarQube applies the same standards across three reinforcing loops.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:$primary;"><strong>Agentic loop</strong></mark></td><td>Guide agents with project context and verify their code as they write it.</td><td><a href="https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/agentic-loop.md">What is the agentic loop?</a></td></tr><tr><td><mark style="color:$primary;"><strong>CI verification loop</strong></mark></td><td>Review and verify every pull request against your quality gates before it merges.</td><td><a href="https://docs.sonarsource.com/agent-centric-development-cycle/in-your-pull-requests-the-ci-verification-loop/ci-verification-loop.md">What is the CI verification loop?</a></td></tr><tr><td><mark style="color:$primary;"><strong>Code maintenance loop</strong></mark></td><td>Find logic flaws and fix technical debt and security issues in the background.</td><td><a href="https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/code-maintenance-loop.md">What is the code maintenance loop?</a></td></tr></tbody></table>

## Featured

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:$primary;">Agent Centric Development Cycle (AC/DC)</mark></td><td>How SonarQube guides, verifies, and fixes code across the three loops.</td><td><a href="https://docs.sonarsource.com/agent-centric-development-cycle/">Agent Centric Development Cycle</a></td></tr><tr><td><mark style="color:$primary;">Sonar Vortex</mark></td><td>Give AI coding agents project context, then verify their changes in real time.</td><td><a href="https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/sonar-vortex.md">What is Sonar Vortex?</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Hunter Agent</mark></td><td>Hunt broken access control, business logic flaws, and authentication gaps.</td><td><a href="https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/hunter-agent.md">Hunter Agent</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Remediation Agent</mark></td><td>Fix backlog issues and failed quality gates with verified pull requests.</td><td><a href="https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/remediation-agent.md">Remediation Agent</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Advanced Security</mark></td><td>Extend verification to third-party and open source dependencies.</td><td><a href="https://docs.sonarsource.com/get-to-know-sonar/sonarqube-products.md#sonarqube-advanced-security">SonarQube products</a></td></tr><tr><td><mark style="color:$primary;">Gitar</mark></td><td>AI code verification for pull requests and CI, alongside SonarQube.</td><td><a href="https://docs.gitar.ai">https://docs.gitar.ai</a></td></tr></tbody></table>

## Product documentation

<table data-view="cards" data-full-width="false"><thead><tr><th></th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:$primary;">SonarQube Cloud documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2Fn8CYc2uV2ziBK0QHmNBa%2FSQ_Cloud_Dark%20Backgrounds%402x.png?alt=media&amp;token=7b2f8648-ef01-49e4-bcdc-e6fc55e65433">SQ_Cloud_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FHjOha5lhPqjzMCDn3XA5%2FCloud%402x.png?alt=media&amp;token=e5a53a8f-57ac-4e2d-9d3d-fb56714f4e29">Cloud@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-cloud/">SonarQube Cloud</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Server 2026.5 LTA documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FsNLGfmzmH0WHwgwcxAAt%2FSQ_Server_Dark%20Backgrounds%402x.png?alt=media&amp;token=3aa78103-d9d8-4c39-bdf1-426898f65437">SQ_Server_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FF0xqbqZydzofjIR7TZXg%2FServer%402x.png?alt=media&amp;token=cfec9299-2a09-499f-9531-9c45ebcfe79e">Server@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-server/">2026.5 LTA</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Server 2026.1 LTA documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FsNLGfmzmH0WHwgwcxAAt%2FSQ_Server_Dark%20Backgrounds%402x.png?alt=media&amp;token=3aa78103-d9d8-4c39-bdf1-426898f65437">SQ_Server_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FF0xqbqZydzofjIR7TZXg%2FServer%402x.png?alt=media&amp;token=cfec9299-2a09-499f-9531-9c45ebcfe79e">Server@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-server/2026.1/">2026.1 LTA</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Server 2025.4 LTA documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FsNLGfmzmH0WHwgwcxAAt%2FSQ_Server_Dark%20Backgrounds%402x.png?alt=media&amp;token=3aa78103-d9d8-4c39-bdf1-426898f65437">SQ_Server_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FF0xqbqZydzofjIR7TZXg%2FServer%402x.png?alt=media&amp;token=cfec9299-2a09-499f-9531-9c45ebcfe79e">Server@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-server/2025.4/">2025.4 LTA</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Server 2025.1 LTA documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FsNLGfmzmH0WHwgwcxAAt%2FSQ_Server_Dark%20Backgrounds%402x.png?alt=media&amp;token=3aa78103-d9d8-4c39-bdf1-426898f65437">SQ_Server_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FF0xqbqZydzofjIR7TZXg%2FServer%402x.png?alt=media&amp;token=cfec9299-2a09-499f-9531-9c45ebcfe79e">Server@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-server/2025.1/">2025.1</a></td></tr><tr><td><mark style="color:$primary;">SonarQube Community Build documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2F0wOiQhtNcfUWGNjL8EbT%2FSQ_Community_%20Dark%20Backgrounds%402x.png?alt=media&amp;token=d7b106b9-c6f1-46ee-b31d-3fa0e9851934">SQ_Community_ Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FjsmTsLb35qiesIml3ZRC%2FCommunity%402x.png?alt=media&amp;token=5f2bf948-4dc5-44fd-8364-92347762d46b">Community@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-community-build/">SonarQube Community Build</a></td></tr></tbody></table>

<table data-view="cards" data-full-width="false"><thead><tr><th></th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:$primary;">SonarQube Developer Tools documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FKfTrjpr3yNEST15gz7JA%2FSQ-CLI_Dark%20Backgrounds.svg?alt=media&amp;token=3e98555a-10ca-4f95-8439-53687ba2fbc6">SQ-CLI_Dark Backgrounds.svg</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FWCLQfEFeAdEyssRWlIC3%2FSQ-CLI_Light%20Backgrounds.svg?alt=media&amp;token=38468315-d20d-4ffc-b3ee-97a2d7d62670">SQ-CLI_Light Backgrounds.svg</a></td><td><a href="https://docs.sonarsource.com/sonarqube-development-tools/">SonarQube Development Tools</a></td></tr><tr><td><mark style="color:$primary;">SonarQube CLI documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FKfTrjpr3yNEST15gz7JA%2FSQ-CLI_Dark%20Backgrounds.svg?alt=media&amp;token=3e98555a-10ca-4f95-8439-53687ba2fbc6">SQ-CLI_Dark Backgrounds.svg</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FWCLQfEFeAdEyssRWlIC3%2FSQ-CLI_Light%20Backgrounds.svg?alt=media&amp;token=38468315-d20d-4ffc-b3ee-97a2d7d62670">SQ-CLI_Light Backgrounds.svg</a></td><td><a href="https://docs.sonarsource.com/sonarqube-cli/">SonarQube CLI</a></td></tr><tr><td><mark style="color:$primary;">SonarQube MCP Server documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FKgDlla5kWyfRNFfR2clz%2FSonarQube_MCP_Card%20Logo_Dark-Mode%404x.png?alt=media&amp;token=8751005b-33e1-4690-8638-ebf0eea1831a">SonarQube_MCP_Card Logo_Dark-Mode@4x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FDbArA4phwmUqm5IN8Chd%2FSonarQube_MCP_Card%20Logo%404x.png?alt=media&amp;token=2792bd99-d65d-4a49-bf61-5dfe4b341278">SonarQube_MCP_Card Logo@4x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-mcp-server/">SonarQube MCP Server</a></td></tr><tr><td><mark style="color:$primary;">SonarQube for VS Code documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FDk1k9VuiWUcXP5AXLu0V%2FSQ_IDE_Dark%20Backgrounds%402x.png?alt=media&amp;token=0955d6a6-0704-4dad-baaf-3b7863fb3767">SQ_IDE_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FZwWJtMXnUBINU7Tu0gO5%2FIDE%402x.png?alt=media&amp;token=ab16e82d-b09d-4ad1-a96a-83876d9462a5">IDE@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-for-vs-code/">VS Code</a></td></tr><tr><td><mark style="color:$primary;">SonarQube for IntelliJ documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FDk1k9VuiWUcXP5AXLu0V%2FSQ_IDE_Dark%20Backgrounds%402x.png?alt=media&amp;token=0955d6a6-0704-4dad-baaf-3b7863fb3767">SQ_IDE_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FZwWJtMXnUBINU7Tu0gO5%2FIDE%402x.png?alt=media&amp;token=ab16e82d-b09d-4ad1-a96a-83876d9462a5">IDE@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-for-intellij/">IntelliJ</a></td></tr><tr><td><mark style="color:$primary;">SonarQube for Visual Studio documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FDk1k9VuiWUcXP5AXLu0V%2FSQ_IDE_Dark%20Backgrounds%402x.png?alt=media&amp;token=0955d6a6-0704-4dad-baaf-3b7863fb3767">SQ_IDE_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FZwWJtMXnUBINU7Tu0gO5%2FIDE%402x.png?alt=media&amp;token=ab16e82d-b09d-4ad1-a96a-83876d9462a5">IDE@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-for-visual-studio/">Visual Studio</a></td></tr><tr><td><mark style="color:$primary;">SonarQube for Eclipse documentation</mark></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FDk1k9VuiWUcXP5AXLu0V%2FSQ_IDE_Dark%20Backgrounds%402x.png?alt=media&amp;token=0955d6a6-0704-4dad-baaf-3b7863fb3767">SQ_IDE_Dark Backgrounds@2x.png</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FZwWJtMXnUBINU7Tu0gO5%2FIDE%402x.png?alt=media&amp;token=ab16e82d-b09d-4ad1-a96a-83876d9462a5">IDE@2x.png</a></td><td><a href="https://docs.sonarsource.com/sonarqube-for-eclipse/">Eclipse</a></td></tr></tbody></table>

<table data-full-width="false"><thead><tr><th>Log in or download SonarQube</th><th data-hidden data-type="files"></th><th data-hidden data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="https://sonarcloud.io/login">Log in to SonarQube Cloud</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FCs4ic8eRH02URFYeO1O3%2Flog%20in.png?alt=media&amp;token=4142d29e-aa61-4631-86ea-888da6cd5196">log in.png</a></td><td><a href="https://sonarcloud.io/login">https://sonarcloud.io/login</a></td></tr><tr><td><a href="https://www.sonarsource.com/products/sonarqube/downloads/">Download SonarQube Server</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2FnekhD7omvWXjgZvRFHPa%2FDownload.png?alt=media&amp;token=878da2d9-bbaa-49cc-b7f0-b944577c72d9">Download.png</a></td><td><a href="https://www.sonarsource.com/products/sonarqube/downloads/">https://www.sonarsource.com/products/sonarqube/downloads/</a></td></tr><tr><td><a href="https://www.sonarsource.com/products/sonarqube/ide/ide-login/">Install SonarQube for IDE</a></td><td><a href="https://5937594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0r7HB8CBjZFnmsuMXkDc%2Fuploads%2F7k183GljJQjEFrTJX4A0%2FInstall.png?alt=media&amp;token=e280817d-c6fb-4862-95f7-bfee3db3db29">Install.png</a></td><td><a href="https://www.sonarsource.com/products/sonarqube/ide/ide-login/">https://www.sonarsource.com/products/sonarqube/ide/ide-login/</a></td></tr></tbody></table>


---

# 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/readme.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.
