flows-ai
Basic Information
Flows AI is a lightweight, type-safe orchestrator library for building and running AI workflows and agent patterns. It is designed for developers using TypeScript and the Vercel AI SDK who want to compose multiple LLM calls into deterministic workflows. The project is inspired by Anthropic's agent patterns and was motivated by the authors' prior work on an agent framework called Fabrice. The library focuses on orchestration of nodes that have flexible input/output contracts, letting users connect often-incompatible components. It provides a simple functional API without classes or mutable state, and supports both explicitly defined workflows and an orchestrator agent that can dynamically decompose complex tasks. The package is published to npm and distributed under the MIT license. Documentation and examples are provided to help developers get started.