Skip to content

bharathmrr/Agentic-AI-Workflow-DragAI-Edition-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ DragAI - Agentic AI Workflow Platform

Next-Generation Visual AI Orchestration System

License: MIT Node.js React Python PRs Welcome

DragAI is a powerful, intuitive drag-and-drop AI workflow platform that empowers businesses, developers, and AI enthusiasts to orchestrate sophisticated multi-agent intelligent systems visuallyโ€”no code required.

Features โ€ข Quick Start โ€ข Documentation โ€ข Architecture โ€ข Contributing


โœจ Features

๐ŸŽจ Visual Workflow Builder

  • Drag-and-Drop Interface: Build complex AI workflows with an intuitive canvas
  • 77+ Pre-built Nodes: AI/LLM models, ML/DL algorithms, RAG systems, databases, and more
  • Real-time Connections: Visually connect nodes to create data flow pipelines
  • Unlimited Node Connections: Each node supports multiple inputs and outputs

๐Ÿค– AI & Machine Learning

  • Multi-LLM Support: OpenAI (GPT-3.5, GPT-4), Anthropic (Claude), Google (Gemini), Cohere
  • ML Algorithms: Classification, Regression, Clustering (Scikit-learn integration)
  • Deep Learning: TensorFlow, PyTorch, Keras model support
  • Ensemble Methods: XGBoost, Random Forest, Gradient Boosting
  • RAG Systems: Vector databases (Pinecone, Weaviate, Chroma), document loaders, embeddings

๐Ÿ”ง Advanced Capabilities

  • Agentic AI: ReAct agents, conversational agents, zero-shot reasoning
  • Data Processing: Text splitting, document loading, data transformation
  • Database Integration: MongoDB, Neo4j, PostgreSQL, SQLite with AI capabilities
  • Workflow Control: Triggers (webhook, schedule, event), conditional logic, Unity hubs
  • Model Deployment: Export workflows, model serving, metrics monitoring

๐ŸŽฏ Developer Experience

  • LAO-Style UI: Beautiful, futuristic space-themed interface
  • Real-time Execution: Watch your workflows execute with visual feedback
  • Green Tick Indicators: See completion status with animated badges
  • Configuration Panels: Easy node setup with intuitive forms
  • Output Display: View execution results and logs in real-time

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     DragAI Platform                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                             โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚   Frontend  โ”‚  โ”‚   Backend    โ”‚  โ”‚   AI Services   โ”‚  โ”‚
โ”‚  โ”‚   (React)   โ”‚โ—„โ”€โ”ค   (Node.js)  โ”‚โ—„โ”€โ”ค   (Python)      โ”‚  โ”‚
โ”‚  โ”‚             โ”‚  โ”‚              โ”‚  โ”‚                 โ”‚  โ”‚
โ”‚  โ”‚ โ€ข Canvas    โ”‚  โ”‚ โ€ข REST API   โ”‚  โ”‚ โ€ข LLM Agents    โ”‚  โ”‚
โ”‚  โ”‚ โ€ข Nodes     โ”‚  โ”‚ โ€ข Workflow   โ”‚  โ”‚ โ€ข ML Models     โ”‚  โ”‚
โ”‚  โ”‚ โ€ข Config    โ”‚  โ”‚   Engine     โ”‚  โ”‚ โ€ข RAG Systems   โ”‚  โ”‚
โ”‚  โ”‚ โ€ข Dashboard โ”‚  โ”‚ โ€ข Execution  โ”‚  โ”‚ โ€ข Vector DBs    โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚         โ”‚                 โ”‚                    โ”‚           โ”‚
โ”‚         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜           โ”‚
โ”‚                           โ”‚                                โ”‚
โ”‚                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                       โ”‚
โ”‚                  โ”‚   Data Storage  โ”‚                       โ”‚
โ”‚                  โ”‚                 โ”‚                       โ”‚
โ”‚                  โ”‚ โ€ข MongoDB       โ”‚                       โ”‚
โ”‚                  โ”‚ โ€ข Vector DBs    โ”‚                       โ”‚
โ”‚                  โ”‚ โ€ข File Storage  โ”‚                       โ”‚
โ”‚                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“Š Technology Stack

Frontend:

  • โš›๏ธ React 18.x with Hooks
  • ๐ŸŽจ TailwindCSS for styling
  • ๐ŸŒŠ React Flow for canvas
  • ๐Ÿ”„ Zustand for state management
  • ๐ŸŽญ Framer Motion for animations
  • ๐Ÿ”” React Toastify for notifications

Backend:

  • ๐ŸŸข Node.js + Express.js
  • ๐Ÿ Python (AI processing)
  • ๐Ÿ”Œ RESTful API architecture
  • ๐Ÿ”„ Real-time execution engine
  • ๐Ÿ“ก WebSocket support (planned)

AI & ML:

  • ๐Ÿค– LangChain for agent orchestration
  • ๐Ÿง  OpenAI, Anthropic, Google AI APIs
  • ๐Ÿ“š Vector databases (Pinecone, Chroma, Weaviate)
  • ๐Ÿ”ฌ Scikit-learn, TensorFlow, PyTorch
  • ๐Ÿ“Š Pandas, NumPy for data processing

Databases:

  • ๐Ÿƒ MongoDB (primary database)
  • ๐Ÿ“ˆ Neo4j (graph database)
  • ๐Ÿ˜ PostgreSQL (relational)
  • ๐Ÿชถ SQLite (embedded)

๐Ÿš€ Quick Start

Prerequisites

  • Node.js v18+ (Download)
  • Python 3.9+ (Download)
  • npm or yarn
  • MongoDB (optional, for data persistence)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/Agentic-AI-Workflow-DragAI-Edition-.git
cd Agentic-AI-Workflow-DragAI-Edition-
  1. Install Frontend Dependencies
cd frontend
npm install
  1. Install Backend Dependencies
cd ../backend
npm install
pip install -r requirements.txt
  1. Configure Environment Variables
# Frontend (.env)
REACT_APP_API_URL=http://localhost:5000

# Backend (.env)
PORT=5000
MONGODB_URI=mongodb://localhost:27017/dragai
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
PINECONE_API_KEY=your_pinecone_key
  1. Start the Application

Option 1: Using batch files (Windows)

# Start backend
start-backend.bat

# Start frontend (in another terminal)
start-frontend.bat

Option 2: Manual start

# Terminal 1: Start Backend
cd backend
npm run dev

# Terminal 2: Start Frontend
cd frontend
npm start
  1. Open your browser
http://localhost:3000

๐Ÿ“– Usage Guide

Creating Your First Workflow

  1. Add Nodes: Drag nodes from the sidebar to the canvas
  2. Connect Nodes: Click and drag from output handles to input handles
  3. Configure Nodes: Click a node to open the configuration panel
  4. Execute Workflow: Click the "Execute" button to run your workflow
  5. View Results: Check the output panel for execution results

Example Workflows

๐Ÿค– Simple AI Chat Agent

[Prompt Node] โ†’ [AI Agent Node] โ†’ [Output]
  • Configure prompt with user message
  • Set AI Agent (OpenAI GPT-4)
  • Execute to get AI response

๐Ÿ“š RAG Question Answering

[Document Loader] โ†’ [Text Splitter] โ†’ [Embedding] โ†’ [Vector DB]
                                                        โ†“
[Prompt] โ†’ [Retriever] โ†’ [AI Agent] โ†’ [Output]
  • Load documents
  • Split into chunks
  • Create embeddings
  • Store in vector database
  • Query with RAG agent

๐Ÿง  ML Classification Pipeline

[Data Loader] โ†’ [Preprocessing] โ†’ [ML Model] โ†’ [Evaluation] โ†’ [Deployment]
  • Load training data
  • Apply transformations
  • Train classifier
  • Evaluate metrics
  • Deploy model

๐ŸŽจ Node Categories

๐ŸŽฏ Workflow Control (4 nodes)

  • Trigger (Webhook, Schedule, Event)
  • Unity Hub (Coordination)
  • Conditional Logic
  • Loop Control

๐Ÿค– AI/LLM Models (8 nodes)

  • AI Agent (Multi-provider)
  • Prompt Engineering
  • Embedding AI
  • Chat Models
  • Completion Models
  • Fine-tuned Models
  • Custom Agents
  • Tool-enabled Agents

๐Ÿ“š RAG & Vector Search (7 nodes)

  • Document Loader
  • Text Splitter
  • Embedding Model
  • Vector Database (Pinecone, Chroma, Weaviate)
  • Retriever
  • RAG Chain
  • Semantic Search

๐Ÿ—„๏ธ Database & AI Analytics (6 nodes)

  • MongoDB AI
  • Neo4j Graph
  • PostgreSQL AI
  • SQLite AI
  • Database Query
  • Data Analysis

๐Ÿ”ฌ ML Classification (5 nodes)

  • Logistic Regression
  • SVM
  • Random Forest
  • Gradient Boosting
  • Neural Network Classifier

๐Ÿ“ˆ ML Regression (5 nodes)

  • Linear Regression
  • Ridge/Lasso
  • Random Forest Regressor
  • XGBoost Regressor
  • Neural Network Regressor

๐Ÿง  Deep Learning (8 nodes)

  • TensorFlow Model
  • PyTorch Model
  • Keras Model
  • CNN Architecture
  • RNN/LSTM
  • Transformer
  • GAN
  • Autoencoder

๐ŸŽฏ Ensemble & Boosting (4 nodes)

  • XGBoost
  • LightGBM
  • CatBoost
  • Stacking Ensemble

๐Ÿ“ Embeddings & NLP (6 nodes)

  • Word2Vec
  • GloVe
  • FastText
  • Sentence Transformers
  • BERT Embeddings
  • Custom Embeddings

๐Ÿ”ง Data Processing (8 nodes)

  • Data Transformation
  • Feature Engineering
  • Normalization
  • Data Validation
  • Format Conversion
  • Data Splitting
  • Sampling
  • Augmentation

๐Ÿš€ Model Deployment (4 nodes)

  • Model Export
  • API Endpoint
  • Model Serving
  • Model Registry

๐Ÿ“Š Metrics & Monitoring (5 nodes)

  • Performance Metrics
  • Model Evaluation
  • A/B Testing
  • Monitoring Dashboard
  • Alerting

๐Ÿ› ๏ธ Tools & Utilities (7 nodes)

  • HTTP Request
  • File Operations
  • String Operations
  • Math Operations
  • Date/Time
  • JSON Parser
  • API Integration

๐Ÿ”ง Configuration

AI Provider Setup

OpenAI

{
  provider: "openai",
  model: "gpt-4",
  apiKey: "sk-...",
  temperature: 0.7,
  maxTokens: 2000
}

Anthropic Claude

{
  provider: "anthropic",
  model: "claude-3-opus",
  apiKey: "sk-ant-...",
  temperature: 0.7,
  maxTokens: 4000
}

Google Gemini

{
  provider: "google",
  model: "gemini-pro",
  apiKey: "AIza...",
  temperature: 0.7
}

Vector Database Setup

Pinecone

{
  apiKey: "your-pinecone-key",
  environment: "us-west1-gcp",
  indexName: "dragai-docs",
  dimension: 1536
}

๐Ÿ“ธ Screenshots

Main Workflow Canvas

Workflow Canvas

Node Configuration Panel

Configuration Panel

Execution Dashboard

Dashboard

Output Display

Output Panel


๐Ÿ› ๏ธ API Documentation

REST API Endpoints

Execute Workflow

POST /api/workflow/execute
Content-Type: application/json

{
  "workflowName": "My Workflow",
  "nodes": [...],
  "edges": [...],
  "executionMode": "sequential"
}

Get Execution Status

GET /api/execution/{execution_id}/status

Save Workflow

POST /api/workflow/save
Content-Type: application/json

{
  "workflowName": "My Workflow",
  "nodes": [...],
  "edges": [...]
}

Load Workflow

GET /api/workflow/{workflow_id}

๐ŸŽฏ Roadmap

โœ… Completed

  • Visual workflow builder
  • 77+ node library
  • Multi-LLM support
  • RAG systems
  • ML/DL integration
  • Execution engine
  • Real-time status updates
  • Beautiful LAO-style UI

๐Ÿšง In Progress

  • WebSocket for real-time updates
  • Collaborative editing
  • Workflow templates marketplace
  • Advanced debugging tools
  • Performance optimization

๐Ÿ”ฎ Planned

  • Cloud deployment (AWS, Azure, GCP)
  • Workflow versioning
  • Team collaboration features
  • Custom node creation SDK
  • Mobile app
  • Enterprise features
  • API rate limiting
  • Workflow scheduling
  • Data lineage tracking
  • Advanced monitoring & alerting

๐Ÿค Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Guidelines

  • Follow the existing code style
  • Write meaningful commit messages
  • Add tests for new features
  • Update documentation
  • Ensure all tests pass

Code of Conduct

Please read our Code of Conduct before contributing.


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ’ฌ Community & Support

Get Help

Stay Connected


๐Ÿ™ Acknowledgments

  • React Flow - For the excellent workflow canvas library
  • LangChain - For AI agent orchestration
  • OpenAI - For GPT models
  • Anthropic - For Claude models
  • All our amazing contributors!

๐Ÿ“Š Project Stats

GitHub stars GitHub forks GitHub watchers GitHub contributors


โญ Star us on GitHub โ€” it motivates us a lot!

Made with โค๏ธ by the DragAI Team

Website โ€ข Documentation โ€ข Blog

About

Agentic-AI-Workflow is a next-generation drag-and-drop AI workflow platform that allows businesses, developers, and AI enthusiasts to orchestrate multi-agent intelligent systems visually.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors