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.
More from coding & agent
- Dev uses Claude to draw animated mascot GIFs frame-by-frame in code until usage runs out — jeremy_goldberg · 2026-10-16
- Bash's hidden /dev/tcp stack lets you make raw TCP calls without curl or netcat — RealGeneKim · 2026-10-16
- dair-ai explores context graphs for research tasks: LLM agents love structured data — omarsar0 · 2026-10-16
- Codex CLI v0.163.0 adds mid-response steering, parallel read-only tools and /config search — github-actions[bot] · 2026-10-16
- Hooking Codex CLI into Claude spawns a four-subagent "council" for any question — RosieCampbell · 2026-10-16
- AI-optimized MACS3 merged: 41-64x callpeak speedup via Claude Code, human-reviewed — jmschreiber91 · 2026-10-16