I've gone down the same rabbit hole and wasn't really able to find anything. Have been thinking about building an open source alternative myself
Stately Agent is a completely open-source library for creating (LLM) agents that adhere to state machines.