$git clone https://github.com/ageerle/ruoyi-ai[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url]
| 1 | # RuoYi AI |
| 2 | |
| 3 | <div align="center"> |
| 4 | |
| 5 | [![Contributors][contributors-shield]][contributors-url] |
| 6 | [![Forks][forks-shield]][forks-url] |
| 7 | [![Stargazers][stars-shield]][stars-url] |
| 8 | [![Issues][issues-shield]][issues-url] |
| 9 | [![MIT License][license-shield]][license-url] |
| 10 | |
| 11 | |
| 12 | <p align="center"> |
| 13 | <a href="https://trendshift.io/repositories/13209"> |
| 14 | <img src="https://trendshift.io/api/badge/repositories/13209" alt="GitHub Trending"> |
| 15 | </a> |
| 16 | </p> |
| 17 | |
| 18 | <img src="docs/image/logo.png" alt="RuoYi AI Logo" width="120" height="120"> |
| 19 | |
| 20 | ### 企业级AI助手平台 |
| 21 | |
| 22 | *开箱即用的全栈AI平台,支持多智能体协同、Supervisor模式编排、多种决策模式、RAG技术和流程编排能力* |
| 23 | |
| 24 | **[English](README_EN.md)** | **[📖 使用文档](https://doc.ruoyiai.chat/)** | |
| 25 | **[🚀 在线体验](https://web.ruoyiai.chat/)** | **[🐛 问题反馈](https://github.com/ageerle/ruoyi-ai/issues)** | **[💡 功能建议](https://github.com/ageerle/ruoyi-ai/issues)** |
| 26 | |
| 27 | </div> |
| 28 | |
| 29 | |
| 30 | ## ✨ 核心亮点 |
| 31 | |
| 32 | | 模块 | 现有能力 |
| 33 | |:---------:|--- |
| 34 | | **模型管理** | 多模型接入(DeepSeek/智谱/MIMO/百炼/OpenAI)、多模态理解、Coze/DIFY/FastGPT/RAGFlow平台集成 |
| 35 | | **知识管理** | 本地RAG + 向量库(Milvus/Weaviate/Qdrant) + 文档解析 |
| 36 | | **工具管理** | Mcp协议集成、Skills能力 + 可扩展工具生态 |
| 37 | | **流程编排** | 可视化工作流设计器、节点拖拽编排、SSE流式执行,目前已经支持模型调用,邮件发送,人工审核等节点 |
| 38 | | **智能体管理** | 基于Langchain4j的Agent框架、Supervisor模式编排,支持多种决策模型,可以灵活搭配工具,skills |
| 39 | |
| 40 | |
| 41 | ### 项目源码 |
| 42 | |
| 43 | | 项目模块 | GitHub 仓库 | Gitee 仓库 | GitCode 仓库 | |
| 44 | |----------|-------------------------------------------------------|------------------------------------------------------|--------------------------------------------------------| |
| 45 | | 🔧 后端服务 | [ruoyi-ai](https://github.com/ageerle/ruoyi-ai) | [ruoyi-ai](https://gitee.com/ageerle/ruoyi-ai) | [ruoyi-ai](https://gitcode.com/ageerle/ruoyi-ai) | |
| 46 | | 🎨 用户前端 | [ruoyi-web](https://github.com/ageerle/ruoyi-web) | [ruoyi-web](https://gitee.com/ageerle/ruoyi-web) | [ruoyi-web](https://gitcode.com/ageerle/ruoyi-web) | |
| 47 | | 🛠️ 管理后台 | [ruoyi-admin](https://github.com/ageerle/ruoyi-admin) | [ruoyi-admin](https://gitee.com/ageerle/ruoyi-admin) | [ruoyi-admin](https://gitcode.com/ageerle/ruoyi-admin) | |
| 48 | | 🎬 短剧平台 | [ruoyi-drama](https://github.com/ageerle/ruoyi-drama) | [ruoyi-drama](https://gitee.com/ageerle/ruoyi-drama) | [ruoyi-drama](https://gitcode.com/ageerle/ruoyi-drama) | |
| 49 | | 🤖 编程助手 | [ruoyi-copilot](https://github.com/ageerle/ruoyi-copilot) | [ruoyi-copilot](https://gitee.com/ageerle/ruoyi-copilot) | [ruoyi-copilot](https://gitcode.com/ageerle/ruoyi-copilot) | |
| 50 | | 📱 小程序端 | [ruoyi-uniapp](https://github.com/ageerle/ruoyi-uniapp) | [ruoyi-uniapp](https://gitee.com/ageerle/ruoyi-uniapp) | [ruoyi-uniapp](https://gitcode.com/ageerle/ruoyi-uniapp) | |
| 51 | |
| 52 | ### 合作项目 |
| 53 | | 项目名称 | GitHub 仓库 | Gitee 仓库 |
| 54 | |----------------|-------------------------------------------------------|------------------------------------------------------| |
| 55 | | element-plus-x | [element-plus-x](https://github.com/element-plus-x/Element-Plus-X) | [element-plus-x](https://gitee.com/he-jiayue/element-plus-x) | |
| 56 | |
| 57 | ## 🛠️ 技术架构 |
| 58 | |
| 59 | ### 核心框架 |
| 60 | - **后端架构**:Spring Boot 3.5.8 + Langchain4j |
| 61 | - **数据存储**:MySQL 8.0 + Redis + 向量数据库(Milvus/Weaviate/Qdrant) |
| 62 | - **前端技术**:Vue 3 + Vben Admin + element-plus-x |
| 63 | - **安全认证**:Sa-Token + JWT 双重保障 |
| 64 | - **文档处理**:PDF、Word、Excel 解析,图像智能分析 |
| 65 | - **实时通信**:WebSocket 实时通信,SSE 流式响应 |
| 66 | - **系统监控**:完善的日志体系、性能监控、服务健康检查 |
| 67 | |
| 68 | ## 🐳 Docker 部署 |
| 69 | |
| 70 | 本项目提供两种 Docker 部署方式: |
| 71 | |
| 72 | ### 方式一:一键启动所有服务(推荐) |
| 73 | |
| 74 | 使用 `docker-compose-all.yaml` 可以一键启动所有服务(包括后端、管理端、用户端及依赖服务): |
| 75 | |
| 76 | ```bash |
| 77 | # 克隆仓库 |
| 78 | git clone https://github.com/ageerle/ruoyi-ai.git |
| 79 | cd ruoyi-ai |
| 80 | |
| 81 | # 启动所有服务(从镜像仓库拉取预构建镜像) |
| 82 | docker-compose -f docker-compose-all.yaml up -d |
| 83 | |
| 84 | # 查看服务状态 |
| 85 | docker-compose -f docker-compose-all.yaml ps |
| 86 | |
| 87 | # 访问服务 |
| 88 | # 管理端: http://localhost:25666 (admin / admin123) |
| 89 | # 用户端: http://localhost:25137 |
| 90 | # 后端API: http://localhost:26039 |
| 91 | ``` |
| 92 | |
| 93 | ### 方式二:分步部署(源码编译) |
| 94 | |
| 95 | 如果您需要从源码构建后端服务,请按照以下步骤操作: |
| 96 | |
| 97 | #### 第一步:部署后端服务 |
| 98 | |
| 99 | ```bash |
| 100 | # 进入后端项目目录 |
| 101 | cd ruoyi- |