Skip to Content
Loopstack AI Logo

The AI framework.

Loopstack AI is a TypsScript based framework leveraging YAML workflow definitions for reliable and maintainable AI applications. Made for developers, secure by design.

Free & open source under BSL license

Modular and Secure by Design

NestJS + Custom TypeScript + Declarative YAML

workflow.ts
@Workflow({
  configFile: './config.yaml',
})
export class ClassificationWorkflow {

  @Input({
    schema: z.object({
      message: z.string(),
    })
  })
  args: { message: string }

  @InjectDocument() classificationDocument: ClassificationDocument;
  @InjectTool() aiClassify: AiClassify;
  @InjectTool() notifyTool: NotifyTool;

}

Workflows

Workflows are the central component defining tools, documents or sub-workflows available to the automation. Zod schemas validate and transform inputs, outputs, and manage state.

Learn more

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.

Run and Interact in the browser

Use the built-in ReactJS frontend for running, debugging and organizing automations.

Loopstack Studio workflow example 1

Community Registry

Ready made templates, tools and integrations. Install with a single command.

Terminal
$ loopstack add <package-name>

Supported by:

IFB IS LogoMS Startups Logo