Hey all! 🤘 I've been working on a Kotlin Multiplatform library called Telar, and it's finally at the point where I'd like other people to poke at it.
It's for building AI agents and workflows as graphs. I liked how LangGraph does it in Python and wanted the same in Kotlin, but running on a phone or in the browser too, not just on a server. So I wrote my own. Your state is a plain data class, a node is a suspend function that returns a copy of it, and you connect the nodes with arrows. Loops, parallel nodes, checkpoints and "wait here until a human says yes" are built in.
It's an early alpha, so the API will still move. If you try it and something feels off, I'd really like to hear it.
Repo:
github.com/deeptelar/telar
There's also a little pizza game in the browser where every stage is a Telar graph (Compose for Wasm, no API key needed):
deeptelar.github.io/telar-demo