# AI features

SonarQube Cloud provides a series of tools to help you identify, manage, and use AI-generated code in your projects.

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

Setting up AI Code Assurance is a three-step process to manage and apply specific labels and quality gates to your projects that contain AI code. The [Set up AI Code Assurance](/sonarqube-cloud/managing-your-projects/administering-your-projects/ai-features/set-up-ai-code-assurance.md) page has more information about this process.

{% content-ref url="/pages/Y9dxRru0qEepTGmyOzNx" %}
[Set up AI Code Assurance](/sonarqube-cloud/managing-your-projects/administering-your-projects/ai-features/set-up-ai-code-assurance.md)
{% endcontent-ref %}

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

AI CodeFix allows your developers to get AI-generated fix suggestions from SonarQube Cloud and apply the fixes on their next pull request. AI CodeFix must be activated by an Organization Admin and can be applied to selected projects as needed.

See the [AI CodeFix](/sonarqube-cloud/managing-your-projects/administering-your-projects/ai-features/enable-ai-codefix.md) page for more details, including information about [Fixing issues](/sonarqube-cloud/managing-your-projects/issues/fixing.md#opening-issues-in-your-ide).

{% content-ref url="/pages/J9Hb3Tedr5OlTA919TzT" %}
[AI CodeFix](/sonarqube-cloud/managing-your-projects/administering-your-projects/ai-features/enable-ai-codefix.md)
{% endcontent-ref %}

## Remediation Agent <a href="#remediation-agent" id="remediation-agent"></a>

The SonarQube Remediation Agent proposes fixes for issues in your main branch. An organization admin must first enable and install the agent; see the [Broken mention](broken://pages/wQblm1jiKilCbi8vMpZP) page for setup instructions.

Once the agent is enabled, project admins can override or disable the **Automated scheduler** for individual projects from *Your Organization* > *Your Project* > **AI capabilities**. Project-level settings take precedence over the organization defaults. See the [Agent backlog fixes](/sonarqube-cloud/managing-your-projects/issues/with-ai-features/agent-backlog-fixes.md#automated-backlog-remediation) section for full details.

{% content-ref url="/pages/o6EobeDToEmjQIhmGNtC" %}
[Agent backlog fixes](/sonarqube-cloud/managing-your-projects/issues/with-ai-features/agent-backlog-fixes.md)
{% endcontent-ref %}


---

# 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-cloud/managing-your-projects/administering-your-projects/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.
