@statelyai/agent
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

Stately Agent

Stately Agent is a flexible framework for building AI agents using state machines. Stately agents go beyond normal LLM-based AI agents by:

  • Using state machines to guide the agent's behavior, powered by XState
  • Incorporating observations, message history, and feedback to the agent decision-making and text-generation processes, as needed
  • Enabling custom planning abilities for agents to achieve specific goals based on state machine logic, observations, and feedback
  • Wrapping the Vercel AI SDK to easily support multiple model providers, such as OpenAI, Anthropic, Google, Mistral, Groq, Perplexity, and more

Read the documentation: stately.ai/docs/agents

Package Sidebar

Install

npm i @statelyai/agent

Weekly Downloads

1,241

Version

1.1.6

License

MIT

Unpacked Size

222 kB

Total Files

54

Last publish

Collaborators

  • sky-release-bot
  • mellson
  • davidkpiano