Build AI Agents, Visually
Go to file
Henry Heng 7924fbce0d
Feature/agentflow v2 (#4298)
* agent flow v2

* chat message background

* conditon agent flow

* add sticky note

* update human input dynamic prompt

* add HTTP node

* add default tool icon

* fix export duplicate agentflow v2

* add agentflow v2 marketplaces

* refractor memoization, add iteration nodes

* add agentflow v2 templates

* add agentflow generator

* add migration scripts for mysql, mariadb, posrgres and fix date filters for executions

* update agentflow chat history config

* fix get all flows error after deletion and rename

* add previous nodes from parent node

* update generator prompt

* update run time state when using iteration nodes

* prevent looping connection, prevent duplication of start node, add executeflow node, add nodes agentflow, chat history variable

* update embed

* convert form input to string

* bump openai version

* add react rewards

* add prompt generator to prediction queue

* add array schema to overrideconfig

* UI touchup

* update embedded chat version

* fix node info dialog

* update start node and loop default iteration

* update UI fixes for agentflow v2

* fix async drop down

* add export import to agentflowsv2, executions, fix UI bugs

* add default empty object to flowlisttable

* add ability to share trace link publicly, allow MCP tool use for Agent and Assistant

* add runtime message length to variable, display conditions on UI

* fix array validation

* add ability to add knowledge from vector store and embeddings for agent

* add agent tool require human input

* add ephemeral memory to start node

* update agent flow node to show vs and embeddings icons

* feat: add import chat data functionality for AgentFlowV2

* feat: set chatMessage.executionId to null if not found in import JSON file or database

* fix: MariaDB execution migration script to utf8mb4_unicode_520_ci

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-05-10 10:21:26 +08:00
.github Bugfix/update view message dialog (#3994) 2025-02-06 11:05:06 +00:00
.husky
assets
docker Feature/add enable bull dashboard env var (#4373) 2025-05-04 21:55:16 +08:00
i18n Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
images Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
metrics Update otel.config.yml 2024-11-08 01:36:51 +00:00
packages Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
.dockerignore Avoid .env packaging into docker images. (#2451) 2024-05-20 17:09:27 +01:00
.eslintrc.js
.gitignore Adding pnpm-store to gitignore (#2600) 2024-06-11 16:29:28 +01:00
.npmrc
CODE_OF_CONDUCT.md Chore/update flowise embed version (#2722) 2024-06-26 02:18:08 +01:00
CONTRIBUTING.md Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents (#4292) 2025-04-15 00:27:09 +08:00
Dockerfile Add curl in docker image for native healthchecks (#4170) 2025-03-14 15:24:17 +00:00
LICENSE.md
README.md Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
SECURITY.md Create SECURITY.md 2025-01-30 09:42:22 +00:00
artillery-load-test.yml Update artillery-load-test.yml 2024-01-18 15:21:01 +00:00
package.json Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
pnpm-lock.yaml Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
pnpm-workspace.yaml Feature/Mistral FunctionAgent (#1912) 2024-03-18 13:17:00 +08:00
turbo.json

README.md

Flowise Logo Flowise Logo

Release Notes Discord Twitter Follow GitHub star chart GitHub fork

English | 繁體中文 | 简体中文 | 日本語 | 한국어

Build AI Agents, Visually

Quick Start

Download and Install NodeJS >= 18.15.0

  1. Install Flowise

    npm install -g flowise
    
  2. Start Flowise

    npx flowise start
    

    With username & password

    npx flowise start --FLOWISE_USERNAME=user --FLOWISE_PASSWORD=1234
    
  3. Open http://localhost:3000

🐳 Docker

Docker Compose

  1. Clone the Flowise project
  2. Go to docker folder at the root of the project
  3. Copy .env.example file, paste it into the same location, and rename to .env file
  4. docker compose up -d
  5. Open http://localhost:3000
  6. You can bring the containers down by docker compose stop

Docker Image

  1. Build the image locally:

    docker build --no-cache -t flowise .
    
  2. Run image:

    docker run -d --name flowise -p 3000:3000 flowise
    
  3. 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

  1. Clone the repository

    git clone https://github.com/FlowiseAI/Flowise.git
    
  2. Go into repository folder

    cd Flowise
    
  3. Install all dependencies of all modules:

    pnpm install
    
  4. Build all the code:

    pnpm build
    
    Exit code 134 (JavaScript heap out of memory) If you get this error when running the above `build` script, try increasing the Node.js heap size and run the script again:
    export NODE_OPTIONS="--max-old-space-size=4096"
    pnpm build
    
  5. Start the app:

    pnpm start
    

    You can now access the app on http://localhost:3000

  6. 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

🔒 Authentication

To enable app level authentication, add FLOWISE_USERNAME and FLOWISE_PASSWORD to the .env file in packages/server:

FLOWISE_USERNAME=user
FLOWISE_PASSWORD=1234

🌱 Env Variables

Flowise support different environment variables to configure your instance. You can specify the following variables in the .env file inside packages/server folder. Read more

📖 Documentation

Flowise Docs

🌐 Self Host

Deploy Flowise self-hosted in your existing infrastructure, we support various deployments

☁️ 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

See contributing guide. Reach out to us at Discord if you have any questions or issues. Star History Chart

📄 License

Source code in this repository is made available under the Apache License Version 2.0.