Looking to implement a statecharts-based Slack chatbot (LLM). Any pointers/suggestions? Any prior art? Raw statecharts or escapement?
Thanks Tony. I'll give it a shot with the fair expectation that the library might change over time. I've been defining tons of charts for my agentic workflows already, so I'm curious to see how the experience will differ with escapement. Curious how I an combine sc with the https://addyosmani.com/blog/loop-engineering/ idea that's gaining traction lately.
TIL of https://softo
I built escapement for internal use, but it is open-source. It has a fairly rich set of LLM “node” primitives. We’re still working out the kinks but it is better than a linear workflow for sure.
Also, escapement has a few other things: • TUI (still in development, but there) • Web-based GUI with visualizer • Human input nodes • Statechart transcript and LLM artifacts are persisted, allowing resumption/forking of the chart for a given run (allowing you to test your work with different LLMs used…you can configure the llm/params per node, so this is a big money/time saver)
so, if what you want is LLM integration with statecharts, escapement is what I’d recommend, and I try my best not to break things, but it is largely being built with (well-prompted) LLMs and heavy amounts of automated regression tests.