Igor Plotnikov
Igor Plotnikov
HomeBooksProjectsAbout
Sign in

What the Spec Didn't Tell the Agent

Getting the software you actually asked for.

Igor Plotnikov's avatar
Valentyn Kamyshenko's avatar
Igor Plotnikov and Valentyn Kamyshenko
Nov 26


In his last post Igor said he mostly just talks to the agent. He talks to it about the product, its states and rules. The agent writes them down as a spec, and the compiler checks it.

We’ve put together a book about how to work this way.

The beta is open: read it here!

Specs were always the boring part. Once the code started moving, nobody kept them current. Agents made that worse, because English is now the programming language, and English is ambiguous.

“Only bill active members.” Does a grace period count? What about a member who cancelled but still has paid access? The agent picks one reading, writes the code and the tests from it, and everything passes.

The book shows how to put the requirements that matter into Agda, where the compiler checks them, and then compile that spec into an oracle to test the real code against.

The agent writes the Agda. You read it and decide if it says what you meant.

Every chapter starts with something that broke in software we built with agents.

It’s a beta, so tell us what’s unclear or wrong. Select any sentence in the reader to comment. No account needed.

Discussion about this post

User's avatar
Igor Plotnikov's avatar
Igor Plotnikov
1d

The book is published!

https://leanpub.com/what-the-spec-didnt-tell-the-agent

Reply
Share
Irina Plotnikova's avatar
Irina Plotnikova
7d

It's way to go !

Reply
Share

Keep reading

Igor Plotnikov

Thoughts about technology, science and other stuff

  • About
  • Archive
  • Sitemap
© 2026 Igor Plotnikov · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.