WhoBuilt

XState

A JavaScript library for state machines, statecharts, and visualizations.

Key facts

Founded by
Built by
Capabilities
state machine library
Open-source state machine library.
supports statecharts and visualizations
visualizer for viewing possible state machine transitions
Provides an online visualizer for viewing and trying out statecharts
JavaScript state machine library that models states, events, context, services, and actions

Timeline 8

Dated events, newest first. Open the sources under any item.

How we verify
Founded1Built1Capability6
20263 events
October
  1. as of Oct 2026Capability
    State machine library
    “XState, which is a state machine library” 0:16
    Unverified1 source· Talk
  2. Oct 12, 2026Built
    David Khourshid built XState
    creator
    “I’m the creator of XState” 0:16
    Verified3 sources· Talk
September
  1. as of Sep 2026Capability
    Open-source state machine library.
    “XState is an open-source library.” 0:42
    Unverified1 source· Talk
20251 event
  1. as of Feb 2025Capability
    Supports statecharts and visualizations
    “used for all the state charts and visualizations” 16:30
    Unverified1 source· Talk
20232 events
  1. as of Jan 2023Capability
    Visualizer for viewing possible state machine transitions
    “One of the nicest things about XState is that it has a visualizer.” 34:23
    Unverified1 source· Talk
  2. as of Jan 2023Founded
    David Khourshid founded XState
    “XState is a library created by David Khourshid” 34:23
    Unverified1 source· Talk
20211 event
  1. as of Feb 2021Capability
    Provides an online visualizer for viewing and trying out statecharts
    “They have a fancy visualizer online” 4:17
    Unverified1 source· Talk
20201 event
  1. as of Oct 2020Capability
    JavaScript state machine library that models states, events, context, services, and actions
    “a fully featured state machine library for JavaScript” 17:44
    Unverified1 source· Talk

Talks 8

11:17
Human Approval for AI Agents: State Machines

David Khourshid explains how state machines can provide deterministic control around nondeterministic AI agents. A workflow can constrain which steps an agent may take, enforce requirements such as user approval before sending an email, and make behavior easier to inspect through traces mapped to state transitions. He describes implementing this pattern as a loop that processes events, selects the next state, and runs effects, with guards and recovery paths for invalid outputs. He also discusses how Stately.ai uses AI to generate and validate state machines, and mentions LangGraph as another way to define agent logic with state machines.

Oct 12, 2026· 11 minDiscussed 0:00
15:52
AI Investigations Are a Distributed System Problem

Christopher Burns describes how his company, Inth, investigates privacy compliance issues across codebases too large to fit in a model’s context window. The system pins a codebase to a commit, uses deterministic scans to find starting points, and lets AI workers investigate evidence with limited tools and managed context. Durable workflows coordinate parallel work, retries, timeouts, and capacity while Postgres and XState track execution state. A second model reviews findings, which are then grouped and prioritized into a report developers can act on.

Sep 22, 2026· 16 minMentioned 11:41
21:17
Goodbye Slop; Welcome Determinism

David Khourshid argues that explicit state machines can make AI agents more predictable while preserving flexibility in content generation. Using an email drafter, he shows how state machines encode rules and safeguards, make workflows inspectable, and produce structured traces for evaluation. Those traces and evals can be used to propose and compare improved workflows. He also demonstrates a state machine guided by Jeb to operate a virtual espresso machine, including recovering from a broken grinder.

Sep 22, 2026· 21 minMentioned 0:42
17:10
Building Multi agent Systems with Finite State Machines

Adam Charlson explains how finite state machines and statecharts can make AI applications more predictable, traceable, and recoverable. He introduces the actor model as a way to structure concurrent systems, then shows how state machines can govern tool use, human approval, feedback, collaboration, and LLM-directed orchestration. He also describes agentic chartering, where an LLM generates a workflow for later execution. The talk argues that combining state machines, actors, and LLMs can balance reliable control with dynamic intelligence.

Feb 22, 2025· 17 minMentioned 16:30
57:57
Building in React & React Native: 5 Years Ago & Now

The guests compare how React and React Native development has changed over the past five years, especially the move from class components to function components and Hooks. They discuss how easier tooling and a stronger open source community improve the developer experience while making it important to understand performance, Context, and effects. The conversation surveys state management patterns and libraries, including Redux Toolkit, Zustand, MobX, and TanStack Query, and considers how server components and the React Compiler may affect future development. The speakers also share career advice: build JavaScript fundamentals, choose a learning path, share what you learn, and value your work.

Mar 14, 2024· 58 minDiscussed 31:21
Show 3 more talks