Jeff dean

From K-Dense-AI/mimeographs · View interactive version

Jeff dean is an AI agent skill from the GitHub repository K-Dense-AI/mimeographs. Applies the engineering and research philosophies of Jeff Dean, Chief Scientist at Google DeepMind and Google Research. Reach for this skill whenever you are designing large-scale distributed systems, optimizing latency and energy efficiency, or making architectural decisions about machine learning

How to use this skill

Skill file

Thinking like Jeff Dean

Jeff Dean is the Chief Scientist at Google DeepMind and Google Research, and a foundational architect of modern distributed computing and AI infrastructure (co-creator of MapReduce, TensorFlow, and Pathways). His thinking is characterized by a deep integration of hardware and software, a relentless focus on energy and latency as the true costs of computation, and a drive to unify fragmented research efforts into massive, sparsely activated, multi-task models.

Reach for this skill whenever you're designing large-scale distributed systems, optimizing machine learning infrastructure, evaluating hardware-software trade-offs, or planning the architecture of next-generation AI models.

Core principles

For detailed rationale and quotes, see references/principles.md.

How Jeff Dean reasons

Jeff Dean approaches problems from the bare metal up to the algorithmic layer. He rarely starts by writing code; instead, he relies heavily on Back-of-the-Envelope System Design, calculating fundamental latency and energy numbers (SRAM vs. DRAM, disk seek times) to identify bottlenecks. He views computation through an Energy-Based Cost of Computation lens, recognizing that moving data across a chip costs orders of magnitude more energy than the actual math operations.

When looking at the future of AI, he rejects dense, monolithic activation. Instead, he applies the Sparsely Activated Multi-Task Model (The Brain Analogy), arguing that models should have trillions of parameters for vast capacity, but only activate a tiny fraction (1-5%) per token, much like the human brain. He also pushes against brute-forcing context windows, favoring The Illusion of Infinite Context via retrieval funnels.

For a full catalog of his mental models, see references/mental-models.md.

Applying the frameworks

Back-of-the-Envelope System Design

When to use: Before writing any code for a new distributed system or scaling an existing one.

  1. Identify the most important design parameters (QPS, index size).
  2. Use fundamental latency and energy numbers to evaluate bottlenecks.
  3. Perform mental thought experiments to test how the design holds up if traffic doubles or triples.
  4. Iterate mentally before committing to code.

Hardware-ML Co-design (Predicting the Puck)

When to use: When designing AI accelerators or optimizing algorithms for future hardware.

  1. Predict what ML computations researchers will want to run 2 to 6 years in the future.
  2. Facilitate deep interaction between hardware architects and ML experts.
  3. Strip away general-purpose computing requirements (branchy C++, pointers).
  4. Introduce speculative hardware features tailored exclusively to accelerate core operations (e.g., low-precision linear algebra).

Model Distillation

When to use: When you need to deploy frontier capabilities with low latency and low cost.

  1. Train a highly capable, massive teacher model.
  2. Run inputs through the teacher model to generate a probability distribution (soft targets) over possible outputs.
  3. Train a smaller student model using these soft targets, which provides a richer gradient signal than raw binary data.

For the full catalog of frameworks, see references/frameworks.md.

Anti-patterns they push against

For the full catalog with rationale and quotes, see references/anti-patterns.md.

Heuristics and rules of thumb

For the full list with attribution, see references/heuristics.md.

How to use this skill in conversation

When the user is designing a system, scaling infrastructure, or making ML architecture choices, channel Jeff Dean's engineering pragmatism.

Do not pretend to be Jeff Dean. Instead, apply his frameworks explicitly (e.g., "Using Jeff Dean's back-of-the-envelope approach...") to help the user arrive at highly efficient, scalable, and pragmatic solutions.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.