AGENT PROFILES

Stately Agent

Stately · Agent orchestration

TypeScript framework combining agent decisions with XState state machines, rules and traceable events. Version 2 is alpha.

Typical tasks

Availability in Europe
Added to the catalog on TypeScript framework combining agent decisions with XState state machines, rules and traceable events. Version 2 is alpha.Details
01

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 2
  • Replay events

    An event log reconstructs state without repeating model calls already recorded.

    Source 3
  • Check rules in advance

    Reachability checks examine modeled state rules without model calls.

    Source 2
  • Inspect runs

    A run can be connected to the Stately Inspector.

    Source 2
  • Separate 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

Offizielle Modellkonfiguration

02

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.

01

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.
02

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.
EDITORIAL EXAMPLE

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 2
  • Requirement

    Host persistence

    The application implements executors, persistence and suitable domain rules.

    Source 2
  • Requirement

    Domain review

    Outputs and actions that modify data require review appropriate to the use case.

    Source 1
03

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.

    Official source · raw.githubusercontent.com

Europe and regulation explained

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.

    Evidence
  • Documented with conditions

    Admin approval

    Approval rules for tools that write data must be set when configuring the specific agent.

    Evidence
  • Documented with conditions

    Data access & team sharing

    The scope of action follows from configured tools and their credentials.

    Evidence
04

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.

05

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.

PlanPriceIncluded
Self-operationUSD 0 licence fee

Software under MIT; compute, model calls and external services are separate.

Price source

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.

    Evidence
  • Documented with conditions

    Sign-ins

    Credentials must be available for the chosen model and tool providers.

    Evidence
  • Open in reviewed sources

    Starting further runs

    Schedules and external triggers belong to the implementation; an end-to-end operational guarantee remains unspecified.

    Evidence
  • Documented with conditions

    Human intervention

    Human review and cancellation points must be configured for the tools used.

    Evidence
  • Documented with conditions

    Detecting errors

    The implementation must handle external-service failures and validate domain results.

    Evidence
  • Open in reviewed sources

    Resuming after failures

    Persistent context must be assessed separately from resuming external actions.

    Evidence
06

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.

Read profile as Markdown

How we assess the sources

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
GitHub stars
504 · Reviewed
License
MIT
Provider sourcesSource 1 Source 2 Source 3 Source 4 Reviewed
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.