开源项目 GitHub Topic rag 2026-07-06T12:02 正文 ok 321 words

Flowise:可视化构建 AI Agent

英文标题:📦 FlowiseAI/Flowise

Flowise 是一个开源低代码平台,允许开发者通过拖拽节点的方式可视化构建 AI Agent 与工作流。 项目基于 Node.js 与 React,支持 npm、Docker 等多种安装方式,并提供自托管与云服务选项。 该工具显著降低了构建复杂 AI 应用的门槛,适合希望快速接入大语言模型(LLM)能力的开发者与企业。
打开原文相关 3.5 · 机会 3
media40.2 KB media40.2 KB media1.3 KB media3.2 KB media1.7 KB media2.7 KB media2.7 KB media14.1 MB media6.0 KB media160.6 KB media6.0 KB media12.3 KB media9.3 KB media12.3 KB media4.1 KB media481.3 KB media63.5 KB media993.1 KB

中文

可视化构建 AI Agent

📦 安装

下载并安装 NodeJS >= 20.0.0

一、使用 npm 安装

  1. 安装 Flowise

    npm install -g flowise
    
  2. 启动 Flowise

    npx flowise start
    
  3. 打开 http://localhost:3000

二、使用 Docker Compose 安装

  1. 克隆 Flowise 项目
  2. 进入项目根目录下的 docker 文件夹
  3. 复制 .env.example 文件,粘贴到相同位置,并重命名为 .env 文件
  4. 运行 docker compose up -d
  5. 打开 http://localhost:3000
  6. 可以通过 docker compose stop 停止所有容器

三、使用 Docker 镜像安装

  1. 在本地构建镜像:

    docker build --no-cache -t flowise .
    
  2. 运行镜像:

    docker run -d --name flowise -p 3000:3000 flowise
    
  3. 停止镜像:

    docker stop flowise
    

👨‍💻 开发者指南

Flowise 在同一个单体仓库中包含 4 个不同的模块。

  • server: Node 后端,用于提供 API 逻辑
  • ui: React 前端
  • components: 第三方节点集成
  • api-documentation: 基于 express 自动生成的 swagger-ui API 文档

前置条件

搭建步骤

  1. 克隆仓库:

    git clone https://github.com/FlowiseAI/Flowise.git
    
  2. 进入仓库目录:

    cd Flowise
    
  3. 安装所有模块的依赖:

    pnpm install
    
  4. 构建所有代码:

    pnpm build
    

如果运行上述 build 脚本时出现退出代码 134 (JavaScript heap out of memory) 错误,请尝试增大 Node.js 堆内存大小,然后重新运行脚本:

     # 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

然后运行:

     pnpm build
  1. 启动应用:

    pnpm start
    

现在可以通过 http://localhost:3000 访问应用。

  1. 开发构建:

    pnpm dev
    

任何代码更改后,应用将在 http://localhost:8080 自动重载。

⚙️ 配置

Flowise 支持多种环境变量来配置实例。你可以在 packages/server 文件夹中的 .env 文件里指定以下变量。了解更多 细节

📖 文档

你可以在 此处 查看 Flowise 官方文档。

🌐 自托管与云服务

在您现有的基础设施中自托管部署 Flowise,我们支持多种 部署方式。

快速开始使用 Flowise Cloud。

💬 社区

欢迎在 Discussion 中提问、反馈问题和提出新功能需求。

🙌 贡献者

感谢这些卓越的贡献者们

📄 贡献与许可

参见 贡献指南。如有任何问题,可通过 Discord 联系我们。

Star History Chart

本仓库中的源代码基于 Apache License Version 2.0 提供。

English / 原文

Build AI Agents, Visually

Download and Install NodeJS >= 20.0.0

  1. Install Flowise

  2. Start Flowise

  3. Open http://localhost:3000

  4. Clone the Flowise project

  5. Go to docker folder at the root of the project

  6. Copy .env.example file, paste it into the same location, and rename to .env file

  7. docker compose up -d

  8. Open http://localhost:3000

  9. You can bring the containers down by docker compose stop

  10. Build the image locally:

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

    docker run -d --name flowise -p 3000:3000 flowise
    
  12. Stop image:

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

  • Install PNPM

  1. Clone the repository:

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

  3. Install all dependencies of all modules:

  4. Build all the code:

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:

     # 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:

  1. Start the app:

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

  1. For development build:

Any code changes will reload the app automatically on http://localhost:8080

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

You can view the Flowise Docs here

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

Get Started with Flowise Cloud.

Feel free to ask any questions, raise problems, and request new features in Discussion.

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

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