The Vellum Workflow Server is a Python library for building and hosting AI workflows. It provides a framework to define, execute, and serve complex LLM-based pipelines with features like node-based DAGs, retries, observability, and API endpoints. Current version: 1.14.7. Release cadence: frequent updates (weekly/biweekly). Requires Python >=3.9, <4.
pip install vellum-workflow-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a simple workflow with input, prompt (GPT-4), and output nodes, then executes it.
Replace 'from vellum import ...' with 'from vellum_workflow_server import ...'. Also update requirements.txt.
Use os.environ.get('VARIABLE_NAME') or set keys in code (not recommended for production).Use provided node classes or extend their subclasses.
For async, ensure event loop is running and use await workflow.arun().