Blog

Google's Elephant-Goldfish: one agent designs, context-free agents review

EGM is Google's open plugin for Claude Code and Codex: one agent drafts the spec and subagents with no context review it before any code is written.

Ink and watercolor illustration: an elephant holds an unrolled blueprint while three goldfish look at it closely from their bowl.

Google has released Elephant-Goldfish Model (EGM), a free plugin for Claude Code, Codex and Antigravity that makes the agent write a design before coding and hands it to reviewers who have never seen the conversation. I’d use it for any feature that involves design decisions, not for a ten-line bug fix.

What it is

Despite the name, EGM is not an AI model. It’s a set of skills, plain-text instructions the agent loads when you need them, published on GitHub under the Apache 2.0 license. The repository itself says it is “not an officially supported Google product”: open source from Google, with no official support.

The idea fits in its two animals:

  • The elephant is the agent with all the context: it knows the project, earlier decisions and everything you’ve discussed. It drafts the spec.
  • The goldfish are subagents that start with no memory of the conversation. They read the document and the code it points to, and look for what’s missing, what’s ambiguous and what could break during implementation.
  • You decide which critiques to accept and approve the design before a single line is written.

The problem it tackles is real. After two hours with an agent, both of you take things for granted that aren’t written down anywhere. If the same agent reviews its own design, it inherits its own blind spots. A reviewer with no context only has the document, so any unwritten assumption stands out.

How to install it

In Claude Code it’s two commands, according to the README:

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

In Codex the equivalent is codex plugin marketplace add google/elephant-goldfish-model and codex plugin add egm@egm, and in Antigravity, agy plugin install https://github.com/google/elephant-goldfish-model. Then start a new session. The SmartScope install guide says you need Claude Code 2.1.271 or later, and warns that copying only the skills/ folder doesn’t work: you have to install the full plugin.

How to use it

The workflow has four steps. In Claude Code, commands take the /egm: prefix:

  1. Explore. /egm:egm-brainstorm Add webhook delivery to this project. You discuss requirements and trade-offs with the agent, context-free reviewers challenge the proposal, and the agreed direction is saved to concepts_brief.md. No code yet.
  2. Draft. /egm:egm-draft turns that brief into design_draft.md and pauses after each section for your feedback.
  3. Review. /egm:egm-review design_draft.md runs the context-free reviewers in several stages: they check that the design is complete, clear, fits the code and has a realistic implementation plan.
  4. Approve and implement. You pick which findings to address, settle the changes with the resolve skill and ask the agent to implement it. Approved designs can live in docs/designs/.

Two more skills look the most useful to me in the long run. egm-bootstrap gets you started on an existing project, and egm-drift-report compares saved designs with the code and tells you where they’ve drifted apart. The getting started guide recommends running it once a week and leaves the call to you: update the document or update the code.

According to SmartScope, the default reviewers cover design critique, structure, style, implementation readiness, codebase details, comprehension and the big picture. There’s no security reviewer by default.

What to know first

  • It needs subagents. If your environment can’t create sessions with a clean context, EGM stops the review. Claude Code handles this fine.
  • It uses quota. The plugin is free, but every reviewer is a subagent burning tokens from your plan or your API account. SmartScope reports hitting a usage limit mid-review while testing in Claude Cowork.
  • It gives a lot of feedback on purpose. The guide says so: “Take what you think is relevant. Ignore the rest.”
  • It doesn’t replace anything. The README stresses that a review doesn’t replace tests or human judgment.
  • It reads your project. Reviewers have read access to your files, so keep sensitive ones out of scope.
  • There’s no independent data. Google says thousands of its engineers use it, but publishes no numbers on how much it improves results.

My take

I like it because it separates whoever writes from whoever reviews, which is what a team with a good tech lead would do. When you work alone with agents, that second pair of eyes is exactly what’s missing: the agent that’s been with you all afternoon is as biased as you are.

I’d use it with a simple rule. If the change touches a data model, an external integration or something a client will notice if it goes wrong, it goes through EGM. A webhook, how you store data for several clients, or a retry system are good candidates. If it’s a clear bug or a copy change, normal workflow; the guide itself warns against forcing the process when you can fix it in one go.

What I’m not fully sold on is the cost in time and quota. Four steps with several reviewers per feature is a lot when you’re in a hurry. So I’d start with just egm-review on a design you’ve already written, which is the most valuable part, and add the rest if it pays off.

And I see the weekly drift-report as the most underrated piece. Stale documentation is worse than none, because the next agent believes it.

Sources

If you want to see how I work with agents without a team, and which processes actually help, follow me on LinkedIn.

← All articles

Have a product to build or a tech stack to put in order?

Tell me what you are trying to achieve and where you are today. I reply personally, usually within a day.

Free · 30 minutes

Digital strategy session

30 minutes to map where to start digitalizing and transforming your business. You pay nothing, before or after.

When you book, you answer three short questions: what you need, what stage your project is at and when. That way the session starts with context.