> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.vellum.ai/developers/workflows-sdk/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vellum.ai/_mcp/server. # Workflows SDK ## Docs - [Workflows SDK](https://docs.vellum.ai/developers/workflows-sdk/introduction.md): Vellum's Workflows SDK is a framework for defining and executing complex AI systems as graphs. - [Installation](https://docs.vellum.ai/developers/workflows-sdk/installation.md): Install the Vellum Workflows SDK and set up your development environment. - [Quickstart Overview](https://docs.vellum.ai/developers/workflows-sdk/quickstart/overview.md): Learn how to define and run a Workflow in Vellum using the Workflows SDK or pull a Workflow from the Vellum UI. - [Code-first Approach](https://docs.vellum.ai/developers/workflows-sdk/quickstart/code-first.md): Build Workflows in code and push them to the Vellum UI for collaboration and experimentation. - [UI-first Approach](https://docs.vellum.ai/developers/workflows-sdk/quickstart/ui-first.md): Pull Workflows from the Vellum UI to modify and run locally. - [Core Concepts](https://docs.vellum.ai/developers/workflows-sdk/core-concepts.md) - [Defining Control Flow](https://docs.vellum.ai/developers/workflows-sdk/defining-control-flow.md) - [Configuration](https://docs.vellum.ai/developers/workflows-sdk/configuration.md) - [Custom Docker Images](https://docs.vellum.ai/developers/workflows-sdk/custom-container-images.md) - [Displayable Nodes Overview](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes.md): Overview of all Workflows SDK Displayable Node types that support bidirectional synchronization between UI and code. - [Agent Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/agent-node.md): Simplify tool calling with automatic schema handling and iterative loop logic. - [Inline Prompt Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/inline-prompt-node.md): Execute prompts directly within workflows without requiring prompt deployments. - [Inline Subworkflow Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/inline-subworkflow-node.md): Execute subworkflows defined inline within your workflow code. - [Prompt Deployment Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/prompt-deployment-node.md): Execute deployed prompts from your Prompt Deployment system. - [Search Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/search-node.md): Perform hybrid search against a Document Index for RAG applications. - [Subworkflow Deployment Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/subworkflow-deployment-node.md): Execute deployed workflows as subworkflows within parent workflows. - [API Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/api-node.md): Make HTTP requests to external API endpoints. - [Code Execution Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/code-execution-node.md): Run custom Python or TypeScript code within your workflows. - [Templating Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/templating-node.md): Apply Jinja2 templating for lightweight data transformations. - [Guardrail Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/guardrail-node.md): Run inline evaluations using pre-defined Metrics for quality checks. - [Map Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/map-node.md): Iterate over arrays, executing subworkflows for each item with parallel processing. - [Conditional Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/conditional-node.md): Branch workflow execution based on conditions and upstream node results. - [Merge Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/merge-node.md): Consolidate divergent execution paths using configurable merge strategies. - [Error Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/error-node.md): Terminate workflow execution and raise custom error messages. - [Final Output Node](https://docs.vellum.ai/developers/workflows-sdk/api-reference/nodes/final-output-node.md): Stream workflow responses to production endpoints with Expression inputs. - [Datasets Overview](https://docs.vellum.ai/developers/workflows-sdk/api-reference/datasets.md): Define test scenarios and sample data for local workflow development using DatasetRow, inputs, triggers, and mocks. - [Mocks](https://docs.vellum.ai/developers/workflows-sdk/api-reference/datasets/mocks.md): Override node outputs during local workflow execution for testing specific scenarios. - [Vellum CLI](https://docs.vellum.ai/developers/workflows-sdk/api-reference/cli.md): The command line interface for interacting with Vellum. - [Ping](https://docs.vellum.ai/developers/workflows-sdk/api-reference/cli/ping.md) - [Pull](https://docs.vellum.ai/developers/workflows-sdk/api-reference/cli/pull.md) - [Push](https://docs.vellum.ai/developers/workflows-sdk/api-reference/cli/push.md) - [Examples Gallery](https://docs.vellum.ai/developers/workflows-sdk/tutorials/examples.md): Explore real-world Workflow examples built with the Vellum Workflows SDK. Use these as starting points for your own applications. - [Prompt Chaining](https://docs.vellum.ai/developers/workflows-sdk/tutorials/prompt-chaining.md): A prompt chain Workflow that generates blog content based on industry and audience inputs. - [RAG Chatbot](https://docs.vellum.ai/developers/workflows-sdk/tutorials/rag-chatbot.md): A basic RAG chatbot that answers questions based on PDF document contents. - [Custom Nodes](https://docs.vellum.ai/developers/workflows-sdk/tutorials/custom-nodes.md): Learn how to create custom nodes for Vellum Workflows with the Workflows SDK. - [Document Data Extraction](https://docs.vellum.ai/developers/workflows-sdk/tutorials/document-data-extraction.md): Learn how to build a Data Extraction Workflow that extracts key information from documents stored in Vellum and outputs the data in JSON format. - [Workflow Execution Filtering and Monitoring](https://docs.vellum.ai/developers/workflows-sdk/tutorials/workflow-execution-filtering.md): Learn how to programmatically filter and retrieve Workflow execution data using the Vellum API, including advanced filtering techniques and monitoring patterns. - [Branching with Ports and Expressions](https://docs.vellum.ai/developers/workflows-sdk/tutorials/ports-and-expressions.md): Learn how to use Ports and conditional logic in Vellum workflows with comprehensive examples of all available operators and LazyReference usage. - [External Workflow Server](https://docs.vellum.ai/developers/workflows-sdk/tutorials/external-workflow-server.md): Running Vellum Workflows on your own company's infrastructure