@statelyai/flow
v0.0.1
Published
A lightweight TypeScript library for defining composable, type-safe workflows with plain async functions.
Readme
AgentFlow
Work in progress — a lightweight TypeScript library for defining composable, type-safe workflows with plain async functions.
AgentFlow lets you orchestrate multi-step flows by composing simple functions into declarative, testable flows. Think of it as a tiny state machine.
✨ Features
- ✅ Composable steps — each step is just an async function you can test in isolation
- ✅ Declarative orchestration — define what happens after each step completes
- ✅ Type-safe transitions — transitions between steps are fully inferred
- ✅ Lightweight — no runtime dependencies
- ✅ Future integration — designed to integrate naturally with Vercel AI SDK
