An elephant's eye, close up

We’ve all been there: you spend an hour prompting an AI, feeding it every detail of your project, and it finally produces a plan that looks perfect. But there's a catch. Because the AI has the same 'inside baseball' context you do, it often misses the glaring gaps and unstated assumptions that a fresh pair of eyes would spot instantly.

The Memory Paradox

Enter the Elephant-Goldfish Model (EGM). Originally developed internally at Google and now open-sourced, EGM isn't just a technical tweak—it's a cognitive strategy. The "Elephant" is your primary AI session. It has the long-term memory, the project history, and the deep context needed to draft a complex specification.

Testing Against the Goldfish

Here is where it gets clever: the "Goldfish." Once the Elephant drafts a plan, EGM introduces fresh AI reviewers—the Goldfish—who have absolutely no access to the preceding conversation. They see only the final document.

By stripping away the conversation history, the Goldfish agents act as a rigorous quality check. If a Goldfish finds a step confusing or a requirement missing, it means the Elephant relied too heavily on implicit context. This "feed the Elephant, test it against the Goldfish" loop forces the AI to produce documentation that is actually trustworthy and self-contained.

A New Era of Engineering

From Google software engineers to community-led workflows for Claude and Gemini, this model is shifting how we think about AI collaboration. It moves us away from a single, monolithic chat and toward a system of checks and balances.

As we enter this new golden age of software engineering, the goal isn't just to have an AI that remembers everything, but to have one that knows exactly what it hasn't explained.

Sources

Media