Hanzo
ServicesFlow

Hanzo Flow

Visual AI workflow builder for LLM applications

Hanzo Flow

Hanzo Flow is a visual AI workflow builder (based on Langflow) for designing, prototyping, and deploying LLM-powered applications. Build complex AI pipelines by connecting components visually — from prompts and chains to RAG systems and multi-agent architectures.

Features

  • Visual Builder: Drag-and-drop canvas for composing LLM pipelines
  • 100+ Components: LLMs, embeddings, vector stores, tools, agents, chains
  • Multi-Model Support: OpenAI, Anthropic, Google, Ollama, HuggingFace, and more
  • RAG Pipelines: Build retrieval-augmented generation workflows visually
  • Agent Systems: Design multi-agent architectures with tool use
  • API Export: Every flow becomes a REST API endpoint automatically
  • Multi-Tenant: Isolated workspaces per organization via Hanzo IAM
  • Python Extensibility: Add custom components in Python

Architecture

┌─────────────────────────────────────────────────────────────────────────┐
│                           HANZO FLOW                                     │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐  ┌─────────────┐ │
│  │  React UI    │  │  FastAPI     │  │  LangChain   │  │  Component  │ │
│  │  (@xyflow)   │  │  Backend     │  │  Runtime     │  │  Registry   │ │
│  │              │  │              │  │              │  │             │ │
│  │  - Canvas    │  │  - REST API  │  │  - Chains    │  │  - LLMs     │ │
│  │  - Sidebar   │  │  - WebSocket │  │  - Agents    │  │  - Vectors  │ │
│  │  - Chat      │  │  - Auth      │  │  - RAG       │  │  - Tools    │ │
│  │  - Logs      │  │  - Storage   │  │  - Memory    │  │  - Custom   │ │
│  └──────────────┘  └──────────────┘  └──────────────┘  └─────────────┘ │
│                                                                          │
│  ┌──────────────────────────────────────────────────────────────────┐   │
│  │              Provider Integrations                                │   │
│  │  OpenAI · Anthropic · Google · Ollama · HuggingFace · Cohere    │   │
│  │  Pinecone · Chroma · Weaviate · pgvector · Qdrant               │   │
│  └──────────────────────────────────────────────────────────────────┘   │
│                                                                          │
└─────────────────────────────────────────────────────────────────────────┘

Endpoints

EnvironmentURL
Productionhttps://flow.hanzo.ai
API Basehttps://flow.hanzo.ai/api/v1

Quick Start

Build an AI Flow

  1. Navigate to flow.hanzo.ai
  2. Sign in with your Hanzo account
  3. Click New Flow or start from a template
  4. Drag components from the sidebar onto the canvas
  5. Connect components by dragging between ports
  6. Click Run to test your flow
  7. Use the API tab to get your flow's REST endpoint

Example: RAG Chatbot

Build a retrieval-augmented chatbot in minutes:

  1. Add components: File Loader → Text Splitter → Embeddings → Vector Store → Retriever → LLM → Chat Output
  2. Configure: Set your OpenAI/Anthropic API key, upload documents
  3. Connect: Wire components together visually
  4. Test: Use the built-in chat interface
  5. Deploy: Get your API endpoint and integrate

API Access

# Run a flow
curl -X POST https://flow.hanzo.ai/api/v1/run/:flow_id \
  -H "Authorization: Bearer $HANZO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "input_value": "What is Hanzo AI?",
    "output_type": "chat",
    "input_type": "chat"
  }'

# List flows
curl https://flow.hanzo.ai/api/v1/flows \
  -H "Authorization: Bearer $HANZO_TOKEN"

# Get flow details
curl https://flow.hanzo.ai/api/v1/flows/:flow_id \
  -H "Authorization: Bearer $HANZO_TOKEN"

Component Categories

CategoryExamplesDescription
LLMsOpenAI, Anthropic, Ollama, HuggingFaceLanguage model providers
EmbeddingsOpenAI, Cohere, HuggingFace, Sentence TransformersText embedding models
Vector StoresPinecone, Chroma, Weaviate, pgvector, QdrantVector databases
Document LoadersPDF, CSV, Web, GitHub, Notion, ConfluenceData ingestion
Text SplittersRecursive, Character, Token, SemanticDocument chunking
ChainsLLM Chain, Sequential, Router, ConversationLangChain chains
AgentsReAct, OpenAI Functions, Plan-and-ExecuteAutonomous agents
ToolsSearch, Calculator, Python REPL, API CallAgent tools
MemoryBuffer, Summary, Entity, ConversationContext management
PromptsTemplate, Few-shot, Chat, SystemPrompt engineering

Multi-Tenant Configuration

Hanzo Flow supports multi-tenant isolation:

  • Per-org workspaces: Each organization sees only their flows
  • Shared components: Admins can publish org-wide custom components
  • API key isolation: Each org manages their own provider API keys
  • Usage tracking: Per-org token usage and cost monitoring

Environment Variables

# Core
LANGFLOW_HOST=0.0.0.0
LANGFLOW_PORT=7860
LANGFLOW_AUTO_LOGIN=false
LANGFLOW_CONFIG_DIR=/app/langflow

# Database
LANGFLOW_DATABASE_URL=postgresql://hanzo:[email protected]:5432/langflow

# Auth
LANGFLOW_SUPERUSER=admin
LANGFLOW_SUPERUSER_PASSWORD=<from-kms>

# Store
LANGFLOW_STORE=true
LANGFLOW_STORE_ENVIRONMENT_VARIABLES=true

Development

# Install (Python)
pip install langflow

# Or with uv
uv pip install langflow

# Run locally
langflow run --host 0.0.0.0 --port 7860

# Custom components
# Place .py files in LANGFLOW_CONFIG_DIR/components/

Hanzo Auto vs Hanzo Flow

FeatureHanzo AutoHanzo Flow
PurposeService-to-service automationAI/LLM pipeline building
UpstreamActivePiecesLangflow
LanguageTypeScript/Node.jsPython
FocusTriggers, webhooks, integrationsLLM chains, RAG, agents
Integrations600+ SaaS connectors100+ AI/ML components
Use Case"When X happens, do Y""Build an AI that does Z"

Use Auto for connecting business services (Slack + Jira + Salesforce). Use Flow for building AI applications (RAG chatbot, agent pipelines, document processing).

How is this guide?

Last updated on

On this page