# AI features

SonarQube Server can create AI-generated fix suggestions for the issues detected in your projects and guarantee the quality of the AI-generated code.

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

AI CodeFix is available in SonarQube Server, [Enterprise and Data Center editions](https://www.sonarsource.com/plans-and-pricing/sonarqube/) and uses <code class="expression">space.vars.SQS\_108\_Supported\_LLM\_version</code> to suggest fixes for your issues detected in your projects. To enable the feature, see [Managing AI features](/sonarqube-server/10.8/instance-administration/system-functions/managing-ai-features.md#enabling-ai-generated-fix-suggestions) in the administration section.

To learn how to use this feature, see [Fixing issues](/sonarqube-server/10.8/user-guide/issues/fixing.md#getting-ai-generated-fix-suggestions) on the *Fixing issues* page.

## 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 standards](/sonarqube-server/10.8/instance-administration/analysis-functions/ai-standards.md) and start using it on your projects. 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 [AI standards](/sonarqube-server/10.8/instance-administration/analysis-functions/ai-standards.md#enabling-ai-code-assurance) article on the *Standards for AI-generated code* page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/10.8/user-guide/ai-features.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
