2026-11-26 15:49 UTC

Google releases open-source spec-and-review workflow for AI coding agents

state: significantheat: lowuncertainty: mediumrelevance: highgoogle-research agentic-coding spec-driven-developmentGoogleDave Rensin

What is this?

Google’s Elephant-Goldfish Model (EGM) is an Apache 2.0 open-source plugin and method for spec-driven development with AI coding agents—not a new AI model. It separates context-rich “Elephant” sessions, which help draft design specifications, from isolated “Goldfish” subagents, which review specifications against source code before implementation. The repository lists integrations for multiple agent harnesses and says EGM is not an officially supported Google product. Google’s Open Source Blog also introduces the plugin; claims about its internal use or effectiveness are not independently established by the supplied evidence.

Why it matters

EGM is a practical, open-source workflow for reducing a common risk in AI-assisted coding: agents implementing an underspecified or misunderstood design. It separates context-rich specification drafting from isolated review, and its multi-harness setup could make this approach usable beyond Google’s own development environment. Its significance is as a development method and tool—not a new model—and the supplied evidence does not establish that it improves software quality in practice.

Current assessment

Google announced Elephant-Goldfish Model (EGM), an Apache 2.0 open-source method and plugin for spec-driven development with AI coding agents, not a new model. Context-rich Elephant sessions draft specifications; isolated Goldfish subagents review them before implementation. The repository lists multiple agent-harness setup paths and says EGM is not an officially supported Google product. The workflow is available to experiment with, but no supplied evidence independently establishes quality gains or broader adoption. Discussion has questioned whether it adds value beyond simpler review subagents or stronger reasoning models; those views are not validated by results. A recent discussion spike has since cooled and does not change the assessment.

Measured heat

now 0 pts/hpeak 14 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 815h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-23 16:30 (minted)⭐ origin echo-reconstructedThe repository describes an open-source plugin for AI coding agents: context-rich Elephant sessions draft specifications, and isolated Goldf
Google on github (echo) · attributed from hn.story.50211353 · published time unknown
—
10-23 16:13first on hacker news · published · lag ?Elephant-Goldfish Model (EGM)
qainsights
—
10-31 22:27first on r/ClaudeAI · published · lag ?For over a year I've spent a full day writing a Markdown spec before prompting Claude. Google just open-sourced the "Elephant-Goldfish Model" that takes this 10x further
derekleeth
—
10-23 16:13amplified on hacker newshn.story.50211353
qainsights
peak 2 · 1 comments · 1% of case engagement
10-27 05:55amplified on hacker newshn.story.50255141
tmlee
peak 2 · 0 comments · 0% of case engagement
10-30 02:09amplified on hacker newshn.story.50299033
simonpure
peak 1 · 0 comments · 0% of case engagement
10-31 22:27amplified on r/ClaudeAI 👑reddit.post.1xkn61s
derekleeth
peak 598 · 98 comments · 81% of case engagement
11-02 06:57amplified on hacker newshn.story.50333868
endangeredhuman
peak 1 · 0 comments · 0% of case engagement
11-08 03:50amplified on hacker newshn.story.50410270
pella
peak 1 · 0 comments · 0% of case engagement
1 more amplifiers in ainews.case_chain
10-23 16:26our radar first saw it · lag ?discovery anchor: hn.story.50211353—
pace: p90 vs 879 stories at the 720h mark (now 815h old) — ahead of global-data-center-water-resistance (1.0x), behind brain-organoids-braille-biohybrid-computing (1.0x)

Evidence (8) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnElephant-Goldfish Model (EGM)
Retrieved article excerpt

Open article · Retrieved 2026-10-23T16:28:46.572559+00:00

# Elephant-Goldfish Model (EGM)

[License](https://github.com/google/elephant-goldfish-model/blob/main/LICENSE)
[Website](https://egm.dev)

Elephant-Goldfish Model (EGM) is an open-source plugin for Spec-Driven Development with AI coding agents. Deep-context Elephant sessions draft specifications, and isolated zero-context Goldfish subagents stress-test them before you write code.

## Install

| Harness | Install |
| --- | --- |
| **Any AI agent** | Ask your agent: `Install https://github.com/google/elephant-goldfish-model` |
| **Antigravity** | `agy plugin install https://github.com/google/elephant-goldfish-model` (or `/plugin` in IDE) |
| **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` |
| **Claude Cowork / ChatGPT** | See [Harnesses](https://github.com/google/elephant-goldfish-model/blob/main/docs/harnesses.md) for desktop and workspace setup |

## Quickstart

1. **Ideate & Stress-Test**: Run `/egm-brainstorm` to explore problem boundaries and test early concepts with a Goldfish swarm.
2. **Draft**: Run `/egm-draft` to convert the concept brief into a living design document under `docs/designs/<feature>.md`.
3. **Review & Resolve**: Run `/egm-review docs/designs/<feature>.md` to run the multi-stage Goldfish reviewer swarm.
4. **Submit & Implement**: Submit the verified design doc via pull request and implement code against the approved specification.

In Claude Code, commands use the `/egm:` prefix (for example `/egm:egm-brainstorm`).

For detailed setup guides and walkthroughs, see [Getting Started](https://github.com/google/elephant-goldfish-model/blob/main/docs/getting_started.md), [Harnesses](https://github.com/google/elephant-goldfish-model/blob/main/docs/harnesses.md), and [Framework Architecture](https://github.com/google/elephant-goldfish-model/blob/main/docs/designs/architecture.md).

## Skills

| Skill | Command | Description |
| --- | --- | --- |
| **Brainstorm** | `/egm-brainstorm` | Zero-doc ideation tool using a multi-lens Goldfish shootdown swarm to stress-test early concepts. |
| **Draft** | `/egm-draft` | Iterative, section-by-section markdown design specification compiler. |
| **Review** | `/egm-review` | Multi-stage verification pipeline orchestrator (Zoom Out -> Comprehension -> Critic -> Readiness). |
| **Review Loop** | `/egm-review-loop` | Concurrent review subagent dispatch engine supporting direct and hierarchical dispatch. |
| **Review Resolve** | `/egm-resolve` | Interactive triage and automated patch application engine for review findings. |
| **Drift Report** | `/egm-drift-report` | Sequential AST scanner detecting divergence between checked-in specs and live code. |
| **Bootstrap** | `/egm-bootstrap` | Recursive bottom-up codebase documentation generator and sentinel-block upserting engine. |

## Philosophy

EGM uses two animal metaphors to structure AI agents across the software development lifecycle:

- 🐘 **The Elephant (Remembers Everything)**: Deep-context agents load system history, architecture diagrams, component boundaries, and user journeys. The Elephant runs structured brainstorming, probes operational limits, and drafts comprehensive specifications.
- 🐠 **The Goldfish (Zero-Context Memory)**: Stateless, isolated subagents read only the draft spec and live source code, without conversational bias. The Goldfish swarm stress-tests designs from conflicting perspectives. Personas in `agents/` include Design Critic, Naive Reader, Tech Lead, Codebase Auditor, Structural Validator, Style Editor, and Zoom Out Architect.
- 🧑‍💻 **The Human (Owns the Outcomes)**: AI is an exploration partner and automated auditor, while human engineers own architectural decisions, trade-offs, and final outcomes.

For the foundational essay introducing this methodology, see Dave Rensin's article: [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874).

## Contributing

We welcome community contributions! Please review [Harnesses](https://github.com/google/elephant-goldfish-model/blob/main/docs/harnesses.md) and our [Contribution Guidelines](https://github.com/google/elephant-goldfish-model/blob/main/CONTRIBUTING.md) before submitting pull requests.

## License

Apache 2.0 License applies to this project - see the [LICENSE](https://github.com/google/elephant-goldfish-model/blob/main/LICENSE) file for details.

This is not an officially supported Google product.
qainsights21
🟧 echo.github ⭐The repository describes an open-source plugin for AI coding agents: context-rich Elephant sessions draft specifications, and isolated GoldfGoogle——
🟧 hnElephant Goldfish Modeltmlee20
🟧 hnElephant-goldfish-model: skills for designing and reviewing software with agentssimonpure10
🟠 redditFor over a year I've spent a full day writing a Markdown spec before prompting Claude. Google just open-sourced the "Elephant-Goldfish Model" that takes this 10x further
ClaudeAI
derekleeth59898
🟧 hnElephant-Goldfish Model from Googleendangeredhuman10
🟧 hnElephant-Goldfish Model (Agent Skill)pella10
🟧 hnElephant-Goldfish Model_tk_6222

Interpretation history

Decision trace