A Software Library with No Code

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story. The source provided limited text, so this summary is brief.

Why it matters

It suggests published conformance test suites plus a spec could replace distributing source code, letting teams generate and verify libraries on demand with any coding agent.

Read this as

Developer Drew Breunig built a small software tool called "whenwords" that formats time as human phrases like "3 hours ago", but it contains no actual code. Instead it ships only a written specification, an instructions file called AGENTS.md, and tests in a YAML file that check any implementation against the spec. An AI coding assistant reads these and writes the code on demand in whichever language you ask. Simon Willison highlights it as evidence that good tests alone can go a long way with today's coding agents.

A developer has shown that a software library can ship as just a specification and a conformance test suite, with AI coding agents generating working code in any language on demand. This hints at a shift in how small libraries are distributed and maintained, reducing packaging overhead. The timing matters because coding agents are now accurate enough that tests alone may substitute for shipped source. No adoption numbers, licensing details, or real-world case studies are provided.

Drew Breunig's "whenwords" library for relative time formatting (e.g. "3 hours ago") ships zero source code: a carefully written specification, an AGENTS.md instruction file, and a collection of conformance tests expressed in YAML. The consumer passes this bundle to any coding agent, requests a target language, and receives a generated implementation validated against the tests. Willison connects this to his "year of conformance suites" argument that language-independent tests drive agent output. Limitations: the article gives no benchmarks, error rates, or comparison of agent performance across models.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Simon Willison Drew Breunig whenwords AGENTS.md YAML

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading