> 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): How Sonar Vortex enhances the efficiency of agents working with SonarQube Cloud and SonarQube Server.
- [Sonar Vortex context](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/sonar-vortex-context.md): Sonar Vortex context gives your AI agent architecture awareness, coding guidelines, and dependency health from SonarQube Cloud and SonarQube Server before it writes code.
- [Sonar Vortex analysis](https://docs.sonarsource.com/agent-centric-development-cycle/inside-your-agent-the-agentic-loop/sonar-vortex-analysis.md): Sonar Vortex analysis checks your agent's code changes in seconds, with the same precision as a CI scan, on SonarQube Cloud and SonarQube Server.
- [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 and SonarQube Server 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 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
