Skip to content

Google's Elephant-Goldfish Model: A Free Plugin That Has AI Review Your Software Design Before the Code

Short answer

Google's Elephant-Goldfish Model is a free plugin thousands of its engineers use: one AI session designs, memoryless sessions review. How it works and how your company can use it.

Origami Team

Technology Team · · 8 min read

Share on WhatsApp
Like what we publish? Pin Origami as a preferred source on Google.Add as a preferred source on Google
Google's Elephant-Goldfish Model: A Free Plugin That Has AI Review Your Software Design Before the Code

The Elephant-Goldfish Model, or EGM, is a working method and a free, open-source plugin that Google released on October 22, 2026, and that thousands of its engineers use every day to ship production code. The idea is simple: a long-memory AI session (the "elephant") interviews you and writes the design document without writing a single line of code, then fresh sessions with no memory at all (the "goldfish") read the document on its own and hunt for its gaps, and you make the final call. It works with Claude Code, Codex and Antigravity, and it is licensed under Apache 2.0, so your company can use it for free. The benefit for a business owner: fewer defects in AI-written software, because the review happens before the code, not after it.

Why did Google call it "the elephant and the goldfish"?

In its official announcement, Google's team says AI tools have made coding much faster, but they have also sped up bugs, sloppy code and context collapse in long sessions. Speed without guardrails, in their words, means "auto-scaling our mistakes" rather than simply writing code faster. The team quotes Dave Rensin, one of the announcement's authors, from the essay the idea came from: "Design is the new code."

The names describe the two roles:

  • The elephant: a long session that holds the whole vision of the project and every small decision you made. No code is written there; the AI interviews you and you debate the options.
  • The goldfish: a fresh session with no memory, which reads only the document and its sources. Because it took no part in the discussion, it does not share the designer's blind spots, so it sees what was assumed but never written down.
  • You: resolve the trade-offs and approve the design before implementation starts.

The goal, as Google puts it: the AI should produce the code you wanted the first time you press Enter.

How does the plugin work, step by step?

According to the announcement, the plugin goes through three phases:

  1. Growing the elephant (egm-brainstorm): the plugin loads your project's context, applies a "no code" rule and debates the feature, the options and the assumptions with you.
  2. Drafting (egm-draft): it writes a design document with the problem definition, the technical plan, the alternatives considered and an implementation plan that names the files to change, pausing after each section for your feedback.
  3. The goldfish protocol (egm-review): three checks run by memoryless sessions:
    • Comprehension check: a goldfish reads the document and explains the plan back. If it cannot, the document is ambiguous and needs more drafting.
    • Antagonistic review: several goldfish act as skeptical reviewers, looking for edge cases, hidden dependencies and logical gaps, and send their critique back to the elephant.
    • Implementation readiness: a final goldfish makes a strict go/no-go call, checking that file paths, data structures and function signatures are present and unambiguous.

The current version on GitHub has grown beyond the announcement: it now has 8 skills, and the review runs in 5 stages. Useful ones if you already run a system: Bootstrap writes documentation for an existing codebase, Drift report compares the documents with the current code and shows what changed without being written down, and Lite fast-tracks small changes and bug fixes.

Which tools does it work with, and what does it cost?

The plugin itself is completely free; you only pay for the AI tool you already use. These are the environments listed in the repository's setup guide:

EnvironmentHow to installStatus
Claude CodeTwo command-line commandsSupported
Codex CLITwo command-line commandsSupported
Google Antigravity CLIagy plugin installSupported
ChatGPT and Codex desktop appFrom the published plugin pageSupported, desktop only
Claude Cowork and ChatGPT WorkFrom the plugin marketplaceInstalls; full verification still open

As of November 27, 2026 the repository had more than 23,000 stars and 1,700 forks, a clear sign of developer interest. Google also notes in the repository that this is "not an officially supported Google product", so there is no support desk to call; the reference is the GitHub issues page.

Try it in a minute on an existing project

You do not need to start a new project. In Claude Code, for example, you install it with two commands:

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

Then open a new session and ask for a review of an existing design document, or of a pull-request plan saved as Markdown:

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

And to see where the code has drifted away from its documents:

/egm:egm-drift-report docs/designs/

One condition matters: the review needs an environment that can open fresh subagent sessions. If yours cannot, the plugin stops the review rather than give you a half result.

What does this mean for a business owner who buys software?

Most software firms now write a large share of their code with AI. The question that matters to you is not whether they use it, but whether what it writes is reviewed before it reaches your system. This plugin points to three things to ask any supplier for:

  1. A written design document before the code: the problem, the solution, the alternatives and the files that will change, which you read and approve.
  2. An independent review of that document: by a person or a tool that did not write it, because a designer cannot see the gaps in their own design.
  3. Documentation that matches the code: after every major change, because an outdated document misleads whoever comes next.

And keep the plugin's limits in mind, as the repository itself states them: a review does not replace tests or human judgment.

How we read this at Origami

This method is close to how we already work: we write the specification before the code, review it before implementation, then test in a staging environment before production. We have written before about Antigravity's /boost command, which has a team of agents write and verify code, and about the official way to set up Claude Code. What EGM adds is that review moves one step earlier: from reviewing the code to reviewing the idea itself. If you have a system you want to develop with AI without losing control of its quality, talk to us.

  • #Elephant-Goldfish Model
  • #Google
  • #coding agents
  • #software quality

Frequently asked questions

What is Google's Elephant-Goldfish Model?

A working method and open-source plugin Google released on October 22, 2026: a long-memory AI session writes the design document, memoryless sessions review it for gaps before any code is written, and a human approves the design.

Is the Elephant-Goldfish Model plugin free?

Yes. It is licensed under Apache 2.0 and free for your company to use; you only pay for the AI tool you run it on, such as Claude Code or Codex. It is not an officially supported Google product.

Which tools does the Elephant-Goldfish Model work with?

Claude Code, Codex CLI, Google's Antigravity CLI and the ChatGPT and Codex desktop app. It also installs in Claude Cowork and ChatGPT Work, but full verification there is still open.

Does it replace human review and testing?

No. The repository itself says a review does not replace tests or human judgment. The plugin surfaces design gaps early; the decision and the testing stay with you and your team.

Have a project in mind?

We build custom systems, apps and websites for your business. Tell us your idea and we will give you a straight answer on it.

See our services

Newsletter

New articles and series, in your inbox.

Follow Origami in Google

Pin Origami as a preferred source and our articles will surface first for you in Google Search and Top Stories.

Add as a preferred source on Google