Skip to main content

Import

Examples

Simple sequential workflow

Parallel steps and human-in-the-loop

API

workflow(options)

Create a workflow definition. Returns: Workflow<TInput, TOutput>

Type Reference

StepOptions

Options accepted by step.

BranchOptions

Options accepted by branch.

ParallelOptions

Options accepted by parallel.

Exports

Functions

Classes

Types

Constants

Deep imports

These import paths group focused functionality under this module. Each is a separate barrel; import only what you need.

veryfront/workflow/claude-code

Claude Agent SDK Integration Provides Claude Code agentic capabilities within Veryfront workflows. Uses your local Claude Code installation - no separate API key needed.

Functions

Classes

Types

Constants

veryfront/workflow/claude-code/react

React hooks for Claude Code streaming

Functions

Types

veryfront/workflow/discovery

Workflow Discovery Module Provides utilities for discovering workflow definitions from user code.

Functions

Types

veryfront/workflow/worker

Workflow worker module Provides distributed workflow execution support. Two execution profiles are available: 1. WorkflowWorker - In-process polling worker - Polls for stalled workflows and resumes them - Good for trusted code or single-tenant deployments - Simple setup, lower overhead 2. WorkflowRunManager + ProcessRunExecutor - Local process execution - Spawns child processes for each workflow - Good for local development without K8s/Docker A workflow run can be backed by a run executor without introducing another user-visible execution type.

Components

Functions

Classes

Types