X-Reason

Convert natural language problem descriptions into executable XState machines with AI-driven task decomposition

Dynamic State Machine Generation
Natural Language Input
Task Decomposition
XState Generation
Visual Debugging

How It Works

X-Reason transforms natural language problem descriptions into executable XState machines through AI-powered task decomposition. Simply describe what you want to build, and the system generates a complete state machine with error handling, transitions, and context management.

Technical Process

1

Problem Analysis

AI analyzes your problem description and identifies key components, requirements, and constraints.

2

Task Decomposition

Complex problems are broken into atomic tasks with clear inputs/outputs and dependencies.

3

State Machine Generation

Generates production-ready XState v5 machines with error handling, parallel execution, and persistence support.

4

Built-in Visualization

Every generated machine includes a floating visualization widget for real-time debugging and state inspection.

Real-time State
Context Inspection
No External Tools

Architecture

AI Reasoning Engine

Multi-provider AI (OpenAI GPT-4o, Gemini 2.0) for task analysis and decomposition

State Machines

XState v5 with pause, resume, and persistence

Backend Storage

Local memory (with planned support for Palantir OSDK and Convex)

Domain Examples

Chemical Engineering (Chemli)
Product engineering workflow with formula manipulation and testing phases
User Registration (Regie)
Multi-step registration flow with validation, plan selection, and confirmation