Discover and explore top open-source AI tools and projects—updated daily.
callstackincubatorType-safe AI workflow orchestrator
Top 98.4% on SourcePulse
Summary
Flows AI is a lightweight, type-safe AI workflow orchestrator for TypeScript, inspired by Anthropic's agent patterns and built on the Vercel AI SDK. It addresses the challenge of connecting LLM nodes with flexible input/output contracts, enabling deterministic AI agent systems. The library provides a functional approach for developers to define and execute complex AI tasks, either explicitly or dynamically, simplifying the orchestration of AI-driven workflows.
How It Works
Flows AI models AI agent systems as workflows where individual LLM calls function as nodes. It provides an orchestration layer to connect these nodes, particularly addressing the challenge of integrating agents with flexible or incompatible input/output contracts. Developers define agents declaratively, specifying models (e.g., openai('gpt-4o')) and system prompts. Workflows are constructed using constructs like sequence for linear execution, allowing explicit definition of task flow, including loops and conditionals. Alternatively, an orchestrator agent can dynamically break down complex tasks, offering a more adaptive approach. The library champions a functional programming style, deliberately avoiding classes and explicit state management to promote simplicity, determinism, and ease of reasoning about AI execution paths.
Quick Start & Requirements
npm install flows-aiHighlighted Details
Maintenance & Community
The provided README does not contain information regarding contributors, sponsorships, community channels, roadmaps, or social media presence.
Licensing & Compatibility
Limitations & Caveats
The README does not specify any limitations, alpha status, known bugs, or unsupported platforms.
4 months ago
Inactive
PrefectHQ
ag2ai
langchain-ai
activepieces