Skip to Content
Live in Beta!

AI Automation Framework with Superpowers

Build AI apps in NestJS with built-in orchestration

Define complex workflows in auditable YAML templates

Monitor and control everything in Loopstack Studio

Free & open source under BSL license

NestJS + YAML + React Frontend

TypeScript for custom logic, YAML for orchestration and the built-in frontend for control.

Blocks are a central component for all Loopstack automations: providing structure, injecting tools & documents and
utilizing configuration templates for optimal modularity.

@Injectable() @BlockConfig({ configFile: './classifier.template.yaml', }) @WithArguments(z.object({ message: z.string(), })) @WithState(z.object({ classification: z.string(), })) export class ClassificationWorkflow extends WorkflowBase { @Tool() aiGenerateObject: AiGenerateObject; @Document() classificationDocument: ClassificationDocument; }

Key Features

Structured Agentic Orchestration

AI agents that loop and adapt autonomously within predefined safe execution paths. Get AI efficiency with enterprise governance and compliance.

Hybrid YAML + TypeScript

Define control flows visually in YAML for auditability, while building custom AI logic in NestJS TypeScript services. Best of both worlds.

Stateful Long-Running Workflows

Pause and resume workflows at any point for human approval. Run AI processes for days, weeks, or months with built-in checkpoints.

Visual Auditability

Every workflow is version-controlled YAML that compliance teams can review. Track execution paths, decisions, and state changes visually.

Free & Open Source

100% free under the BSL license with full self-hosting options. No vendor lock-in, no usage fees. Your infrastructure, your rules.

Production-Ready AI Templates

Start with pre-built workflows and tools for advanced AI patterns, customize or build from scratch.

How it works

transitions: - id: load from: start to: document_loaded call: - tool: loadDocument args: id: ${ args.document_id } - id: classify from: document_loaded to: classified call: - tool: aiGenerateObjectTool args: responseDocument: classificationDocument prompt: | Classify the following message: {{ args.message }}

Build

Using a declarative approach and the right level of abstraction allows you to focus on what your automation should do instead of dealing with how to implement it.

Proven Patterns

Orchestrate workflows and agents using intuitive and flexible patterns such as Pipelines and State Machines.

Modular and Extensible

Do not reinvent the wheel for common best practices and tools. Extend where custom functionality is needed.
@Block({ configFile: './chat.template.yaml', }) @WithArguments(z.object({ issue: z.string(), })) @WithState(z.object({ solution: z.string(), })) export class InteractiveHelpWorkflow extends WorkflowBase { @Tool() aiGenerateText: AiGenerateText; }

Extend

Use TypeScript to implement custom functionality and integrations. Include them seamlessly using custom Blocks for your automations.

Custom Handlers

Build custom Blocks to integrate workflows with your business processes: APIs, Databases, Models, Algorithms

Secure by Design

Validation, Sanitation and Error Handling is a core principle built-in to executing custom Blocks built for Loopstack.
Loopstack Studio

Interact

Use our ready-to-use Studio for workflow management, or integrate with your own frontend using our API and SDK.

Loopstack Studio

The built-in React Frontend is a powerful interface to execute, interact and monitor all your workflows and agent executions.

API and SDK

Use the well documented API to directly access Loopstack automations from your custom frontends. Use our TypeScript SDK for convenient integration.

Turn your work into an automated powerhouse

Loopstack is here to help. Try it today.

Supported by:

IFB IS LogoMS Startups Logo