Lore

Playground Codebase

Overview

A minimal, LLM/agent-friendly codebase kept separate from Notion's main production codebase, purpose-built for prototyping AI chat interfaces and other dynamic behavior that static Figma mockups can't capture.

Why it exists

Designers and PMs are urged to think and build directly in code — not so the code ships to production, but because working in the actual medium modern software is made of produces sharper product thinking than staying in Figma or writing traditional PRDs. A dedicated playground gives non-engineers a low-stakes, "oneshotable" sandbox matched to current model capabilities, so they can prototype dynamic AI behavior directly instead of faking it in a design tool.

Related: Agency as the AI-Era Differentiator, Vibe Coding.

Why Not Prototype in Figma

Notion built a separate "playground" codebase instead of prototyping AI chat behavior in Figma for a structural reason, not a tooling preference: static mockups — per Bret Victor's "dead fish" critique of static design artifacts — cannot capture dynamic, model-driven interaction. Only a real, running instance of the agent loop can show how the interaction actually feels, which ties the playground back to Loop Engineering as much as to product design.