The configuration reminds me a lot of XState, which has a beautiful visualizer/simulator (with a new version on the way I think): https://stately.ai/viz
Yes, it looks similar to XState. When I built it, I didn't know of XState, but of course, I did use a lot of AI to create this, so the configuration is similar to XState.
But my plan is to see if there is opportunity with this elsewhere, orthogonal to what stately seems to be doing.
In my opinion this is a good thing. It's a really well-designed API. It's easily my favourite approach to defining state machines that I've encountered across several languages.
9 comments
[ 2.6 ms ] story [ 30.5 ms ] threadThis is cool too! I love state machines.
Yes, it looks similar to XState. When I built it, I didn't know of XState, but of course, I did use a lot of AI to create this, so the configuration is similar to XState.
But my plan is to see if there is opportunity with this elsewhere, orthogonal to what stately seems to be doing.
In my opinion this is a good thing. It's a really well-designed API. It's easily my favourite approach to defining state machines that I've encountered across several languages.
> see if there is opportunity with this elsewhere
Any plans to share yet? This sounds interesting!
Actually I didn't know of XState when I built this, I had built this for my own workflow.
I did use AI to build this, so credits to AI for coming up with the right model, inspired by XState.
My plan is to build a slightly orthogonal version of what stately / xstate offers, even though right now it looks similar.
You can check out eigenarc.com for how I'm thinking of this.