News
SonarQube CLI 1.13.0: More Reliable Vortex Analysis and a New sonar init Command
SonarQube CLI 1.13.0 adds a unified agent-stop hook for Vortex analysis, a beta sonar init command, and Go, Kotlin, C and C++ code navigation for agents.
Dr. Márton Tamás Kabai 2 min read
Sonar has released SonarQube CLI 1.13.0, which makes Vortex analysis more reliable for AI coding agents and speeds up project setup with a new command.
Key changes
- A unified completion hook for Vortex analysis. Claude Code, Codex, Copilot, Cursor, Devin, OpenCode and Pi now use the shared
sonar hook agent-stophook (a hook is an extra step that runs automatically). When the agent finishes its turn, the CLI runs the Sonar Vortex analysis on the modified files and sends the fixable issues back to the agent so it can correct them before stopping. This no longer depends on the agent following prompt instructions, and the agent cannot get stuck: it may stop after three fix rounds. - New
sonar initcommand (beta). It takes a project from scratch to its first SonarQube Cloud analysis. It supports monorepos (--monorepo) and a non-interactive mode for agents and CI (--non-interactive). Before applying anything, you can try it in preview mode with the--dry-runflag. - More architecture tools for agents. Through the CLI you can query architecture coverage (the ratio of covered to total artifacts per language), as well as other data.
- Vortex Context Augmentation. Code navigation now also covers Go, Kotlin, C and C++.
A note from Szitár-Net: at the time of our check, we could not find a description of the sonar hook agent-stop and sonar init commands in the command reference of the official documentation, so it is worth relying on the CLI’s built-in help the first time you use them.
What should you do?
Run the sonar update command to update the CLI (according to the documentation, this updates an instance installed with the installer script; for the Homebrew cask, the method is the brew upgrade --cask sonarqube-cli command). Then use it from the terminal, or in the inner loop of AI coding agents through Sonar’s agent integrations. Try the sonar init command with --dry-run mode first.
According to the documentation, Vortex features require a Vortex subscription. On SonarQube Cloud, this means an annual Team or Enterprise plan; on SonarQube Server, it means the Enterprise or Data Center edition of version 2026.5 or later.
Sources
- SonarQube 1.13.0 - Vortex improvements and new project setup command (Sonar Community)
- SonarQube CLI integrations – Overview (Sonar docs)
- SonarQube CLI – Commands reference (Sonar docs)
Original announcement

Farah Bouassida, SonarSourcer (Sonar)
Originally published on the Sonar Community forum on 24 November 2026: SonarQube 1.13.0 - Vortex improvements and new project setup command
About the author

Dr. Kabai Márton Tamás, Owner and Managing Director, Szitár-Net Kft.
Source: Sonar Community
Written by
Managing Director, Szitár-Net Kft.
Managing Director of Szitár-Net Kft. The company has worked with automated source code analysis for more than 10 years and, as the official SonarSource partner in Hungary, helps banks, public institutions and large enterprises adopt SonarQube. His talks cover code quality, cybersecurity compliance and secure AI-assisted development.
More news
News
Intended Architecture Can Now Be Stored in the Repository in SonarQube Cloud
SonarQube Cloud now lets you store the intended architecture in the repository as sonar-architecture.json and review changes in a pull request.
Read on 2 min
News
Agent Orchestrator 2026.5.5: Fix for the Remediation Agent OpenShift Bug
SonarQube Server 2026.5 LTA gets Agent Orchestrator 2026.5.5, which fixes Remediation Agent jobs failing on OpenShift. Here is what to check before…
Read on 2 min
News
SonarQube for VS Code 6.4: Updated Analyzers and Java4Shell Mitigation
SonarQube for VS Code 6.4 is out: updated language analyzers, a Java4Shell mitigation in the language server JVM, and the XML analyzer now needs Java 21.
Read on 2 min