---
title: "Experiments with AI Code Review"
description: "Wealthfront built Iris, an in-house AI code reviewer, iterating from a failed document-gathering design to a structured Gemini 2.5 Pro/Flash research-recursion pipeline and finally to an antagonistic review where Opus 4 acts as judge over a GPT-5 prosecution and a Gemini Flash defense for each suspected problem."
url: "https://swe.quest/articles/experiments-with-ai-code-review-0c3ac1722d4d19f7"
canonical: "https://eng.wealthfront.com/2026/08/03/experiments-with-ai-code-review/"
source: "Wealthfront Engineering"
published: "2026-08-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["ai-coding","code-review","ai-agents","llms"]
---

# Experiments with AI Code Review

A post on [Wealthfront Engineering](https://swe.quest/sources/wealthfront.md), published 2026-08-03, 10 min read, Case study. Original: [https://eng.wealthfront.com/2026/08/03/experiments-with-ai-code-review/](https://eng.wealthfront.com/2026/08/03/experiments-with-ai-code-review/)

## Summary

Wealthfront built Iris, an in-house AI code reviewer, iterating from a failed document-gathering design to a structured Gemini 2.5 Pro/Flash research-recursion pipeline and finally to an antagonistic review where Opus 4 acts as judge over a GPT-5 prosecution and a Gemini Flash defense for each suspected problem. Supporting tactics include letting the model draft a freeform review before forcing a structured tool call, replacing many bespoke MCP-style tools with a sandboxed filesystem plus shell, and spawning directed sub-agents for project background, production data and an 80-item checklist. Engineer ratings shifted from a bell curve centered on 'neutral' to mostly useful, driven largely by far fewer false positives, at about 10 minutes and $4 per review. AI review is non-blocking and runs between self-review and human peer review.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Code review](https://swe.quest/tags/code-review.md) (Engineering practices)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- LLM tool calling ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- multi-agent LLM systems ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- pull request code review ([easy posts on Code review](https://swe.quest/tags/code-review.md?difficulty=easy))

## Keywords

Iris, Claude Opus 4, GPT-5, Gemini 2.5 Pro, Gemini 3.0 Flash, Wealthfront

## Related posts

- [Keeping code moving with clearer review expectations](https://swe.quest/articles/keeping-code-moving-with-clearer-review-expectations-053fec0d580ce694.md): Sourcegraph · 2026-11-10 · Medium · 4 min read · Code review, AI agents, Developer productivity, AI for coding
  Sourcegraph is experimenting with an AI agent that routes each pull request to one of three review paths: Ship (no review), Show (review after merge) or Ask (review before merge).
- [Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini](https://swe.quest/articles/testing-ai-coding-agents-2025-cursor-vs-claude-openai-and-gemini-4ba683d74eb76f3f.md): Render · 2025-08-12 · Medium · 16 min read · AI for coding, AI agents, Developer tools, Evaluation
  Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website.
- [Ghostwriter AI & Complete Code Beta](https://swe.quest/articles/ghostwriter-ai-complete-code-beta-eb4c500f5fc252eb.md): Replit · 2022-09-08 · Medium · 9 min read · AI for coding, Inference & serving, LLMs, Developer tools
  Replit's Ghostwriter adds AI code completion, generation, transformation, explanation and semantic search to its IDE, with Complete Code starting in closed beta.
- [Sourcegraph MCP server and a cheaper model beat a Mythos-class model alone](https://swe.quest/articles/sourcegraph-mcp-server-and-a-cheaper-model-beat-a-mythos-class-model-alone-62154a407988cfbb.md): Sourcegraph · 2026-06-16 · Easy · 3 min read · AI agents, Evaluation, AI for coding, LLMs, Cost optimization
  On nine discovery-heavy CodeScaleBench tasks, Claude Sonnet 4.6 using the Sourcegraph MCP server with no source on disk scored a mean reward of 0.698, beating Claude Fable 5 with a full local checkout (0.568) and winning six of nine tasks at $1.02 versus $1.83 per quality point.
- [Better tools made Copilot code review worse. Here’s how we actually improved it.](https://swe.quest/articles/better-tools-made-copilot-code-review-worse-here-s-how-we-actually-improved-it-d13b0645c05f1e51.md): GitHub Engineering · 2026-07-10 · Medium · 9 min read · AI agents, Code review, LLMs, Evaluation, Cost optimization
  Swapping Copilot code review's bespoke exploration tools for the shared Copilot CLI tools (grep, glob, view) initially raised review cost and reduced useful comments, because the tool instructions encouraged broad, repo-browsing behavior instead of diff-anchored investigation.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
