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.Key Features
Drag-and-Drop Interface
Drag-and-Drop Interface
- Visual node-based editor
- React Flow integration for smooth interactions
- Real-time connection validation
- Auto-layout for clean workflows
Code Generation
Code Generation
- Generate production-ready LangGraph Python code
- Export as standalone modules
- Include type hints and docstrings
- MCP tool integration ready
Workflow Validation
Workflow Validation
- Real-time validation as you build
- Graph connectivity checks
- Node configuration validation
- Error highlighting with suggestions
One-Click Deploy
One-Click Deploy
- 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
- Docker Compose
- Development Mode
Building Your First Workflow
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…”
Add Conditional Routing
Add a Router node to direct conversations based on intent:
- Connect Agent → Router
- Configure conditions: “billing”, “technical”, “general”
Add Specialized Agents
Add more Agent nodes for each route:
- BillingAgent
- TechnicalAgent
- GeneralAgent
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:| Rule | Description |
|---|---|
| Single Start | Exactly one Start node required |
| Reachable End | All paths must lead to an End node |
| No Orphans | All nodes must be connected |
| No Cycles | Workflow must be a DAG (no loops without Exit condition) |
| Valid Configs | All node configurations must be complete |
| Unique IDs | All node IDs must be unique |
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
| Option | Description | Default |
|---|---|---|
include_types | Generate TypedDict state classes | true |
include_docstrings | Add docstrings to functions | true |
include_mcp_tools | Generate MCP tool imports | true |
checkpoint_config | Include checkpointing setup | false |
output_format | Output format (python, module) | python |
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:API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/api/builder/workflows | POST | Create new workflow |
/api/builder/workflows | GET | List workflows |
/api/builder/workflows/{id} | GET | Get workflow details |
/api/builder/workflows/{id} | PUT | Update workflow |
/api/builder/workflows/{id} | DELETE | Delete workflow |
/api/builder/validate | POST | Validate workflow |
/api/builder/generate | POST | Generate code |
/api/builder/health | GET | Health check |
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl/Cmd + S | Save workflow |
Ctrl/Cmd + Z | Undo |
Ctrl/Cmd + Shift + Z | Redo |
Delete | Delete selected node |
Ctrl/Cmd + D | Duplicate selected node |
Ctrl/Cmd + A | Select all nodes |
Escape | Deselect all |
Space + Drag | Pan canvas |
Scroll | Zoom in/out |
Troubleshooting
Workflow won't save
Workflow won't save
Symptoms: Save button doesn’t respond or shows errorSolutions:
- Check authentication token hasn’t expired
- Validate workflow before saving (may have errors)
- Check network connectivity to backend
- Clear browser cache and reload
Code generation fails
Code generation fails
Symptoms: Generated code is empty or incompleteSolutions:
- Ensure workflow passes validation first
- Check all agent prompts are configured
- Verify node connections are complete
- Check backend logs for detailed errors
Nodes won't connect
Nodes won't connect
Symptoms: Can’t drag connections between nodesSolutions:
- Check node types are compatible
- Ensure you’re connecting output → input
- Verify node isn’t already connected (single output only)
- Try refreshing the page
Workflow won't deploy
Workflow won't deploy
Symptoms: Deploy button shows errorSolutions:
- Validate workflow first
- Check MCP Server is running
- Verify deployment permissions
- 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
Related Documentation
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.