Design with an elephant. Review with a goldfish.
Install ·
Quickstart ·
Documentation ·
Website
Thousands of Google engineers use EGM, an open-source plugin, to draft specs with deep-context agents and stress-test them with zero-context subagents before writing code.
Elephant holds your project context and drafts the specification. Goldfish reviewers examine the draft and referenced source material without the earlier conversation, helping expose unstated assumptions and blind spots. You make the architectural trade-offs and approve the specification before implementing.
Use it when a feature needs design decisions before implementation. For a small, clear bug fix, use your normal coding workflow.
Install
Choose your coding agent or build the native Rust CLI. Install the complete plugin so its skills can read the reviewer prompts and document standards.
Native Rust CLI & Tools
A native Rust port and SDD tool suite is available in this workspace (see RUST_PORT.md):
# Build the native Rust binaries (egm and goldfish)
cargo build --release
# Run validation suite
cargo run -p egm-cli -- check
# Review a design draft
cargo run -p egm-cli -- review docs/designs/architecture.md
Antigravity CLI
agy plugin install https://github.com/google/elephant-goldfish-model
For the Antigravity App and Antigravity for IDEs (Visual Studio Code extension), run /plugin or see the installation instructions.
Claude Code
claude plugin marketplace add google/elephant-goldfish-model
claude plugin install egm@egm
Codex
codex plugin marketplace add google/elephant-goldfish-model
codex plugin add egm@egm
Start a new session after installation. For Claude Cowork and ChatGPT Work, see the setup guide.
Try your first design
Open your project in your coding agent and choose a feature that needs design decisions. This example adds webhook delivery: what should happen when a delivery fails, or the same event arrives twice?
The commands below are shown without a prefix. In Antigravity (agy CLI) and Claude Code, add the /egm: prefix, for example /egm:egm-brainstorm. On agy CLI 1.4.10 an unprefixed name is completed to the prefixed command (#220), but 1.4.8 does not (#196), so keep the prefix. In Codex, select the corresponding EGM skill from the skill picker. Brainstorming and review require a session that can create fresh subagents.
Explore the idea
/egm-brainstorm Add webhook delivery to this project.
Discuss requirements and trade-offs with the agent. Fresh reviewers challenge the proposal, and the agent saves the agreed direction in concepts_brief.md.
Draft the specification
/egm-draft
The agent turns the brief into design_draft.md, pausing after each section for your feedback in chat.
Review the draft
/egm-review design_draft.md
Use the draft path returned by the agent.
Fresh reviewers check the design, its clarity, its fit with the code, and its implementation plan. Choose which findings to address. When you approve the design, ask your coding agent to implement it.
See the workflow guide for the full process, including saving approved specifications under docs/designs/.
How it works
| Role | Context | Responsibility |
|---|
| Elephant | Your project, requirements, and earlier decisions | Explore the problem and draft the specification. |
| Goldfish | The document and its referenced source material, without the earlier conversation | Find missing assumptions, unclear requirements, and implementation risks. |
| You | The goals and constraints that matter | Resolve trade-offs, approve the design, and decide what to build. |