Guides

What Is the Elephant-Goldfish Model? Google’s Spec-First Plugin for Coding Agents

The Elephant-Goldfish Model (EGM) is Google’s free, open-source plugin where one AI agent writes a software spec and fresh agents with no memory review it.

The Elephant-Goldfish Model, or EGM, is an open-source plugin from Google that changes how AI coding agents plan software. If you saw the name trending this weekend and pictured a new AI model with an odd mascot, that is a fair guess, but it is wrong. There is no new model inside. It is a way of working, packaged as skills your existing coding agent can run.

The idea fits in one line from the project itself: design with an elephant, review with a goldfish. Below is what that means, why it works, how to install it, and what it tells us about where AI agents are heading.

TL;DR: The Elephant-Goldfish Model (EGM) is a free, Apache 2.0 plugin published by Google on GitHub. An "Elephant" agent that knows your whole project helps you write a design spec, then "Goldfish" agents that start with no memory of that conversation review it in five stages, so blind spots get caught before any code is written. It runs inside Claude Code, Codex, Google Antigravity, Claude Cowork and ChatGPT Work. Google says it is not an officially supported product.

What is the Elephant-Goldfish Model?

EGM is a set of instructions, reviewer personas and document templates that you add to an AI coding agent. Once installed, the agent gets new commands for planning a feature before building it. The project describes itself as an "open-source plugin for designing and reviewing software with agents."

The two animals are the two roles:

  • The Elephant never forgets. It holds your project, your requirements and every decision you made in the chat. It brainstorms with you and drafts the specification.
  • The Goldfish remembers nothing. Each Goldfish is a brand-new subagent that sees only the draft and the source files it points to, not the conversation that produced it.
  • You stay the boss. You settle trade-offs and approve the spec before anyone writes code.

Why a goldfish? Because an agent that helped write a plan shares the plan’s assumptions. If you agreed in chat that "duplicate webhooks are rare," that idea never makes it onto the page, and the same agent will not notice it is missing. A reviewer with zero context reads only what is written, so gaps jump out. It is the same reason editors ask a colleague who has never seen a document to proofread it.

Who made it, and when did it come out?

The plugin lives at github.com/google/elephant-goldfish-model under the Google account, with a website at egm.dev. The approach comes from an essay by Google’s Dave Rensin, "Elephants, Goldfish, and the New Golden Age of Software Engineering." The project site says thousands of Google engineers use the plugin, a figure that comes from Google and has not been independently counted.

DateWhat happened
September 13, 2026GitHub repository created
October 27, 2026First tagged release, v0.1.0
October 28, 2026Early coverage from AlphaSignal
November 6, 2026Release v0.1.1
November 8, 2026MarkTechPost covers it; the repo passes 14,000 GitHub stars

So it is not brand new code, but this weekend is when the name broke out beyond developer circles.

How the Elephant-Goldfish Model works, step by step

EGM gives your agent seven skills. You can use any of them alone; you do not have to run the full sequence.

CommandRoleWhat it does
egm-brainstormElephant + GoldfishTalks through an idea; fresh reviewers challenge it; saves a concepts_brief.md
egm-draftElephantTurns the brief into design_draft.md, pausing after each section for your feedback
egm-reviewGoldfishReviews the design in five stages with fresh agents
egm-resolveElephant + youWorks through the review findings and agrees on changes
egm-bootstrapElephantWrites or updates docs for an existing codebase
egm-review-loopGoldfishRuns a custom group of reviewers on any document, not just software specs
egm-drift-reportGoldfishCompares checked-in docs with the current code to spot where they drifted apart

The five review stages, as named in the plugin’s own files, are: Initial Zoom Out Review, Comprehension Review, Design Critique, Intermediate Zoom Out Review, and Implementation Readiness. In plain words: does the big picture make sense, can a stranger understand it, is the design sound, does it still hang together after changes, and is it ready to build.

One rule matters a lot. If your agent cannot start a truly fresh subagent, EGM stops the review instead of faking it. The plugin’s instructions say a review in the same context "is not a Goldfish review." The reviewers are also told to criticize first and skip flattery, which is a direct fix for the "great idea!" habit chatbots are known for.

Agentic AI, a team of expert AI agents on your iPhone that check each other’s work. Three free tasks, no account needed. Get the app free

How to install the Elephant-Goldfish Model

EGM is free. It works in these coding agents:

  • Claude Code: claude plugin marketplace add google/elephant-goldfish-model, then claude plugin install egm@egm. Commands use the /egm: prefix, for example /egm:egm-brainstorm.
  • Codex CLI: codex plugin marketplace add google/elephant-goldfish-model, then codex plugin add egm@egm.
  • Google Antigravity CLI: agy plugin install https://github.com/google/elephant-goldfish-model.
  • ChatGPT and Codex desktop: a published plugin listing you install inside the desktop app.
  • Claude Cowork and ChatGPT Work: covered in the project’s setup guide.

Start a new session after installing. The plugin itself costs nothing, but every reviewer is another agent run, so you will use more of your agent plan’s tokens or usage than a single quick prompt would.

Elephant-Goldfish Model vs a normal coding agent

Plain coding agentWith EGM
Starts withYour prompt, then codeA brief and a written spec
Who reviews the planUsually the same agent, or nobodyFresh agents with zero chat memory
Hidden assumptionsEasy to missMore likely to be flagged
Speed on tiny fixesFastSlower; overkill for one-line changes
Best forSmall, clear tasksFeatures with real design decisions

It belongs to the same "spec first" wave as Tessl’s workflow, which we explain in What is an AI software factory?, and it is delivered the same way as other agent skill packs like Gemini skills.

What this means for you

You do not need to write code for the lesson to matter. EGM is Google saying, in public, that one AI checking its own work is not enough. The fix is a small team: one agent that knows everything, and others that come in cold and poke holes. That is the core idea of agentic AI done well.

You can use the same trick in daily life. Ask one agent to draft a trip plan or a budget, then hand only the finished draft to a second agent and ask, "What is missing or risky here?" Fresh eyes catch the stuff you both stopped seeing.

Our app, Agentic AI, is built around that kind of teamwork on iPhone and iPad. You pick ready-made expert agents, put several on one task, and get finished work back, with no account and no login. You get the reviewer’s fresh eyes without installing a plugin or opening a terminal.

Agentic AI, your pocket team of expert agents. Draft with one, double-check with another. Get the app free

Quick answers

Is the Elephant-Goldfish Model an AI model? No. Despite the name, EGM contains no new model. It is a plugin of skills and reviewer prompts that runs on whatever model your coding agent already uses.

Is the Elephant-Goldfish Model free? Yes. It is open source under the Apache 2.0 license. You still pay for your coding agent’s usage, and reviews use extra runs.

Is EGM an official Google product? It is published under Google’s GitHub account, but the README says it is "not an officially supported Google product."

Does the Elephant-Goldfish Model work with Claude Code? Yes. Install it from the plugin marketplace with claude plugin marketplace add google/elephant-goldfish-model and claude plugin install egm@egm.

What is a goldfish agent? A subagent started with zero conversation history that reads only the document and its linked files, so it cannot share the author’s unspoken assumptions.

Who created the Elephant-Goldfish Model? It is based on Dave Rensin’s essay on elephants and goldfish in software engineering, and published by Google on GitHub. More terms like this are in our agentic AI glossary.


Sources: GitHub: google/elephant-goldfish-model · egm.dev · MarkTechPost · AlphaSignal · Dave Rensin’s essay

Stop working alone.

Give any task to a team of AI experts on your iPhone. Start with 3 free tasks, then Agentic AI PRO from $34.99 a year.

Download free on iPhone On your computer?Point your iPhone camera here to install.

3 free tasks · No account · No login