> 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/get-to-know-sonar/what-is-sonarqube.md).

# What is SonarQube?

SonarQube provides zero-trust, multilayered verification for all code, helping prevent outages, reduce risk, lower technical debt, and ensure compliance.

SonarQube, Sonar's core platform, 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. The result is a development process that makes agentic speed sustainable, with fewer avoidable issues, less rework, and evidence your teams can use to stand behind what ships.

SonarQube verifies all code, AI-generated and developer-written, to the same standard across 45+ languages. It reviews your source code to uncover bugs, security vulnerabilities, maintainability issues, and architecture issues before code is merged or released. Trusted by more than 7 million developers, SonarQube analyzes over 750 billion lines of code every day.

## Three reinforcing loops

SonarQube applies this approach across three loops:

* **The agentic loop:** agents build code iteratively, guided and verified as they write.
* **The CI verification loop:** pull requests are reviewed and evaluated before merge.
* **The code maintenance loop:** technical debt and security issues are addressed continuously in the background.

For details, see the [Agent Centric Development Cycle](https://docs.sonarsource.com/agent-centric-development-cycle/) documentation.

## Delivery options

Choose the delivery method that fits your team:

* [SonarQube Cloud](https://docs.sonarsource.com/sonarqube-cloud/): a fully managed, elastic SaaS code analysis solution that scales with your needs to deliver real-time code quality and security verification within your cloud-native workflow.
* [SonarQube Server](https://docs.sonarsource.com/sonarqube-server/): a self-managed code analysis platform that gives you full control over your development environment while delivering deep security and quality insights across your enterprise.

## Where SonarQube works

SonarQube integrates with agentic coding tools, CI/CD pipelines, DevOps platforms, CLIs, and IDEs, so it operates within your team's normal workflows:

* [SonarQube for IDE](https://docs.sonarsource.com/sonarqube-for-vs-code/): a free developer extension that brings real-time analysis, quick-fix guidance, and security issue detection into your coding editor.
* [SonarQube CLI](https://docs.sonarsource.com/sonarqube-cli/): brings code verification to the terminal and AI coding tools like Claude Code, with secrets scanning, on-demand analysis, and issue management from the command line.
* [SonarQube plugins for agents](https://docs.sonarsource.com/agent-centric-development-cycle/developer-tools/agent-plugins.md): enforce code quality and security standards inside the agent coding loop, connecting agents to the SonarQube CLI and SonarQube MCP Server.
* [SonarQube MCP Server](https://docs.sonarsource.com/sonarqube-mcp-server/): gives AI coding agents direct access to SonarQube code quality and security data through the Model Context Protocol (MCP).

## Key capabilities

* Deterministic verification
* AI code verification and assurance
* Code quality analysis
* Code security analysis, including secrets detection, IaC scanning, Static Application Security Testing (SAST), taint analysis, and Mobile Application Security Testing (MAST)
* Architecture management
* Remediation
* AI coding integration
* CI/CD integration
* Project and portfolio management
* Governance and compliance
* Reporting, dashboards, and analytics

To see what each product adds, go to [SonarQube products](https://docs.sonarsource.com/get-to-know-sonar/sonarqube-products.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/get-to-know-sonar/what-is-sonarqube.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.
