Vibeleaderboard
← All Intel
Intel / video

SonarQube + OpenAI: Agentic Development — Killian Carlsen-Phelan, Sonar

Source
youtube.com
Author
AI Engineer
Date

Context

SonarQube, a code quality and security scanner, can give an AI coding agent findings while it is still editing. Its documents analysis of uncommitted changes, listing of project issues, and hooks for coding agents including Codex. That creates a feedback loop in which a scanner identifies a problem, the agent changes the code and another scan checks the change.

The workshop description gives a concrete example: OpenAI's Codex receives a deliberately planted injection finding, replaces a query assembled through string interpolation with a parameterized query, and runs a verification hook on the edited code. A parameterized query passes input values separately from the SQL instructions, so user input cannot be read as part of the command. According to the publisher's description, the point is to put security feedback inside the coding loop instead of leaving it for a later failed build or review. The description does not report how often the agent repairs such findings correctly.

Key takeaways · AI-distilled
  • In Sonar's demo, SonarQube traces user-controlled input into database execution in a sample Python app, and Codex fixes it by swapping string interpolation for a parameterized query that a verification hook then re-checks.
  • The OpenAI introduction to the Sonar workshop splits agent safety into two concerns, execution containment and artifact correctness, and treats a task as complete only when it yields a reviewable change backed by independent evidence.
  • Killian Carlsen-Phelan's setup combines SonarQube Cloud, its CLI, a Codex plugin and an server, with an issue-listing skill that hands the agent findings straight from the project dashboard.
Terms in this piece · Glossary
  • CLI tool — A command-line capability an agent can discover and compose through shell commands.
  • Database and SQL — Persistent structured storage queried and changed through explicit operations.
  • Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.youtube.com
More from AI Engineer
Recommended reads