PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

State Machine Python Packages

Python packages with the GitHub topic state-machine. Sorted by monthly downloads, with stars and forks.
pytransitions
transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions

2.6M 7K 571
fgmacedo
python-statemachine

Expressive statecharts and FSMs for modern Python.

1.4M 1K 117
kmmbvnr
django-fsm

Django friendly finite state machine support

504K 2K 299
apache
burr

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

22K 3K 204
apache
apache-burr

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

15K 3K 204
BESSER-PEARL
besser

A Python-based AI-enhanced low-code open-source platform for smart software development

9K 194 45
gianlucamazza
mklang

A declarative language for LLM-driven state machines - the .mkl document is the program, an LLM is the runtime

5K 1 0
farmountain
hipcortex

Deterministic cognitive state substrate & world model runtime for autonomous agents. Features transactional belief updates, hybrid RK4 rollouts, and 3-tier experience consolidation via MCP & REST.

4K 5 1
Woile
fsmpy

:arrows_counterclockwise: Minimal State Machine

4K 24 2
YearsAlso
zoo-framework

In-process task orchestration for Python: scheduled, observable, stateful — no broker, no cron daemon.

4K 1 1
rlippmann
context-compiler

Deterministic state engine for managing conversation state and constraints in LLM applications.

3K 2 0
IljaOrlovs
sqlalchemy-fsm

SQLAlchemy finite state machine support

2K 20 9
smartmemory
stratum-mcp

State machine dispatch server for AI agent workflows. Typed YAML specs, MCP server (stratum-mcp), and Python library (stratum-py) — postconditions, retries, gates, and auditable execution traces for Claude Code and Codex.

2K 1 1
aleph2c
miros

Python statecharts

2K 60 4
cjohnhanson
msri

Rust e2e testing framework — test scenarios as directed graphs of filesystem states

2K 1 0
ashutoshrana
integration-automation-patterns

Enterprise integration patterns: idempotent event processing, saga orchestration, transactional outbox, and webhook validation for reliable system-of-record sync

2K 1 0
javrasya
django-river

Django workflow library that supports on the fly changes ⛵

1K 747 110
lbliii
patitas

ฅᨐฅ Patitas — CommonMark Markdown parser for Python 3.14+ with typed AST and free-threading

1K 5 1
avtomatika-ai
avtomatika

High-performance state-machine based orchestrator for managing complex AI agents and asynchronous workflows. Separates process logic (Blueprints) from execution (Workers).

1K 2 1
gbossert
pylstar

An implementation of the LSTAR Grammatical Inference Algorithm

1K 51 12
That-Tech-Geek
ain-state-compiler

AIN State Compiler is a local-first enterprise AI state compiler that continuously transforms Slack, Jira, and Gmail logs into executable, conflict-resolved operational state. Built with Python and SQLite.

1K 1 0
GabrielCpp
farrier

Your agent loop dies at 3am. stablemate's doesn't. Durable, unattended runs for Claude, Codex, Copilot, Cline and OpenCode.

1K 2 0
igareosh
fpf-thinking-map

Small MIT-licensed runtime for bounded LLM traversal, inspired by FPF and focused on practical agent behavior. ISO/IEC 25010 · 27001 · ISO 9001 aligned evidence (not certified).

1K 3 0
lbliii
rosettes

⌾⌾⌾ Rosettes — ReDoS-safe syntax highlighter for Python 3.14+ with free-threading.

1K 5 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology