Skip to content
Agentmart
Submit a tool

Stately Agent

XState library where agent logic is a state machine, so a model can only pick events the machine allows.

Harness by Stately

IndexedMIT★ 484
Write a review

Install

From the package registry. Read the repository before you give any tool access to your data.

npm install @statelyai/agent

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Stately Agent models an LLM agent as an XState state machine: the machine defines which actions are allowed, and the model proposes an event that the machine accepts or rejects. The application chooses the model, runs the requests and stores the state, and the machine can be tested without an API key. The package is in alpha, and optional executors exist for the Vercel AI SDK, the OpenAI SDK and TanStack AI.

Use cases: agent-orchestration

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Fact sheet

Languages
TypeScriptREADME
Packages
@statelyai/agent (npm)README
Multi-agent
YesREADME
Orchestration
graphREADME
Model providers
openaiREADME
Maturity
ExperimentalREADME

Facts extracted by Claude Haiku 5.5 from the linked sources on Oct 24, 2026. Wrong fact? Tell us.

Alternatives

Frameworks for the same language with a similar way of orchestrating agents.

Signals

Stars
484
Forks
26
Open issues
6
Last commit
Oct 24, 2026 (4 days ago)
Last release
Sep 28, 2024 (2 years ago)

From GitHub (fetched Oct 24, 2026).

Details

Packages
npm @statelyai/agent
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

Stately Agent. Agent Mart. https://agentmart.dev/harnesses/stately-agent (last updated 2026-10-24)