Daniel Lemire proposes 'ephemeral testing': judge your library by building throwaway layers with AI
lemire · x · 2026-10-05
Computer scientist Daniel Lemire proposes ephemeral testing, a software quality method that was unthinkable before AI agents:
- Write your component, then have an AI agent build applications or extra layers on top of it and test what it built. You assess not the original work directly, but the quality of software built on top.
- It's a form of integration testing where the upper layers are entirely throwaway.
- The signal: a library with a clean API, stable invariants, and useful errors lets agents produce working software quickly; hidden state, surprising defaults, or incomplete docs produce piles of patches and failures — and those failures are evidence about your code, not the agent.
- Repeatable across different agents and tasks on the same foundation.
- Instead of anticipating upper-layer needs while building the core, you simulate them by actually building them.
Lemire says he applies this trick across projects, prototyping what might later be built atop a proposed feature before committing to it.
More from coding & agent
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29