# elephant-goldfish-model

> Open-source plugin for designing and reviewing software with AI agents.

- Type: agent or tool
- Field: Coding & Development
- Repository: https://github.com/google/elephant-goldfish-model
- GitHub stars: 23391
- Licence: Apache-2.0
- Language: Python
- Last push: 2026-11-25
- Page: https://imutechz.in/agents/elephant-goldfish-model

## What it is
EGM is an open-source plugin for AI coding assistants that separates design from review. An "elephant" agent holds your project context and drafts a software specification, while "goldfish" reviewers examine the draft and referenced source material without the earlier conversation to expose unstated assumptions and blind spots. You resolve trade-offs and approve the specification before implementation.

## Features
- Elephant agent drafts specifications with full project context
- Goldfish reviewers check drafts in fresh contexts without prior conversation
- Built-in draft and design-review workflow for software specifications
- Drift report compares design documents against current source code
- Review existing design docs, READMEs, or PR plans saved as Markdown
- Installable as a plugin for Claude Code, Codex CLI, and Antigravity

## Best for
- Drafting and reviewing software specifications
- Checking design documents for drift against live code
- Reviewing a PR plan saved as Markdown
- Exploring requirements and trade-offs before implementation

## Pros
- Separates context-rich drafting from fresh-eyes review
- Works across several coding agents including Claude Code and Codex CLI
- Can review existing documents without writing a new specification
- You approve the design before implementation

## Cons
- Goldfish reviews require an agent that can create fresh subagent contexts; EGM stops the review otherwise
- Bootstrap and drift reporting apply only to software codebases
- The built-in draft and design-review workflow targets software specifications

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

## Usage
```
/egm:egm-review docs/designs/webhooks.md
```

Tags: ai-agents, coding, software-design, specification, code-review, claude-code, codex, plugin
