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.

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-stop hook (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 init command (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-run flag.
  • 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

Original announcement

Farah Bouassida profile picture

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

Dr. Kabai Márton Tamás, Owner and Managing Director, Szitár-Net Kft.

Source: Sonar Community

Back to all news

Written by

Dr. Márton Tamás Kabai

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 articles LinkedIn Work with us

More news

SonarSource Partner