---
title: Design with an elephant, review with a goldfish
description: Google's Elephant-Goldfish Model splits AI design work in two. One session holds your whole project and writes the spec, then fresh sessions that never saw the chat review it. What the plugin is, how its five review passes work, and what nobody has measured yet.
date: 2026-11-19
tags: AI coding agents, code review, specifications, planning
---

"Design with an elephant. Review with a goldfish." That's the whole idea of Google's Elephant-Goldfish Model, EGM for short. One AI session holds your project and writes the specification, the document that says what to build before any code exists. Then fresh AI sessions, which never saw that conversation, read only the document and the code it points to. They find what the first session stopped noticing.

Anyone who works with a coding agent knows the problem. After a long chat, the agent knows your requirements, your decisions and "that chat from Tuesday". Google's video puts it in one line: "The more it knows, the less it notices what it's assuming." Ask that same agent to review its own spec, and the gaps look obvious to it, because it heard you fill them.

The [video](https://youtu.be/6P1polyfAqM) is a 65-second clip from Google Cloud Tech, out on November 18. The plugin behind it went open source in October. I read its repository to see what's actually inside.

## One remembers, the others forget

EGM gives the work to three roles. The animals are the point: an elephant never forgets, and a goldfish forgets everything.

- The elephant. An AI session that holds your project, your requirements and your earlier decisions. It explores the problem with you and drafts the spec, section by section.
- The goldfish. Several fresh AI sessions, the reviewers. Each one gets the draft and the files it references, and nothing from the chat. Their job is to find missing assumptions, unclear requirements and risks.
- You. You hold the goals and the constraints. You settle the trade-offs, approve the spec and decide what gets built.

The rule is strict. A goldfish review must run in a fresh subagent, a second agent started with an empty memory. If your tool can't start one, EGM stops the review. Its skill file says why: "a review in the same context is not a Goldfish review."

<figure class="fd-fig kf" aria-labelledby="eg1-cap" data-desc="The three roles in the Elephant-Goldfish Model, as three cards. The elephant remembers everything: your project, your requirements and every earlier decision, and it drafts the spec. In blue, the goldfish remembers nothing: it gets only the draft and the files it cites, nothing from the chat, and it finds missing assumptions and risks. You decide: you hold the goals and settle the trade-offs. Under the cards: without a fresh subagent there is no review, because EGM stops rather than review in the same chat.">
<p class="kf-kick">The three roles in EGM</p>
<p class="kf-title">The reviewer that knows the least <em>finds the gaps</em></p>
<div class="kf-cards">
<div><small>The elephant</small><b>Remembers everything</b><ul><li>Your project and every earlier decision</li><li>Drafts the spec</li></ul></div>
<div class="is-key"><small>The goldfish</small><b>Remembers nothing</b><ul><li>Only the draft and the files it cites</li><li>Nothing from the chat</li><li>Finds missing assumptions and risks</li></ul></div>
<div><small>You</small><b>Decide</b><ul><li>Hold the goals</li><li>Settle the trade-offs</li></ul></div>
</div>
<p class="kf-note">No fresh subagent, no review: EGM stops rather than review in the same chat.</p>
<figcaption id="eg1-cap">The roles as the EGM README describes them.</figcaption>
</figure>

## A plugin, not a new model

The name sounds like an AI model, but EGM has no weights to download and no model to call. It's a plugin: a folder of instructions that your coding agent loads. Your agent's own model does the thinking.

The repository holds three kinds of files:

- Skills. Eight of them, saved instructions the agent follows on command: brainstorm, draft, review, review loop, resolve, a lite version for small changes, bootstrap and drift report.
- Reviewer roles. Eight prompt files, one per reviewer, plus a synthesizer that merges their findings into one report.
- Document standards. The rubrics the reviewers grade a spec against.

The same files work in several tools. Google lists Gemini CLI, Antigravity (its own coding tool), Claude Code, Codex and Cursor. In Claude Code, each reviewer is set to `model: inherit`, so it runs on whatever model your session uses. It gets read-only tools, to read and search files. It also skips your project's `CLAUDE.md`, the instructions file the agent normally reads first.

<figure class="fd-fig kf" aria-labelledby="eg2-cap" data-desc="Two cards. On the left, dashed, what the name suggests: a model, with new weights to download and a new AI to call. On the right, in blue, what it is: a plugin of instructions, with 8 skills, 8 reviewer roles and a synthesizer, and document standards to grade against. Under the cards: the thinking comes from your agent's own model, because the reviewers are set to inherit it.">
<p class="kf-kick">EGM, by its name and by its files</p>
<p class="kf-title">EGM is <em>a plugin</em>, not a new AI model</p>
<div class="kf-cards">
<div class="is-dim"><small>What the name suggests</small><b>A model</b><ul><li>New weights to download</li><li>A new AI to call</li></ul></div>
<div class="is-key"><small>What it is</small><b>A plugin of instructions</b><ul><li>8 skills</li><li>8 reviewer roles and a synthesizer</li><li>Document standards to grade against</li></ul></div>
</div>
<p class="kf-note">The thinking comes from your agent's own model: the reviewers are set to inherit it.</p>
<figcaption id="eg2-cap">Counted in the google/elephant-goldfish-model repository on November 19.</figcaption>
</figure>

## Five passes before any code

The review is the deep part. `/egm-review` runs five passes in a fixed order. Each pass uses fresh reviewers with one narrow job.

1. Zoom out. A "skeptical architect" checks the framing. It cuts features nobody needs yet, and searches the code for something to reuse instead of building new. A second reviewer looks for contradictions in the design. This pass can stop the review and send the design back.
2. Comprehension. A "naive reader" reads the document with no prior context. It lists every undefined term, every missing prerequisite and every gap in the reasoning.
3. Critics. A design critic looks for single points of failure (one part whose failure stops everything), scale limits, failure modes and edge cases. Two more reviewers check the layout and the writing.
4. Zoom out again. Critics make designs grow, because every risk they find invites a defensive fix. This pass removes the fixes the design doesn't need.
5. Readiness. A "tech lead auditor" checks the implementation plan: every file to touch, why, and how to test it. A "codebase auditor" checks every path, class and function name in the spec against the real code.

That last check matters more than it looks. During a long chat, an agent can agree on a function that doesn't exist. Nobody notices, because everyone in the chat remembers agreeing on it. A reviewer that only has the document and the code finds that the function isn't there.

<figure class="fd-fig kf" aria-labelledby="eg3-cap" data-desc="The five passes of the EGM review, in order. One, zoom out, by a skeptical architect: it checks the framing, cuts what nobody needs yet and looks for code to reuse. Two, comprehension, by a naive reader: it lists every undefined term and missing step. Three, critics: failure modes, scale limits, layout and writing. Four, zoom out again: it removes the defensive fixes the critics provoked. Five, in blue, readiness, by two auditors: they check every file, test plan and function name against the real code.">
<p class="kf-kick">The five passes of /egm-review</p>
<p class="kf-title">Five passes, each by reviewers who <em>never saw the chat</em></p>
<ol class="kf-steps">
<li><small>Skeptical architect</small><b>Zoom out</b><span>Checks the framing, cuts what nobody needs yet, looks for code to reuse.</span></li>
<li><small>Naive reader</small><b>Comprehension</b><span>Lists every undefined term and missing step.</span></li>
<li><small>Three critics</small><b>Critics</b><span>Failure modes, scale limits, layout and writing.</span></li>
<li><small>Skeptical architect</small><b>Zoom out again</b><span>Removes the defensive fixes the critics provoked.</span></li>
<li class="is-key"><small>Two auditors</small><b>Readiness</b><span>Checks every file, test plan and function name against the real code.</span></li>
</ol>
<figcaption id="eg3-cap">From the review design in the EGM repository. The first pass can stop the review and send the design back.</figcaption>
</figure>

## A confused reader is never wrong

The reviewers produce a lot of findings. The getting-started guide warns: "This will provide a lot of feedback by design. Take what you think is relevant. Ignore the rest." So the elephant comes back to sort them, with the resolve skill. Each finding gets one of four labels:

- Propose fix. The finding is right, and the elephant writes the exact edit.
- Contest. The finding is wrong, and the elephant cites evidence from the code to show it.
- Escalate. The finding is wrong, but only knowledge outside the reviewed files proves it. You decide.
- Decline. A small style point. It's recorded and left as it is.

Two rules keep the elephant honest. A contest must cite evidence the reviewer could have read. And a comprehension gap can never be contested. If the naive reader didn't understand a passage, the passage is unclear, whatever the elephant knows.

The escalate rule has a detail I like. When only outside knowledge refutes a finding, the elephant doesn't paste that knowledge into the spec just to satisfy a goldfish. You decide whether the document needs it.

Then the loop. After the fixes, you choose: another round, or stop. A round is clean when no serious finding is left open. The review ends after two clean rounds in a row. At five rounds, or when a new fix would undo an earlier one, it asks you to accept, continue or go back to drafting.

<figure class="fd-fig kf" aria-labelledby="eg4-cap" data-desc="The four labels the elephant can give a review finding, in a table. Propose fix: the finding is right, and the elephant writes the exact edit. Contest: it is wrong, and the elephant cites code the reviewer could read. Escalate: it is wrong, but only outside knowledge proves it, so you decide. Decline: a small style point, recorded and left as it is. Under the table: a comprehension gap can't be contested, and the review ends after two clean rounds in a row, or asks you at five rounds.">
<p class="kf-kick">Four answers to a finding</p>
<p class="kf-title">The elephant can argue back, <em>but only with evidence</em></p>
<div class="kf-swap is-short">
<p class="kf-swap-h"><span>Label</span><span>What happens</span></p>
<p><span>Propose fix</span><em>The finding is right: the elephant writes the exact edit</em></p>
<p><span>Contest</span><em>Wrong, and the elephant cites code the reviewer could read</em></p>
<p><span>Escalate</span><em>Wrong, but only outside knowledge proves it. You decide</em></p>
<p><span>Decline</span><em>A small style point, recorded and left as it is</em></p>
</div>
<p class="kf-note">A comprehension gap can't be contested. Done after two clean rounds in a row; at five rounds, you decide.</p>
<figcaption id="eg4-cap">The four labels of the resolve skill, from the review design, shortened.</figcaption>
</figure>

## Popular before it's proven

So, does the market use it? EGM is popular and young. Google hasn't published any measurement of what it changes, and I found none from anyone else.

Google's open source blog announced it on October 22. The plugin started inside Google, for its own engineers. The idea comes from an essay by Dave Rensin, one of its authors. The blog says: "Thousands of Googlers use this plugin every day to ship production Google code." It gives no count and no results. The license is Apache 2.0, and the README adds: "This is not an officially supported Google product."

Developers noticed fast. On November 19, four weeks after the announcement, the repository had 21,210 stars and 1,572 forks. A star is a bookmark, not a deployment, so that counts interest, not use.

The project's own FAQ is careful: "Completing the EGM workflow alone does not demonstrate a productivity improvement." It suggests you compare total time, useful findings and rework on your own tasks. Asked whether there are alternatives, it answers: "Yes. Many."

The idea underneath is older and widely shared: whoever wrote something shouldn't be its only reviewer. The Claude Code team has a fresh subagent review every diff before a pull request, as my [note on their code review](/notes/claude-code-team-code-review.html) describes. Overmind moved human review from the pull request to the plan, in my [plan review note](/notes/review-the-plan-not-the-pull-request.html). EGM packages the same instinct as a tool anyone can install, and points it at the design document.

<figure class="fd-fig kf" aria-labelledby="eg5-cap" data-desc="Four claims about EGM on November 19, each with what backs it. Open source: holds, Apache 2.0 license, announced in October. Developers are interested: holds, 21,210 stars and 1,572 forks in four weeks. Used every day at Google: a claim, in Google's own words, thousands of engineers, with no count. It improves designs or speed: not shown, in red, with no published measurement, as the FAQ itself says.">
<p class="kf-kick">EGM on November 19, claim by claim</p>
<p class="kf-title">Widely starred, <em class="is-alert">not yet measured</em></p>
<div class="kf-swap is-even">
<p class="kf-swap-h"><span>The claim</span><span>What backs it</span></p>
<p><span>Open source</span><span><i class="kf-tag is-ok">holds</i>Apache 2.0 license, announced in October</span></p>
<p><span>Developers are interested</span><span><i class="kf-tag is-ok">holds</i>21,210 stars and 1,572 forks in four weeks</span></p>
<p><span>Used every day at Google</span><span><i class="kf-tag is-part">claim</i>Google's own words: thousands of engineers, no count</span></p>
<p><span>It improves designs or speed</span><span><i class="kf-tag is-no">not shown</i>No published measurement, as the FAQ itself says</span></p>
</div>
<figcaption id="eg5-cap">Stars and forks read on GitHub on November 19. The other rows quote Google's blog and the EGM FAQ.</figcaption>
</figure>

## A fresh memory, the same model

The goldfish forgets the chat. It doesn't forget how its model thinks. In Claude Code, every reviewer inherits the session's model, so the writer and the reviewers are the same model with a clean memory.

That fixes one kind of blind spot: the assumptions that live in the conversation. A reviewer that never heard "we agreed to skip retries" sees that the spec never says it. It can't fix the other kind, the habits of the model itself. If a model tends to miss a kind of failure, a fresh copy of it can miss the same one.

EGM is also clear about what it isn't. "A review does not replace tests or human judgment," says the README. The getting-started guide puts a human step after the goldfish: send the design to another person, as a pull request, before any code. And the FAQ warns that more design documents can jam human review. Its advice is to use EGM for what's important now, not for everything.

<figure class="fd-fig kf" aria-labelledby="eg6-cap" data-desc="What a fresh reviewer leaves behind, as two cards. In blue, it forgets the conversation: decisions nobody wrote down, and functions everyone remembers agreeing on. In red, it keeps the model: in Claude Code, the same model as the writer, with the same habits, so possibly the same blind spots. Under the cards: tests are still needed, and so is a person who reads the design as a pull request.">
<p class="kf-kick">What a fresh reviewer leaves behind</p>
<p class="kf-title">A goldfish forgets the chat, <em class="is-alert">not its model</em></p>
<div class="kf-cards">
<div class="is-key"><small>It forgets</small><b>The conversation</b><ul><li>Decisions nobody wrote down</li><li>Functions everyone remembers agreeing on</li></ul></div>
<div class="is-alert"><small>It keeps</small><b>The model</b><ul><li>The same model as the writer, in Claude Code</li><li>The same habits, so possibly the same blind spots</li></ul></div>
</div>
<p class="kf-note">Still needed: tests, and a person who reads the design as a pull request.</p>
<figcaption id="eg6-cap">Reviewers inherit the session's model in EGM's Claude Code setup. Shared blind spots are a risk, not a measured result.</figcaption>
</figure>

## Try it

You don't need a new spec to try it. In Claude Code, two commands install the plugin:

```
claude plugin marketplace add google/elephant-goldfish-model
claude plugin install egm@egm
```

Start a new session. Then point a review at a design document, a README or a plan you already have:

```
/egm:egm-review docs/designs/webhooks.md
```

The README calls it a 60-second review. A full round starts about ten reviewers across the five passes, so give a long document more time, and watch your token use. A second command, `/egm:egm-drift-report docs/designs/`, compares each document in a folder with the current code and lists where they no longer match.

For new work, the full path has three steps: brainstorm the idea, draft the spec section by section, and review it with fresh eyes. Resolve the findings, and loop until the design holds.

<figure class="fd-fig kf" aria-labelledby="eg7-cap" data-desc="The full EGM path for new work, in three steps. One, brainstorm, with the elephant and fresh reviewers: they challenge the idea, and out comes a concept brief. Two, draft, by the elephant: the spec, one section at a time, with your feedback after each. Three, in blue, review, by the goldfish: five passes by fresh reviewers, then you sort the findings. Then back to the review, after resolving the findings, until the design holds.">
<p class="kf-kick">New work, the full path</p>
<p class="kf-title">Brainstorm, draft, review, and <em>loop until it holds</em></p>
<ol class="kf-steps">
<li><small>Elephant and goldfish</small><b>Brainstorm</b><span>Fresh reviewers challenge the idea. Out comes a concept brief.</span></li>
<li><small>Elephant</small><b>Draft</b><span>The spec, one section at a time, with your feedback after each.</span></li>
<li class="is-key"><small>Goldfish</small><b>Review</b><span>Five passes by fresh reviewers, then you sort the findings.</span></li>
</ol>
<p class="kf-loop">Resolve the findings, then review again until the design holds</p>
<figcaption id="eg7-cap">The three steps from the video and the README. You approve the spec before any code.</figcaption>
</figure>

If you want more:

- [What is the Elephant-Goldfish Model?](https://youtu.be/6P1polyfAqM), the video, 65 seconds
- [google/elephant-goldfish-model](https://github.com/google/elephant-goldfish-model), the repository, with the FAQ and the review design
- [Introducing the Elephant-Goldfish Model plugin](https://opensource.googleblog.com/2026/10/introducing-elephant-goldfish-model-plugin.html), Google's announcement
- [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874), Dave Rensin's essay behind it
- [Review the plan, not the pull request](/notes/review-the-plan-not-the-pull-request.html), where a team moved human review to the plan
- [How the Claude Code team reviews code that Claude writes](/notes/claude-code-team-code-review.html), with a fresh subagent on every diff

Run one goldfish review on a design document you already trust. Tell me what it found that you had stopped seeing.
