Building an Autonomous AI Code Reviewer: Lessons in Prompt Injection and Orchestration

What happens when you unleash a highly autonomous, multi-model AI agent to peer-review its own codebase? Over the past few weeks, I built the ai-review-plugin—an Antigravity plugin designed to enforce rigorous, multi-model peer reviews on code changes before they are merged. The goal was simple: use a smaller, faster model (Model A) to orchestrate the Git workflow, and use a massive, frontier-class model (Model B - Codex) to act as a ruthless Principal Engineer reviewing the code. ...

September 5, 2026 · 3 min · 582 words · Vinh Thang