Skip to content

statelyai/agent

Repository files navigation

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
  • First-class integration with 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