Flowise
by FlowiseAIDrag-and-drop UI to build LLM apps. Visual LangChain builder — chains, agents, memory, vector stores, all wired with nodes.
README
<div align="center">
[[image: Release Notes]](https://github.com/FlowiseAI/Flowise/releases) [[image: Discord]](https://discord.gg/jbaHfsRVBW) [[image: Twitter Follow]](https://twitter.com/FlowiseAI) [[image: GitHub star chart]](https://star-history.com/#FlowiseAI/Flowise) [[image: GitHub fork]](https://github.com/FlowiseAI/Flowise/fork)
English | 繁體中文 | 简体中文 | 日本語 | 한국어
</div>
Build AI Agents, Visually
📚 Table of Contents
- ⚡ Quick Start
- 🐳 Docker
- 👨💻 Developers
- 🌱 Env Variables
- 📖 Documentation
- 🌐 Self Host
- ☁️ Flowise Cloud
- 🙋 Support
- 🙌 Contributing
- 📄 License
⚡Quick Start
Download and Install NodeJS >= 20.0.0
- Install Flowise
npm install -g flowise
- Start Flowise
npx flowise start
🐳 Docker
Docker Compose
- Clone the Flowise project
- Go to
dockerfolder at the root of the project - Copy
.env.examplefile, paste it into the same location, and rename to.envfile docker compose up -d- Open http://localhost:3000
- You can bring the containers down by
docker compose stop
Docker Image
- Build the image locally:
docker build --no-cache -t flowise .
- Run image:
docker run -d --name flowise -p 3000:3000 flowise
- Stop image:
docker stop flowise
👨💻 Developers
Flowise has 3 different modules in a single mono repository.
-
server: Node backend to serve API logics -
ui: React frontend -
components: Third-party nodes integrations -
api-documentation: Auto-generated swagger-ui API docs from express
Prerequisite
- Install PNPM
npm i -g pnpm
Setup
- Clone the repository:
git clone https://github.com/FlowiseAI/Flowise.git
- Go into repository folder:
cd Flowise
- Install all dependencies of all modules:
pnpm install
- Build all the code:
pnpm build
<details> <summary>Exit code 134 (JavaScript heap out of memory)</summary> If you get this error when running the above build script, try increasing the Node.js heap size and run the script again:
# macOS / Linux / Git Bash
export NODE_OPTIONS="--max-old-space-size=4096"
# Windows PowerShell
$env:NODE_OPTIONS="--max-old-space-size=4096"
# Windows CMD
set NODE_OPTIONS=--max-old-space-size=4096
Then run:
pnpm build
</details>
- Start the app:
pnpm start
You can now access the app on http://localhost:3000
- For development build:
- Create .env file and specify the VITE_PORT (refer to .env.example) in packages/ui - Create .env file and specify the PORT (refer to .env.example) in packages/server - Run:
pnpm dev
Any code changes will reload the app automatically on http://localhost:8080
🌱 Env Variables
Flowise supports different environment variables to configure your instance. You can specify the following variables in the .env file inside packages/server folder. Read more
📖 Documentation
You can view the Flowise Docs here
🌐 Self Host
Deploy Flowise self-hosted in your existing infrastructure, we support various deployments
- AWS
- Azure
- Digital Ocean
- GCP
- Alibaba Cloud
- <details>
- Railway
[[image: Deploy on Railway]](https://railway.app/template/pn4G8S?referralCode=WVNPD9)
[[image: Deploy to Northflank]](https://northflank.com/stacks/deploy-flowiseai)
- Render
[[image: Deploy to Render]](https://docs.flowiseai.com/configuration/deployment/render)
<a href="https://huggingface.co/spaces/FlowiseAI/Flowise"><img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-sm.svg" alt="HuggingFace Spaces"></a>
- Elestio
[[image: Deploy on Elestio]](https://elest.io/open-source/flowiseai)
- Sealos
[[image: Deploy on Sealos]](https://template.sealos.io/deploy?templateName=flowise)
[[image: Deploy on RepoCloud]](https://repocloud.io/details/?app_id=29)
</details>
☁️ Flowise Cloud
Get Started with Flowise Cloud.
🙋 Support
Feel free to ask any questions, raise problems, and request new features in Discussion.
🙌 Contributing
Thanks go to these awesome contributors
<a href="https://github.com/FlowiseAI/Flowise/graphs/contributors"> <img src="https://contrib.rocks/image?repo=FlowiseAI/Flowise" /> </a><br><br>
See Contributing Guide. Reach out to us at Discord if you have any questions or issues.
[[image: Star History Chart]](https://star-history.com/#FlowiseAI/Flowise&Date)
📄 License
Source code in this repository is made available under the Apache License Version 2.0.