Your AI Agents Need Finite State Machines (FSMs)
In my previous article, I argued that AI changes the role of constraints in software development. For years, many developers saw constraints as something to minimize. Dynamic languages gained popularity over static ones. Schema-less databases promised greater flexibility. Convention replaced configuration. Implicit behavior was often preferred over explicit definitions. The motivation was understandable. Constraints felt like friction. They slowed us down. AI changes that trade-off. Today, every
