# Overview

SonarQube Server provides a series of tools to help you manage and use AI-generated code in your projects. Existing capabilities include:

* Quality gates and unique project badge support to AI Code Assurance,
* a series of unique project overview and portfolio labels to identify projects containing AI-generated code,
* as well as AI-generated fix suggestions using Sonar’s AI CodeFix service.

## AI Code Assurance <a href="#ai-code-assurance" id="ai-code-assurance"></a>

AI Code Assurance features help you make sure that the AI-generated code in your project is clean. A new recommended quality gate, *Sonar way for AI Code*, is available to use on projects. In addition, it’s possible to qualify any quality gate for [ai-code-assurance](https://docs.sonarsource.com/sonarqube-server/ai-capabilities/ai-code-assurance "mention") and start using it on your projects to ensure security and code quality while boosting team productivity with AI tools.

To learn more about protecting AI-generated code in your project, see the [#label-projects-with-ai-code](https://docs.sonarsource.com/sonarqube-server/quality-standards-administration/ai-code-assurance/overview#label-projects-with-ai-code "mention") article.

### Ratings for AI Code Assurance projects in portfolios <a href="#ai-code-assurance-in-portfolios" id="ai-code-assurance-in-portfolios"></a>

*Portfolios are available starting in* [*Enterprise edition*](https://www.sonarsource.com/plans-and-pricing/enterprise/)*.*

It’s possible to view ratings for projects with AI Code Assurance in your portfolios. There, you will see a breakdown of projects, applications, and nested portfolios that include the standards you’ve set for AI-generated code. See the [#portfolio-breakdown](https://docs.sonarsource.com/sonarqube-server/user-guide/viewing-reports/portfolios#portfolio-breakdown "mention") article for more information.

## AI-generated fix suggestions <a href="#ai-generated-fix-suggestions" id="ai-generated-fix-suggestions"></a>

In SonarQube Server Enterprise and Data Center editions, when an Instance Admin enables AI CodeFix for your project, you can get an AI-generated fix suggestion for eligible issues. The suggestions are generated using <code class="expression">space.vars.SQS\_20261\_Supported\_LLM\_version</code> your own Azure OpenAI LLM.

To enable the feature, see the [#enabling-ai-generated-fix-suggestions](https://docs.sonarsource.com/sonarqube-server/ai-codefix#enabling-ai-generated-fix-suggestions "mention") article in the administration section.

To learn how to use this feature, read the [#getting-ai-generated-fix-suggestions](https://docs.sonarsource.com/sonarqube-server/user-guide/issues/fixing#getting-ai-generated-fix-suggestions "mention") article on the *Fixing issues* page.

AI-generated fix suggestions are available with SonarQube Server, Enterprise and Data Center editions for a select set of rules in Java, JavaScript, TypeScript, Python, C#, and C++. To learn more about which rules are eligible for AI CodeFix, please see the list of [#ai-codefix-rules](https://docs.sonarsource.com/sonarqube-server/quality-standards-administration/managing-rules/rules-for-ai-codefix#ai-codefix-rules "mention").
