Elephant Goldfish Model (EGM)

egm.dev

Google's open-source plugin for designing and reviewing software specs with agents: an 'elephant' drafts with context, 'goldfish' reviewers check with fresh eyes.

GitHub stars
22,137
License
Apache-2.0
Language
Python
Pricing
Open source
Published
Nov 14, 2026

Next steps

What it does

EGM (Elephant Goldfish Model) is an open-source plugin from Google for AI coding assistants. The Elephant agent holds your project context and drafts the specification; Goldfish reviewers read the draft and referenced sources without the earlier conversation, which helps surface unstated assumptions and blind spots, while you make the trade-offs and approve the spec. It can also review existing design docs or PR plans and report drift between docs and code. It installs into Claude Code, Codex CLI, the ChatGPT/Codex desktop app and Antigravity, under Apache 2.0.

Elephant Goldfish Model (EGM) · Image from the official website
Image from the official website

Use cases

  • Draft a software design spec with an agent that keeps the project context
  • Have fresh-context reviewer agents check a design doc or PR plan for blind spots
  • Report drift between design documents and the current code

Frequently asked questions

What is EGM?
Elephant Goldfish Model is an open-source plugin from Google for AI coding assistants. An 'elephant' agent holds project context and drafts the specification; 'goldfish' reviewers examine it without the earlier conversation to expose unstated assumptions.
Which tools does it work with?
Claude Code, Codex CLI, the ChatGPT/Codex desktop app, and Antigravity CLI, App and IDE extension, per the README.
What can I try first?
Run /egm:egm-review on an existing design doc, or /egm:egm-drift-report on a docs folder to compare it with the code.
What license is it under?
Apache 2.0.
Log in to join the discussion