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

Securing Agentic Orchestration: Building the Attention Guard 2.0 State Machine

As autonomous AI agents evolve from isolated chatbots into orchestrators of complex, multi-pass software engineering tasks, the boundaries of execution become critical. In the Antigravity ecosystem, we rely heavily on specialized subagents—like DeepCoder and DeepInvestigator—to autonomously navigate codebases, test hypotheses, and execute shell commands. But what happens when an agent hallucinates a success? What happens when a long-running subagent hangs indefinitely? How do we prevent a deeply nested execution worker from going rogue and launching its own recursive subagents? ...

September 5, 2026 · 4 min · 722 words · Vinh Thang