> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop.md).

# Inside your agent: The agentic loop

- [What is the agentic loop?](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/agentic-loop.md): The agentic loop covers everything that happens inside your agent as it works, and how SonarQube helps guide and verify that work.
- [What is Sonar Vortex?](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/sonar-vortex.md): This section explains how Sonar Vortex enhances the efficiency of agents.
- [Sonar Vortex context](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/sonar-vortex-context.md): Sonar Vortex injects repository-aware context into your AI agent, guiding code changes with architectural awareness and project-specific guidelines.
- [Sonar Vortex analysis](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/sonar-vortex-analysis.md): Sonar Vortex lets AI agents verify code changes with the precision of a full CI scan, in seconds instead of minutes.
- [Installing Vortex](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides.md): How to install Sonar Vortex for your agent using the SonarQube plugin, the SonarQube CLI, or the SonarQube MCP Server.
- [Prerequisites](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/vortex-prerequisites.md): The SonarQube Cloud prerequisites to meet before you install and use Sonar Vortex.
- [Vortex for Claude Code](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/install-vortex-claude-code.md): How to install Vortex for Claude Code using the SonarQube plugin or the SonarQube CLI.
- [Vortex for Codex](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/install-vortex-codex.md): How to install Vortex for Codex using the SonarQube plugin or the SonarQube CLI.
- [Vortex for Cursor](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/install-vortex-cursor.md): How to install Vortex for Cursor using the SonarQube plugin or the SonarQube CLI.
- [Vortex for GitHub Copilot CLI](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/install-vortex-copilot.md): How to install Vortex for GitHub Copilot CLI using the SonarQube plugin or the SonarQube CLI.
- [Vortex for Antigravity](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/install-vortex-antigravity.md): How to install Vortex for Antigravity using the SonarQube plugin or the SonarQube CLI.
- [Vortex for Kiro](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/install-vortex-kiro.md): How to install Vortex for Kiro using the SonarQube Power and the SonarQube MCP Server.
- [Vortex with the MCP server](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/install-vortex-with-mcp.md): How to install Vortex by configuring the SonarQube MCP server into any agent
- [Checking your setup](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/how-to-guides/check-vortex-setup.md): How to check that Sonar Vortex is installed correctly and can reach SonarQube Cloud for your project.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
