Skip to content

aiudalabs/flowAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FlowAI - Visual Agentic Workflow Builder

Build, execute, and deploy LangGraph agentic workflows through a visual drag-and-drop interface.

Features

  • 🎨 Visual Workflow Builder - Drag-and-drop interface powered by ReactFlow
  • πŸ€– Multi-LLM Support - OpenAI, Anthropic, Google Gemini
  • πŸ”§ Extensible Nodes - LLMs, Tools, APIs, MCPs, Control Flow
  • ⚑ Real-time Execution - Watch your workflows run with live visualization
  • πŸš€ Deploy Anywhere - Export to Docker, Cloud Run, Lambda
  • πŸ’Ύ State Management - Built on LangGraph with checkpointing and memory

Visual Overview

FlowAI Architecture

Quick Start

Prerequisites

  • Node.js 18+ and npm/yarn
  • Python 3.11+
  • Docker and Docker Compose
  • PostgreSQL 15+
  • Redis 7+

Development Setup

  1. Set up environment variables:
# Backend (.env in backend/ directory)
cp backend/.env.example backend/.env
# Edit backend/.env and add your API keys:
# OPENAI_API_KEY=your-key-here
# DATABASE_URL=postgresql://flowai:flowai@localhost:5432/flowai
# REDIS_URL=redis://localhost:6379/0
  1. Clone and install dependencies:
# Install frontend dependencies
cd frontend
npm install

# Install backend dependencies
cd ../backend
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
  1. Start infrastructure (PostgreSQL + Redis):
docker-compose up -d
  1. Run database migrations:
cd backend
alembic upgrade head
  1. Start development servers:
# Terminal 1 - Frontend
cd frontend
npm run dev

# Terminal 2 - Backend
cd backend
uvicorn app.main:app --reload
  1. Open your browser:

Project Structure

flowAI/
β”œβ”€β”€ frontend/              # React + TypeScript + ReactFlow
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/   # React components
β”‚   β”‚   β”œβ”€β”€ features/     # Feature modules (workflow, nodes, execution)
β”‚   β”‚   β”œβ”€β”€ lib/          # Utilities and configurations
β”‚   β”‚   β”œβ”€β”€ hooks/        # Custom React hooks
β”‚   β”‚   β”œβ”€β”€ types/        # TypeScript type definitions
β”‚   β”‚   └── App.tsx       # Main app component
β”‚   └── package.json
β”‚
β”œβ”€β”€ backend/              # FastAPI + LangGraph
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ api/          # API endpoints
β”‚   β”‚   β”œβ”€β”€ core/         # Core configuration
β”‚   β”‚   β”œβ”€β”€ models/       # Database models
β”‚   β”‚   β”œβ”€β”€ schemas/      # Pydantic schemas
β”‚   β”‚   β”œβ”€β”€ services/     # Business logic
β”‚   β”‚   β”‚   β”œβ”€β”€ compiler/ # ReactFlow β†’ LangGraph compiler
β”‚   β”‚   β”‚   β”œβ”€β”€ executor/ # Workflow execution engine
β”‚   β”‚   β”‚   └── nodes/    # Node type implementations
β”‚   β”‚   └── main.py       # FastAPI app
β”‚   └── requirements.txt
β”‚
β”œβ”€β”€ docker-compose.yml    # Local development infrastructure
└── DEVELOPMENT_PLAN.md   # Detailed development roadmap

MVP Scope

The initial MVP includes:

  • βœ… ReactFlow canvas with zoom/pan controls
  • βœ… 5 essential node types:
    • Manual Trigger
    • OpenAI LLM
    • HTTP API Call
    • Conditional (if/else)
    • Output
  • βœ… Node configuration panel
  • βœ… Workflow save/load
  • βœ… LangGraph compilation
  • βœ… Real-time execution visualization
  • βœ… Execution history
  • βœ… Dynamic Input Forms - Auto-detect variables ({{var}}) and show input forms
  • βœ… Beautiful Output Viewer - Formatted, JSON, and Raw views with Markdown support
  • βœ… WebSocket Live Updates - Real-time execution logs and node status updates

Tech Stack

  • Frontend: React 18, TypeScript, ReactFlow, Tailwind CSS, shadcn/ui
  • Backend: FastAPI, LangGraph, LangChain, SQLAlchemy
  • Database: PostgreSQL, Redis
  • Deployment: Docker, Kubernetes

Contributing

See DEVELOPMENT_PLAN.md for the detailed roadmap and architecture.

License

MIT

About

Visual drag-and-drop platform for building, executing, and deploying LangGraph agentic workflows

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors