Start Free
Latest | Instance administration | AI features | Overview

Overview of AI features for instance administration

On this page

SonarQube Server offers several instance-level AI features designed to enhance code quality and security. 

Autodetect AI-generated code

SonarQube Server includes a feature that automatically identifies AI-generated code from your DevOps platform. This functionality, active by default, notifies instance administrators about projects with recent AI activity, allowing for the implementation of Sonar's AI Code Assurance. To enable this, SonarQube Server needs specific permissions to access information on your DevOps platform to compare AI usage statistics. 

See this page for details about Setting up AI Code Autodetection in your instance.

Permissions for AI autodetection

To detect AI-generated code, SonarQube Server needs access to the DevOps AI provider. The AI Code Autodetection feature must be enabled by an instance administrator in SonarQube Server, and the DevOps administrator must grant the necessary permissions on the DevOps platform. This setup allows SonarQube Server to analyze AI-assisted usage and identify potential AI contributions, showing the detection status on project overview pages.

See this page for details about Setting permissions for AI Autodetection by your instance.

AI-generated fix suggestions

Sonar's AI CodeFix employs large language models to propose automatic code fixes. Instance administrators have the option to activate this feature and select one of the available LLMs. Once enabled, developers can view AI-generated fix suggestions for compatible languages through the SonarQube Server interface or directly in their IDEs when in connected mode. The goal of AI CodeFix is to simplify issue resolution and enhance code quality by leveraging AI-powered assistance.

See this page for details about Enabling AI CodeFix on your instance.


Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License