Skip to main content

Overview

The Visual Workflow Builder enables you to design AI agent workflows through an intuitive drag-and-drop interface. Build complex multi-agent systems without writing code, then generate production-ready LangGraph Python code.

Quick Start

Build your first workflow in minutes

API Reference

Explore the Builder API

Key Features

  • Visual node-based editor
  • React Flow integration for smooth interactions
  • Real-time connection validation
  • Auto-layout for clean workflows
  • Generate production-ready LangGraph Python code
  • Export as standalone modules
  • Include type hints and docstrings
  • MCP tool integration ready
  • Real-time validation as you build
  • Graph connectivity checks
  • Node configuration validation
  • Error highlighting with suggestions
  • Deploy workflows to MCP Server
  • Version control for workflows
  • Rollback capabilities
  • Environment-specific configurations

Architecture

Quick Start

Prerequisites

  • Docker and Docker Compose
  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • Valid authentication credentials

Starting the Builder

Building Your First Workflow

1

Create New Workflow

Click “New Workflow” and give it a name like “Customer Support Agent”.
2

Add a Start Node

Drag a Start node from the palette onto the canvas. This is the entry point.
3

Add an Agent Node

Drag an Agent node and connect it to the Start node. Configure:
  • Name: CustomerSupport
  • Prompt: “You are a helpful customer support agent…”
4

Add Conditional Routing

Add a Router node to direct conversations based on intent:
  • Connect Agent → Router
  • Configure conditions: “billing”, “technical”, “general”
5

Add Specialized Agents

Add more Agent nodes for each route:
  • BillingAgent
  • TechnicalAgent
  • GeneralAgent
6

Add End Node

Connect all paths to an End node to complete the workflow.
7

Validate and Generate

Click “Validate” to check your workflow, then “Generate Code” to export.

Node Types

Start Node

Entry point for the workflow. Every workflow must have exactly one Start node.

Agent Node

An LLM-powered agent that processes messages.

Router Node

Conditional branching based on content or metadata.

Tool Node

Execute an MCP tool directly in the workflow.

Human-in-the-Loop Node

Pause for human review or input.

End Node

Termination point for the workflow. Multiple End nodes are allowed.

Workflow Examples

Simple Q&A Bot

Use Case: Basic question-answering with a single agent.

Multi-Stage Pipeline

Use Case: Process requests through multiple specialized agents.

Human-in-the-Loop Review

Use Case: Content generation with human approval.

Validation Rules

The builder validates workflows against these rules:

Validation Errors

When validation fails, the builder highlights problematic nodes:

Code Generation

Generated Code Structure

The builder generates production-ready LangGraph code:

Code Generation Options

Workflow Storage

Workflows are stored with versioning support:

Version History

Security

Authentication

All builder endpoints require JWT authentication:

Authorization

Workflow access is controlled by OpenFGA:
Workflows may contain sensitive prompts and configurations. Ensure proper access controls before sharing.

API Endpoints

See Builder API Reference for complete documentation.

Keyboard Shortcuts

Troubleshooting

Symptoms: Save button doesn’t respond or shows errorSolutions:
  1. Check authentication token hasn’t expired
  2. Validate workflow before saving (may have errors)
  3. Check network connectivity to backend
  4. Clear browser cache and reload
Symptoms: Generated code is empty or incompleteSolutions:
  1. Ensure workflow passes validation first
  2. Check all agent prompts are configured
  3. Verify node connections are complete
  4. Check backend logs for detailed errors
Symptoms: Can’t drag connections between nodesSolutions:
  1. Check node types are compatible
  2. Ensure you’re connecting output → input
  3. Verify node isn’t already connected (single output only)
  4. Try refreshing the page
Symptoms: Deploy button shows errorSolutions:
  1. Validate workflow first
  2. Check MCP Server is running
  3. Verify deployment permissions
  4. Check for conflicting workflow names

Best Practices

Start Simple

Begin with a linear workflow, then add complexity incrementally

Name Clearly

Use descriptive names for nodes and workflows

Validate Often

Run validation after each major change

Version Control

Save versions before major changes

Interactive Playground

Test your workflows in real-time

LangGraph Concepts

Understand LangGraph fundamentals

MCP Tools

Configure MCP tools

Deployment

Deploy workflows to production

Ready to build! Open the Visual Workflow Builder and start creating your first AI agent workflow.