What it does
5 features
Stately Agent · State-machine-based agent framework, alpha.
Product and access
Agent framework from the Stately/XState ecosystem; the current next line assessed here differs from older examples.
Core features
5 Funktionen aus Anbieterquellen · abgeglichen am 16.11.2026. Verfügbarkeit und Grenzen stehen direkt darunter.
Model allowed steps
The model proposes events; states and guards determine permitted next steps.
Source 2Replay events
An event log reconstructs state without repeating model calls already recorded.
Source 3Separate executors
The host executes model and tool requests while the machine owns control flow.
Source 2
Usable AI models
Open choice
The host chooses models and executes requests. Adapters for the Vercel AI SDK, OpenAI SDK and TanStack AI are documented; custom executors can use the same state machine. Model freedom depends on the selected executor.
Model families named
- OpenAI (GPT)
- Other models can be connected freely
- Model choice
- You choose
- Your own API key
- Yes
- Router or custom endpoint
- Not stated
- Local models
- Not stated
The rating covers the generally available main access. Partly documented · Sources accessed on
Does it fit my task?
2 practical tasks · 3 requirements and limits
A good fit if …
- you want to embed agent decisions in testable state workflows
- you want to define permitted agent actions with states and guards
- you want to inspect and replay executions through event logs
Less suitable if …
- you need a ready-made domain product with stable APIs
- you want to use agents without modeling states, executors and storage
Editorial assessment based on provider documentation. Not a product test.
Practical tasks
Editorial examples based on documented features. No product tests performed.
Model approval within limits
- Your input
- States, allowed actions and domain limits.
- Possible result
- An agent whose model decisions follow the modeled transitions.
- What to check
- Test guards and resumption using suitable scenarios.
Replay a run
- Your input
- A saved event log and matching machine version.
- Possible result
- Reconstructed state without repeating recorded model calls.
- What to check
- Compare reconstructed context with the original result.
Model approval within limits
Your possible prompt
Design a process for new requests: capture information, sort it by topic, and create a proposed response. Plan an approval step before external actions.
Adjust the task, data and permissions.
Requirements and limits
Limitation
Alpha dependencies
Stately Agent 2 and the related XState line have changing APIs and matched version requirements.
Source 2Requirement
Host persistence
The application implements executors, persistence and suitable domain rules.
Source 2Requirement
Domain review
Outputs and actions that modify data require review appropriate to the use case.
Source 1
Can I use it?
With requirements
Europe & regional availability
Access and data processing are assessed separately.
Reviewed scope: Stately Agent · documented product access
Reviewed on:
With requirements
Access and regional conditions
Source code and documented installation are publicly available. With self-hosting you choose storage locations; model and tool providers have separate terms and data flows.
Region, reason and source
Region covered: EU/EEA, United Kingdom and Switzerland
Documented reason: Deployment, licence and terms of connected services govern access.
Accounts & permissions
Based on provider documentation. Permissions depend on the account, integration and organization policies. Review the permissions actually requested before use.
Configuration covered: Stately Agent · Account and permissions
Sources reviewed:
Show all 3 points
Documented with conditions
Account used
The operator configures their own model and tool credentials.
EvidenceDocumented with conditions
Admin approval
Approval rules for tools that write data must be set when configuring the specific agent.
EvidenceDocumented with conditions
Data access & team sharing
The scope of action follows from configured tools and their credentials.
Evidence
Memory and conversation continuity
2 of 6 criteria documented
Event logs and snapshots retain execution state; personal memory must be added by the application.
Stately Agent · documented access
Sources accessed:
Documentation by criterion
StorageDocumented
Storage and scope
An append-only event log stores external inputs; the host selects storage.
SelectionDocumented
Selection and timing
The runtime logs accepted events and recorded results.
Edit & deletePartly documented
Inspect, edit and delete
Replay and forks enable analysis; a personal-memory editor remains unspecified here.
Access boundariesPartly documented
Agent and channel boundaries
threadId and host storage structure histories; access separation remains the host’s responsibility.
RetrievalPartly documented
Retrieval
Replay reconstructs state from stored events; personal semantic memory retrieval remains unspecified here.
New conversationsPartly documented
Session reset and compaction
Snapshots and logs support continuation; a separate mechanism for compacted personal knowledge remains unspecified here.
Cost and effort
1 plan · Prices as of 16 November 2026
Prices and included usage
Pricing checked
Software under MIT without a licence fee; model use and self-hosting incur additional costs.
| Plan | Price | Included |
|---|---|---|
| Self-operation | USD 0 licence fee | Software under MIT; compute, model calls and external services are separate. |
Setup
Install compatible alpha packages, model states and rules and connect executors for models and tools.
Operation & oversight
Based on public provider documentation. Assessments are editorial inferences from the stated properties. Actual time requirements and reliability have not been measured.
Deployment covered: Stately Agent · Execution and continuation
Sources reviewed:
Editorial assessment
Editorial assessment of documented access. Operational responsibility and open points are given per criterion.
Show all 6 points
Documented with conditions
Files and working state
An append-only event log stores external inputs; the host selects storage.
EvidenceDocumented with conditions
Sign-ins
Credentials must be available for the chosen model and tool providers.
EvidenceOpen in reviewed sources
Starting further runs
Schedules and external triggers belong to the implementation; an end-to-end operational guarantee remains unspecified.
EvidenceDocumented with conditions
Human intervention
Human review and cancellation points must be configured for the tools used.
EvidenceDocumented with conditions
Detecting errors
The implementation must handle external-service failures and validate domain results.
EvidenceOpen in reviewed sources
Resuming after failures
Persistent context must be assessed separately from resuming external actions.
Evidence
Evidence and open questions
6 sources · 0 open points
Sources and evidence
Official product documentation reviewed. Workflows and assessments are editorial; hands-on product tests are outside the scope of this directory.
Editorial team: Michael Meierhoff · sources reviewed on . Provider information is not independent evidence of performance.
Provider
Stately develops XState and related tools. Its official site lists 3.2 million weekly downloads and 338,000 dependent repositories for XState; these figures concern the provider ecosystem, while Stately Agent 2 is labelled alpha.
- Operator
- Stately
- Organization
- Software project
- Website
- stately.ai
- Repository
- statelyai/agent
- GitHub stars
- 504 · Reviewed
- License
- MIT
Changes to this profile 1
TypeScript framework combining agent decisions with XState state machines, rules and traceable events. Version 2 is alpha.
These notes describe editorial changes. Source and pricing review dates appear in their respective sections.
