Skip to content

neuromax1/ai-flow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Flow Logo

Open-source tool to seamlessly connect multiple AI model APIs in repeatable flow.

English French

🔗 Website | 📚 Documentation

🎉🚀 v0.7.0 is Now Available 🚀🎉

🚀 New Nodes : Resizeable Display Node, Stable Diffusion 3, Text-to-Speech, Document-to-Text

Expand the App: Learn how to add your own nodes in our Contribution Guidelines.


image-scenario-1-1

AI Flow is an open source, user-friendly UI application that empowers you to seamlessly connect multiple AI models together, specifically leveraging the capabilities of multiples AI APIs such as OpenAI, StabilityAI and Replicate.

Features

In a nutshell, AI Flow provides a visual platform for crafting and managing AI-driven workflows, thereby facilitating diverse and dynamic AI interactions.

  • 🎨 It offers a drag-and-drop interface to design these workflows
  • 📊 Monitors their execution in real-time
  • 🚀 Nodes are launched in parallel whenever possible
  • 🗂️ AI models can be conveniently managed and organized
  • 💾 Workflows can be exported or imported for sharing or backup purposes

Other basic use cases

Run a diverse range of open-source models through the Replicate API

LLaMA, Mistral, Stable Video Diffusion, Music-gen, and many more.

replicate

Contribute to AI-FLOW

Whether you encounter bugs, have enhancements to propose, or want to add entirely new functionalities, we welcome your involvement.

Getting Started:

  • Report Issues: Spot a problem? Help us improve by opening an issue.
  • Submit Pull Requests: Have a fix or a new feature? Submit a pull request and contribute directly to the codebase.

Expanding AI-FLOW:

  • Interested in adding new nodes? Check out our comprehensive Contributor Documentation to learn how you can build and integrate new nodes.

Installation

Installation (Windows executable)

For a quick local setup, grab the Desktop App from the repository's releases section.

You'll need to set REPLICATE_API_KEY in your env to use the Replicate Node. This API key is used exclusively for fetching model data.

Installation without Docker

Prerequisites

Before getting started, make sure you have the following dependencies installed on your system:

Clone the Repository

  1. Clone the repository: git clone https://github.com/DahnM20/ai-flow.git
  2. Change to the project directory: cd ai-flow

UI Dependencies

  1. Go to the UI directory: cd packages/ui
  2. Install dependencies: npm install

Backend Dependencies

  1. Go to the backend directory: cd packages/backend
  2. Install Python dependencies: poetry install

For Windows only

  1. Launch poetry shell : poetry shell
  2. Install the windows requirements in the poetry shell : pip install -r requirements_windows.txt

Usage

You'll need to update the REPLICATE_API_KEY in the .env file to use the Replicate Node. This API key is used exclusively for fetching model data.

  1. Start the server: cd backend && poetry run python server.py
  2. Start the ui application: cd ui && npm start
  3. Open your browser and navigate to http://localhost:3000
  4. Use the drag-and-drop interface to design your AI workflow
  5. Connect AI models and define data flow between them
  6. Click "Run" to execute the AI workflow
  7. Monitor the execution progress and results in real-time

🐳 Installation with Docker

Docker Compose

  1. Go to the docker directory: cd ./docker
  2. You'll need to update the REPLICATE_API_KEY in the .yml file to use the Replicate Node. This API key is used exclusively for fetching model data.
  3. Launch docker-compose up or docker-compose up -d
  4. Open your browser and navigate to http://localhost:80
  5. Use docker-compose stop when you want to stop the app.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No-code tool for connecting AI models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.0%
  • Python 28.7%
  • JavaScript 0.3%
  • Dockerfile 0.3%
  • CSS 0.3%
  • HTML 0.2%
  • Shell 0.2%