qmetrics.net

XState

JavaScript state machines, statecharts, and actors

Frameworks & PlatformsDesktop/CLI app
XState screenshot

XState models application and workflow logic with state machines, statecharts, and the actor model for JavaScript and TypeScript. The core package ships with no runtime dependencies.

Overview

XState targets complex, event-driven logic in front-end and back-end JavaScript or TypeScript code. Developers describe behavior as states, events, transitions, nested and parallel regions, history states, and coordinated actors so flows stay explicit and testable.

The main xstate package implements finite state machines and statecharts with an interpreter, plus utilities for graph traversal and model-based testing. Related packages add React, Vue, Svelte, and Solid bindings, a lightweight @xstate/store for simpler event stores, Effect integration, and a minimal xstate/fsm module for flat machines.

Design draws on the SCXML specification. Teams can author machines in code or use Stately Studio to edit visuals, export XState definitions, generate tests and docs, and collaborate; Studio is optional for using the library alone.

Documentation and examples cover hierarchical, parallel, and history states, migration guides, and templates for plain TypeScript or framework stacks. Experimental APIs can simulate pure actor systems with immutable snapshots and external effects returned as data.

Key features

  • State machines and statecharts interpreter
  • Actor model for orchestration
  • Zero runtime dependency core package
  • Framework bindings for major UI libraries
  • Lightweight @xstate/store option
  • Graph traversal and model-based testing
  • Visual authoring via Stately Studio
  • SCXML-inspired formalism

Use cases

  • Multi-step UI workflows
  • Backend workflow orchestration
  • Replacing ad hoc boolean flags
  • Modeling parallel application regions
  • Background job and process logic

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT