Google Open-Sources Elephant-Goldfish Plugin for Spec-First Coding
Google has open-sourced the Elephant-Goldfish Model (EGM), an Apache 2.0 plugin that adds a design and review layer to AI coding agents. EGM is not a language model or an officially supported Google product. Instead, an “Elephant” agent retains project context, drafts a specification and does not write code, while fresh “Goldfish” subagents review only the draft and referenced files.
The workflow includes /egm-brainstorm, /egm-draft, /egm-review and /egm-drift-report. The review process has five sequential stages, covering overall structure, comprehension, criticism, architecture after revisions and implementation readiness. Findings are classified as Blocker, Major or Nit, and each stage permits one re-audit. The plugin requires a harness able to start fresh subagents and uses the host’s model quota.
EGM supports environments including Antigravity, Claude Code, Codex and ChatGPT, with automated end-to-end fixtures reported for several of them. Codex 0.163.0 completed 15 fresh-context reviewers in two live tests lasting 573.13 seconds. No accuracy benchmark was published. The project notes substantial token use, while Issue #237 reports AGENTS.md instructions appearing in Codex reviewers.
Written by Sakhanda Wire AI from reporting by MarkTechPost. Facts, quotes and full context are in the original article below.