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, wrapping custom logic and
utilizing configuration templates for optimal modularity.
@Block({
imports: [LoadDocumentTool, AIGenerateObjectTool, ClassificationDocument],
configFile: './classifier.template.yaml',
properties: z.object({ message: z.string() })
})
export class ClassificationWorkflow extends Workflow {
@Output()
options = ['positive', 'neutral', 'negative'] as const;
@Input()
classification: string;
}
Examples
Build anything from sprint planners to specialized coding agents.
Analyzes pull requests for vulnerabilities, standards compliance, and performance issues while routing to appropriate reviewers.
Converts business requirements into API specifications, database schemas, and architectural documentation automatically.
Monitors transactions in real-time, flags suspicious patterns, generates investigation reports, and triggers appropriate holds or alerts.
Analyzes contracts for standard clauses, identifies risks, suggests amendments, and generates compliance checklists automatically.
Analyzes product images and sensor data, detects defects, categorizes issues, and routes items for rework or approval.
Categorizes incoming requests, suggests solutions, routes to specialists, and drafts personalized responses with full context.
Verifies policy coverage, assesses damage from photos/reports, calculates payouts, and routes complex cases to adjusters.
Monitors competitor prices, adjusts pricing based on demand, manages promotions, and maximizes margins automatically.
Build any workflow automation for your specific industry or use case. Our framework adapts to your unique business processes and requirements.
Building with Loopstack
"Automate the mundane, so engineers can create the magic."
We built Loopstack based on two main principles:
Human in the loop
The Loopstack Framework is specifically designed for complex engineering-, design-, and decision making workflows that require high precision and control by the human operator.
We believe that in real world applications, AI should augment the process and amplify the human impact but should not replace them in key decisions.
A good automation framework fosters a productive co-creation workflow of humans with AI by removing tedious and repetitive work while guiding and augmenting processes a human controls.
Maintained by engineers
Loopstack is a developer first framework that provides flexibility and structure to maintainers while being easy to understand and validate event for non-technical process owners.
We believe a mission critical automation should be built and maintained by experts using established developer workflows and tools such as version control and automated testing.
Key engineering processes should be centrally managed using reliable tools maintained by professionals. We do not believe automation should be a self-service tool that create a shadow IT within organizations.
Key Features
Connect AI models, human tasks, and evaluation steps using intuitive, declarative configurations instead of complex code.
Capture human input using forms, conversational chat and other interaction types. Use Rollback mechanisms and track document dependencies.
Develop custom tools, integrations and interaction types. Organize workflows in reusable templates and tool configurations.
How it works
transitions:
- id: load
from: start
to: document_loaded
call:
- tool: LoadDocument
args:
id: ${ workflow.args.document_id }
- id: classify
from: document_loaded
to: classified
call:
- tool: AIGenerateObjectTool
args:
responseDocument: ClassificationDocument
prompt: |
Classify the following message:
{{ workflow.args.message }}
Build
Orchestrate workflows and agents using intuitive and flexible patterns such as Pipelines and State Machines.
Do not reinvent the wheel for common best practices and tools. Extend where custom functionality is needed.
@Block({
imports: [AIGenerateObjectTool, MyHelperModule],
configFile: './chat.template.yaml',
properties: z.object({
issue: z.string(),
}),
})
export class InteractiveHelpWorkflow extends Workflow {
@Output()
system: 'You solve tasks using available tools.'
@Input()
problemSolved: boolean;
@Input()
notes: string;
}
Extend
Build custom Blocks to integrate workflows with your business processes: APIs, Databases, Models, Algorithms
Validation, Sanitation and Error Handling is a core principle built-in to executing custom Blocks built for Loopstack.

Interact
The built-in React Frontend is a powerful interface to execute, interact and monitor all your workflows and agent executions.
Use the well documented API to directly access Loopstack automations from your custom frontends. Use our TypeScript SDK for convenient integration.
Supported by:

