← all repositories

henryqin1997/statem

StateM is a command-line state machine for running long-lived AI agents reliably.

★1.4k stars Python AgentsCoding Assistants
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

StateM turns an agent workflow into an inspectable graph of states, transitions, and executable checks. It structures planning, execution, verification, repair, and handoff as discrete states instead of a single long prompt, helping long agent runs stay on track. The project is written in Python and ships as a CLI, with published benchmark results on Terminal-Bench 2.1.

Frequently asked

What is henryqin1997/statem?
StateM is a command-line state machine for running long-lived AI agents reliably.
Is statem open source?
Yes — henryqin1997/statem is open source, released under the Apache-2.0 license.
What language is statem written in?
henryqin1997/statem is primarily written in Python.
How popular is statem?
henryqin1997/statem has 1.4k stars on GitHub.
Where can I find statem?
henryqin1997/statem is on GitHub at https://github.com/henryqin1997/statem.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.