Overview

Your entry page to learning more about the AI features available in SonarQube Cloud.

SonarQube Cloud’s Team and Enterprise plans offer a series of AI-related features to help integrate generative AI solutions into your code base. This page is intended as an overview to summarize what’s available and points to the instructions needed to manage and use each feature.

SonarQube Remediation Agent

The SonarQube Remediation Agent can generate fix suggestions for certain types of issues found during a pull request analysis of your GitHub repository. AI-generated fix suggestions offered by the agent that are reviewed and accepted by users, can be included as new commits to the pull request before merging.

See the AI agents page for more information, and the SonarQube Remediation Agent page for the full list of requirements and instructions to install and enable the agent. If your agent is already enabled and you're ready to engage, check out the Agents in your GitHub pull request page to understand how the agent's behavior.

AI Code Assurance

A series of tools are available to mark and protect your projects containing AI code. These tools include marking projects as containing AI code, AI code-assured quality gates, and AI code-assured badges to display on your public websites.

For more information about these tools, see the introduction pages for AI Code Assurance and Autodetect AI-generated code.

Autodetect AI-generated code

Knowing if your project contains AI-generated code helps raise awareness of code ownership and code security. To help build this awareness, SonarQube Server can autodetect AI-generated code in projects on GitHub using GitHub Copilot. For the full details, see the Autodetect AI code page.

If turned on, the feature alerts Instance Admins when project contributors recently used GitHub Copilot so that such projects can be protected with AI Code Assurance.

AI-generated fix suggestions

AI CodeFix is available only for Team and Enterprise plans.

SonarQube Cloud’s AI CodeFix uses Anthropic's Claude Sonnet 4 (recommended) or OpenAI's GPT-4o to suggest AI-generated fix suggestions for a select set of issues detected in your projects.

An Organization Admin must enable AI CodeFix on the organization to make it available to developers. For more information, see AI CodeFix.

To learn how to get AI-generated code fixes, check out the dedicated section for developers on the Getting AI-generated fix suggestions page.

Last updated

Was this helpful?