State machines are underrated and agents are great at writing them, says David Khourshid

TejasKumar_ · x · 2026-10-16

David Khourshid argues state machines are super underrated: they make complex logic explicit, make impossible states impossible — and today's agents are extremely good at generating them. Tejas Kumar loudly endorses. The takeaway is a practical engineering pattern: have agents produce state machines to manage complex app logic with determinism plus AI productivity.

Original post →

More from coding & agent

coding & agent channel →