WhoBuilt

AI Writes More PRs. Who Validates Them?

Oct 9, 2026· 12 min· 10K views·Watch on YouTube

Speaker

Ali-Reza Adl-Tabatabai, co-founder of Guitar AI and now part of Sonar, discusses AI-driven PR validation at an AI Engineer talk.

Why PR validation slows teams down

Adl-Tabatabai describes CI and code review as a centralized phase for enforcing security, compliance, and code quality. As teams grow, longer builds, cross-site reviews, fragmented tools, and infrastructure costs can slow delivery. Failures add an outer loop that can cost developers hours or days.

AI increases the review burden

AI generates more PRs, and larger ones, increasing the amount of code teams must review and the potential for defects. Teams face a tradeoff between careful reviews that slow delivery and quick approvals that may let problems reach production.

Automating the PR workflow

Adl-Tabatabai presents an agentic validation system that reviews PRs, posts findings, summarizes CI failure causes, and can retry flaky tests. It can also fix review findings and CI failures in a loop until a PR is green, then approve and merge PRs under configured rules.

Building trust and using team insights

He describes teams gradually moving from AI reviews to blocking PRs, automatic fixes, and eventually automatic approval and merging as confidence grows. Processing every PR also lets the system categorize CI failures and PR work, giving platform teams and engineering leaders visibility into recurring problems and work types.

Combining agents with program analysis

The system includes a control plane for workflow orchestration, a custom agent harness for multi-agent execution and integrations, and an LLM proxy for model routing and failover. Adl-Tabatabai says integrating the agent with SonarQube program analysis, including taint, control flow, and data flow analysis, could improve precision and coverage.

Takeaways

  • Treat CI and code review as a key delivery constraint as engineering teams scale.
  • Use staged automation: begin with review, then add blocking, fixes, and conditional merging as trust grows.
  • Summarize and categorize CI failures to help platform teams prioritize reliability work.
  • Set clear rules for which PRs an agent may approve and merge automatically.
  • Pair agentic validation with program analysis to combine workflow automation with code analysis.

Mentioned in this talk

Search inside this talk

What was claimed 7

Related talks