Welcome to Loopstack
Loopstack is a TypeScript workflow framework for building stateful automations, AI agents, and interactive workflows on top of NestJS.
What You Can Build
- AI-powered workflows — Connect LLMs to tools, documents, and external services
- Multi-turn chat agents — Build conversational experiences with tool calling and message history
- Human-in-the-loop automations — Pause workflows for user review, input, or confirmation
- Data processing pipelines — Chain tools, transform data, and route dynamically based on conditions
- OAuth-integrated apps — Authenticate users with Google, GitHub, and custom providers
How It Works
Loopstack workflows are TypeScript classes that define a state machine. Each workflow has:
- Transitions — Decorated methods (
@Initial,@Transition,@Final) that move between states - Tools — Reusable logic units injected via
@InjectTool()and called directly in TypeScript - Documents — Typed data objects displayed in the Loopstack Studio UI
- Guards — Conditional routing based on state or results
Getting Started
Head to the Quick Start Guide to install Loopstack and run your first workflow in under a minute.
Last updated on