The Elephant-Goldfish Model: Why the AI That Knows Least Reviews Best
Author(s): Udaykiran Estari
Originally published on Towards AI.
What Google’s open-source EGM plugin is, how its fresh-context reviewers check a design before any code exists, and why that differs from asking the same chat to check its own work.
When I opened Google’s elephant-goldfish-model repository, the first line under the logo was a tagline: "Design with an elephant. Review with a goldfish." I had seen plenty of AI coding tools, but none that started by telling the AI to forget things on purpose.

After the introduction, the article explains what the Elephant-Goldfish Model (EGM) is at a conceptual level—an approach to spec-driven development where one long “elephant” session drafts a design and separate, fresh-context “goldfish” reviewer sessions read only that draft (and a rubric) before any code exists. It breaks down EGM’s roles and architecture into layers (skills/commands, stateless reviewer personas, document standards, and versioned “living documentation”), then walks through how the workflow runs in phases: brainstorm, draft, structured multi-stage review with prioritization and re-review, resolve/approve in an edit-and-signoff loop, and finally implement followed by drift reporting when code diverges from the spec. A concrete webhook-delivery example shows how the elephant’s context can miss gaps that reviewers catch when they start from a clean slate. The piece also contrasts EGM against common prompting patterns (direct coding, self-review in the same context, one generic “review this,” or stale docs) and ends with practical limits such as extra cost/latency, requirements for subagent-capable harnesses, and the fact that it doesn’t replace testing or human judgment.
Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Towards AI Academy
We Build Enterprise-Grade AI. We'll Teach You to Master It Too.
15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.
Start free — no commitment:
→ AI Engineering For Production — our new book, coming before the end of 2026. Join the waitlist.
→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages
Our courses:
→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.
→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.
→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.
Note: Article content contains the views of the contributing authors and not Towards AI.