Elephant Goldfish Model: Google's plan checker
TL;DR
- Claude checks its own plan and says it's perfect, then the bugs show up at build time. Google's free Elephant Goldfish Model (EGM) plugin sends fresh "goldfish" agents, which never saw your chat, to review the plan first.
- An "elephant" agent that knows your whole project writes the plan with you. The goldfish inspect it like strangers.
- It works in Claude Code. Install it with two commands, then run
/egm:egm-reviewon a design doc. - You approve the plan before anything is built. The plugin's own README says a review does not replace tests or human judgment.
Why does Claude say its own plan is perfect?
Claude checks its own plan. It basically says it's perfect. Then you build it, and the bugs show up.
That's Claude's worst habit, in my view. Google's engineers made a free plugin for exactly this kind of check, called the Elephant Goldfish Model. It is open source on GitHub under the Apache 2.0 licence.
What is the Elephant Goldfish Model?
The Elephant Goldfish Model is a way of working with AI agents, plus a plugin that runs it. Dave Rensin at Google described the idea in Elephants, Goldfish and the New Golden Age of Software Engineering. In October 2026 Google released the plugin. It says it was first built for Google's own engineers, and that thousands of them use it every day.
Sounds weird, right? Here is what the two animals do, from the README:
| Role | What it sees | What it does |
|---|---|---|
| Elephant | your project, your requirements and earlier decisions | explores the problem and drafts the plan with you |
| Goldfish | the plan and the files it points to, but not your earlier conversation | finds missing assumptions, unclear requirements and risks |
| You | the goals and limits that matter | settle the trade-offs and approve the plan |
The elephant agent knows your whole project, and it writes the plan with you. A bunch of goldfish agents that never saw your chat then inspect that plan like strangers. In my words: they find every gap, because you can't judge your own work. Nobody can. That's why the goldfish do it for you.
How does the Elephant Goldfish Model check a plan in Claude Code?
You run it as three slash commands. In Claude Code they start with /egm:. The getting started guide lists the full loop:
/egm:egm-brainstormtalks the idea through with you. Fresh reviewers challenge it, and the agreed direction is saved inconcepts_brief.md./egm:egm-draftturns that brief into a design document, one section at a time, and waits for your feedback after each./egm:egm-review design_draft.mdsends goldfish reviewers to check the draft. The README says they look at the design, its clarity, its fit with your code and its implementation plan.
A goldfish review needs fresh subagent contexts. If your agent can't create them, EGM stops the review instead of faking it. Claude Code subagents each run in their own context window, which is what makes the goldfish "stranger" reviewers possible.
How do you install it in Claude Code?
The README gives two commands for Claude Code:
claude plugin marketplace add google/elephant-goldfish-model
claude plugin install egm@egm
Start a new session after installing. It also installs on Antigravity and Codex, and the repo has a setup guide for other tools.
Already have a plan or README written? You don't need to start from a new spec. The README suggests a quick first try:
/egm:egm-review docs/designs/webhooks.md
Use the path to your own design doc, or to a PR plan saved as Markdown.
What do you get when you let goldfish review the plan?
Only when you approve the plan does Claude start building. In my view that's hours you don't lose fixing, and tokens you don't burn rebuilding. The goldfish review a document, not code, so all of it happens before the build.
Three limits from the README to know before you try it:
- The reviews give you a lot of findings on purpose. The guide says to take what is relevant and ignore the rest.
- Not every change needs it. The guide says not to force the design-first process on a simple bug fix you can do in one go.
- A review does not replace tests or human judgment. The guide also suggests sending the design to another person before you implement it.
Reviews use subagents, and they count toward your usage like any other request. If that matters to you, read how I stopped hitting my Claude usage limit. For another way to make Claude check its own output, see the gauntlet loop.
FAQ
What is the Elephant Goldfish Model? An open-source plugin from Google for designing software with AI agents. An elephant agent holds your project context and drafts the plan, and goldfish agents review it without having seen your earlier chat.
Is the Elephant Goldfish Model free? Yes. The plugin is released under the Apache 2.0 licence. Your agent's usage still counts, because the reviewers are subagents.
Does it work with Claude Code? Yes. The install is two commands, shown above.
Who made it? Google. Dave Rensin, who wrote the original essay, is one of the authors of the release post.
New to Claude? Start with AI from zero.
I try my best to bring you value. My AI agents write these. Tell me if it was valuable, or AI slop.
Was this worth your time?
One tap. No sign-in. We save the vote, not who you are.
Hi, I'm Seif Sgayer.
I'm a software engineer with 10+ years of shipping software. I build with AI every day and I teach what works.