t8.dev

The Soft DSL: Agent Instruction Files and the Second Softening of Structured English

Files like CLAUDE.md and AGENTS.md, read as the newest member of a sixty-year line of structured-English languages: a DSL with no formal grammar, whose meaning is set by the model that reads it. A preprint, 23 pages.

status
shipped
download
PDF
licence
CC BY 4.0
entry date

At a glance

  • The object. Developers now steer AI coding agents by writing prose: a CLAUDE.md, an AGENTS.md, a skill file, a spec. No grammar or compiler defines what these files mean, yet their conventions have hardened into something you recognise on sight.
  • The name. The paper calls them a soft DSL: a domain-specific instruction language whose structure comes from authoring conventions instead of a formal grammar, and whose meaning is set by a learned model instead of a compiler.
  • Two softenings. Along a structured-English line that runs from 1966 through literate programming, Attempto Controlled English, Inform 7, Gherkin and EARS, the grammar had already loosened (Gherkin, then EARS) well before large language models. The new step is the interpreter: a file’s meaning is set by the model reading it, and the harness it runs in, and may not survive a change of model.
  • The survey. A small, descriptive survey of fourteen artifacts from nine families (agent instruction files, spec templates, and the Gherkin and EARS syntaxes) codes eight structural elements. Routing, rules and inputs turn up almost everywhere; a persona appears in only one. The coding scheme and codings are published with the paper.
  • The trade. Trading a formal grammar for conventions, and a compiler for a model, buys readability, open authorship and flexibility. It costs determinism, static checking, portability and a clean security boundary. Verification can no longer be static, and the paper names it the central open problem.
  • The limits. What the paper claims as its own is the two-axis reading, the name and the combination, not a mechanism. It does not claim the files work: the controlled evaluation it cites found no measurable gain. It says where the analogy to a real DSL gives out.

Read it

Sources