Skip to Content
DocumentationLearnCapabilities

Capabilities

Quick reference for what Loopstack can do. Each entry links to the relevant build guide.

AI & LLM

CapabilityDescriptionGuide
Text generationCall Claude, OpenAI, or other LLMs with prompts or message historyText Generation
Structured outputForce LLM to return data matching a JSON SchemaStructured Output
Tool callingLLM decides which tools to invoke (function calling)Tool Calling
Multi-turn chatConversation loops with message accumulationChat Flows
AI agentsAutonomous tool-calling loops with error recoveryAgent Workflows
Multi-providerUse Claude and OpenAI in the same app, switch per-callLLM Providers
StreamingReal-time token streaming to the UILLM Providers
Prompt templatesHandlebars templates for dynamic promptsTemplates

Workflow Patterns

CapabilityDescriptionGuide
State machinesTyped state, automatic persistence, transitions between placesWorkflows
Human-in-the-loopPause for user input, forms, confirmationsHuman-in-the-Loop
Sub-workflowsLaunch child workflows, receive results via callbacksSub-Workflows
Dynamic routingGuard-based conditional branching with prioritiesDynamic Routing
Error handlingAuto-retry with backoff, custom error places, manual retryError Handling
State managementTyped state interface, persistence across pausesState Management

Tools & Documents

CapabilityDescriptionGuide
Custom toolsReusable logic with Zod schemas, injectable into workflowsTools
Custom documentsTyped UI components with forms, code editors, buttonsDocuments
Task toolsTools that launch sub-workflows (for agent delegation)Sub-Workflows

Integrations

CapabilityDescriptionGuide
OAuth 2.0Provider-agnostic OAuth with Google and GitHub built-inOAuth
Docker sandboxesRun untrusted code in isolated containersSandbox
Secrets managementRequest and store API keys/tokens from users at runtimeSecrets
Programmatic executionTrigger workflows from APIs, webhooks, cron jobsProgrammatic Execution

UI & Studio

CapabilityDescription
Visual workflow monitoringWatch workflow execution in real-time
Chat interfaceprompt-input widget for conversational UIs
Form widgetsText, textarea, select, slider, code-view, radio, checkbox
Document actionsButtons that trigger workflow transitions
Conditional widgetsenabledWhen shows/hides UI based on workflow state
Sub-workflow embeddingLinkDocument displays sub-workflow progress inline

Extensibility

CapabilityDescriptionGuide
Custom LLM providersImplement LlmProviderInterface for any LLM APICreating LLM Providers
Custom OAuth providersImplement OAuthProviderInterface for any OAuth serviceCreating OAuth Providers
Registry packagesBrowse and install pre-built tools and workflowsRegistry

Tech Stack

  • Runtime: Node.js, TypeScript, NestJS 11
  • Database: PostgreSQL (TypeORM), Redis (ioredis, BullMQ)
  • Frontend: React 19, Vite, Tailwind CSS, Radix UI
  • LLM SDKs: Anthropic SDK, OpenAI SDK
  • Package manager: npm with workspaces
Last updated on