# Managing AI features

## Enabling AI-generated fix suggestions <a href="#enabling-ai-generated-fix-suggestions" id="enabling-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. As an instance administrator, you can enable or disable AI-generated fix suggestions on your projects.

To enable AI-CodeFix, go to **Administration** > **Configuration** > **General Settings** > **AI CodeFix** > **Enable AI-generated fix suggestions** and select **Enable AI CodeFix**. Once AI CodeFix is enabled, select either **All projects** or choose projects individually from the list to activate the feature.

Note that if you choose **Enable AI CodeFix on selected projects only**, new projects will not be automatically enabled.

{% hint style="info" %}
You’ll need a connection to the internet to access SonarQube Server’s AI CodeFix service.

The service is provided via api.sonarqube.io and has these static IP addresses:

* 99.83.135.55 (CIDR: 99.83.135.55/32)
* 15.197.164.24 (CIDR: 15.197.164.24/32)
  {% endhint %}

Once enabled, developers can get AI-generated fix suggestions from the **Issues** page in their projects. See [Fixing issues](/sonarqube-server/10.8/user-guide/issues/fixing.md) for more details.

### Disabling AI CodeFix <a href="#disabling-ai-codefix" id="disabling-ai-codefix"></a>

To disable AI CodeFix completely in SonarQube Server and hide the feature from all users, including Instance Admins, set `sonar.ai.codefix.hidden=true` in your sonar.properties file.

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

Sonar recognizes that AI-generated code should be monitored with additional quality standards and offers administrators a series of tools described on the [AI standards](/sonarqube-server/10.8/instance-administration/analysis-functions/ai-standards.md) page.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [AI features](/sonarqube-server/10.8/user-guide/ai-features.md)
* see [Fixing issues](/sonarqube-server/10.8/user-guide/issues/fixing.md#getting-ai-generated-fix-suggestions)
* see [AI standards](/sonarqube-server/10.8/instance-administration/analysis-functions/ai-standards.md#enabling-ai-code-assurance)


---

# 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/instance-administration/system-functions/managing-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.
