Finite-state machine
Afinite-state machine (FSM),finite-state automaton (FSA), or simplystate machine is a mathematicalmodel of computation and anabstract machine that can be in exactly one of a finite number of states at any given time.
The FSM can change from one state to another in response to some inputs; the change from one state to another is called atransition.
An FSM is defined by a list of its states, its initial state, and the inputs that trigger each transition.
In computer science, FSM are widely used in modeling of application behavior (control theory), design ofhardware digital systems,software engineering,compilers,network protocols, andcomputational linguistics.
Here are 1,056 public repositories matching this topic...
Language:All
Sort:Most stars
Actor-based state management & orchestration for complex app logic.
- Updated
Dec 16, 2025 - TypeScript
📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pendo . Use Laudspeaker to design product onboarding flows and send product and event triggered emails, sms, push and more.
- Updated
Oct 13, 2025 - TypeScript
Django friendly finite state machine support
- Updated
Oct 7, 2025 - Python
A fast, tried-and-tested hierarchical finite state machine library for Unity, designed to be easy to use yet powerful without compromising performance.
- Updated
Apr 1, 2025 - C#
Python Finite State Machines made easy.
- Updated
Jul 1, 2025 - Python
A fast implementation of Aho-Corasick in Rust.
- Updated
Oct 28, 2025 - Rust
DFA regular expression library & friends
- Updated
Nov 27, 2025 - C
Lightweight Java State Machine
- Updated
Jun 17, 2023 - Java
Hierarchical state machines for designing event-driven systems
- Updated
Nov 29, 2025 - Rust
A collection of tools for AI Behaviour in the Godot 4 Game Engine!
- Updated
Sep 18, 2025 - GDScript
Give a brain to your game's NPCs
- Updated
May 8, 2024 - C++
A finite state machine library using ES6 promises
- Updated
Nov 24, 2021 - JavaScript
🤖 A curated list of awesome resources related to finite state machines and statecharts.
- Updated
Jun 21, 2025 - JavaScript
Rust implementation of behavior trees for deterministic AI
- Updated
Mar 6, 2025 - Rust
A Python library for simulating finite automata, pushdown automata, and Turing machines
- Updated
Nov 18, 2025 - Python
🔗WPF node editor based on ReactiveUI
- Updated
Nov 6, 2022 - C#
Statechart library and editor
- Updated
Jul 3, 2025 - C
- Followers
- 28 followers
- Website
- github.com/topics/finite-state-machine
- Wikipedia
- Wikipedia