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

State Machine Python Packages

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

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

2.8M 7K 571
fgmacedo
python-statemachine

Expressive statecharts and FSMs for modern Python.

1.4M 1K 106
kmmbvnr
django-fsm

Django friendly finite state machine support

632K 2K 298
dagworks-inc
burr

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

26K 2K 169
BESSER-PEARL
besser

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

15K 184 39
lbliii
patitas

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

11K 3 1
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.

10K 1 0
lbliii
rosettes

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

10K 4 0
saajunaid
junai-mcp

junai is 'Just Un-AI' routing with full AI power. Your agents stay smart. Your pipeline stays predictable. Deterministic agent pipeline for VS Code + GitHub Copilot. A Python state machine routes 23 specialised AI agents through 9 stages — no hallucinated routing, git-blameable transitions.

6K 0 0
rlippmann
context-compiler

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

6K 2 0
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.

6K 1 1
apache
apache-burr

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

4K 2K 169
IljaOrlovs
sqlalchemy-fsm

SQLAlchemy finite state machine support

3K 18 9
modelint
mi-flatland

Model text file + layout text file -> beautiful diagram

2K 4 0
msradam
theodosia

Put an AI agent on rails: mount a Burr state machine as an MCP server so the agent can only take the next allowed step, with every step recorded and replayable.

2K 15 0
KrakenNet
stargraph

Stateful agent-graph framework with deterministic governance — rules route transitions, not the LLM. Auditable, replayable. Built on Fathom.

2K 3 6
Woile
fsmpy

:arrows_counterclockwise: Minimal State Machine

2K 24 2
avtomatika-ai
avtomatika

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

2K 2 1
javrasya
django-river

Django workflow library that supports on the fly changes ⛵

2K 748 109
ashutoshrana
integration-automation-patterns

Reference patterns for reliable enterprise integration, workflow automation, and system-of-record synchronization.

1K 0 0
aleph2c
miros

Python statecharts

1K 60 4
int-brain-lab
bpod-core

A modern Python interface for Bpod Finite State Machines.

1K 5 4
amareshhebbar
truenorth-framework

Declare the outcome, skip the logic. The developer-first infrastructure engine for structured, multi-turn AI conversations with built-in safety, async follow-ups, and native compliance

999 25 0
nullhack
temple8

Spec-driven agent orchestration template. YAML state machines route multi-agent workflows. Any LLM, any process, zero lock-in.

913 11 2
    • Data from PyPI, GitHub, ClickHouse, and BigQuery