During long chat sessions, AI coding assistants absorb your conversational bias. They stop questioning unstated assumptions and quietly ratify flawed architecture.
Released by Google under Apache 2.0, Elephant-Goldfish Model (EGM) (22,800+ GitHub stars, egm.dev) splits spec-driven engineering into two distinct context roles: Design with an elephant. Review with a goldfish.
1. Elephant vs. Goldfish
- Elephant (Full Context): Keeps your project history, requirements, and earlier decisions to brainstorm and draft
concepts_brief.mdanddesign_draft.md. - Goldfish (Zero Chat History): Runs in fresh subagent contexts that only read the design document and referenced source files. If the host agent cannot spawn isolated subagents, EGM halts the review rather than faking it.
- Anti-Sycophancy Rule: Reviewer prompts explicitly ban praise words (
"brilliant","great","smart","perfect","excellent") to enforce adversarial technical scrutiny.
2. Installation
Antigravity CLI
agy plugin install https://github.com/google/elephant-goldfish-modelClaude Code
claude plugin marketplace add google/elephant-goldfish-model
claude plugin install egm@egmCodex CLI
codex plugin marketplace add google/elephant-goldfish-model
codex plugin add egm@egm3. 60-Second Review & Drift Report
# Run the 5-stage Goldfish review on an existing design doc or PR plan:
/egm:egm-review docs/designs/webhooks.md
# Compare checked-in design docs against live source code:
/egm:egm-drift-report docs/designs/4. The 5 Review Stages & 8 Skills
/egm:egm-review runs five sequential stages: Initial Zoom Out Review, Comprehension Review (document read alone), Design Critique, Intermediate Zoom Out Review, and Implementation Readiness.
The plugin ships with 8 modular skills: egm-brainstorm, egm-draft, egm-review, egm-resolve, egm-bootstrap, egm-lite, egm-review-loop, and egm-drift-report.
- Repository: github.com/google/elephant-goldfish-model
- Website: egm.dev
Interactive Roadmap & Tool
- System Design: Scaling to a Million UsersAdding servers isn't enough: a stage-by-stage System Design map of why systems fall over on a big day and how load is cut before it reaches the database.Open tool· #MİMARİ
- SQL or NoSQL?Answer six questions and I'll tell you which kind of database fits your project, and why.Open tool· #database
Come build with us.
Help when you're stuck, a second pair of eyes on your code, new tools before anyone else.