MCPcopy
hub / github.com/ageerle/ruoyi-ai

github.com/ageerle/ruoyi-ai @v3.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v3.0.0 ↗
4,059 symbols 13,569 edges 919 files 2,918 documented · 72%
README

RuoYi AI

Contributors Forks Stargazers Issues MIT License

GitHub Trending

RuoYi AI Logo

Enterprise-Grade AI Assistant Platform

An out-of-the-box full-stack AI platform supporting multi-agent collaboration, Supervisor mode orchestration, and multiple decision models, with advanced RAG technology and visual workflow orchestration capabilities

中文 | 📖 Documentation | 🚀 Live Demo | 🐛 Report Issues | 💡 Feature Requests

✨ Core Features

Module Current Capabilities
Model Management Multi-model integration (OpenAI/DeepSeek/Tongyi/Zhipu), multi-modal understanding, Coze/DIFY/FastGPT platform integration
Knowledge Base Local RAG + Vector DB (Milvus/Weaviate/Qdrant) + Document parsing
Tool Management MCP protocol integration, Skills capability + Extensible tool ecosystem
Workflow Orchestration Visual workflow designer, drag-and-drop node orchestration, SSE streaming execution, currently supports model calls, email sending, manual review nodes
Multi-Agent Agent framework based on Langchain4j, Supervisor mode orchestration, supports multiple decision models

🚀 Quick Start

Live Demo

Platform URL Account
User Frontend web.pandarobot.chat admin / admin123
Admin Panel admin.pandarobot.chat admin / admin123

Project Repositories

Module GitHub Repository Gitee Repository GitCode Repository
🔧 Backend ruoyi-ai ruoyi-ai ruoyi-ai
🎨 User Frontend ruoyi-web ruoyi-web ruoyi-web
🛠️ Admin Panel ruoyi-admin ruoyi-admin ruoyi-admin

Partner Projects

Project Name GitHub Repository Gitee Repository
element-plus-x element-plus-x element-plus-x

🛠️ Technical Architecture

Core Framework

  • Backend: Spring Boot 3.5.8 + Langchain4j
  • Data Storage: MySQL 8.0 + Redis + Vector Databases (Milvus/Weaviate/Qdrant)
  • Frontend: Vue 3 + Vben Admin + element-plus-x
  • Security: Sa-Token + JWT dual-layer security

  • Document Processing: PDF, Word, Excel parsing, intelligent image analysis

  • Real-time Communication: WebSocket real-time communication, SSE streaming response
  • System Monitoring: Comprehensive logging system, performance monitoring, service health checks

🐳 Docker Deployment

This project provides two Docker deployment methods:

Method 1: One-click Start All Services (Recommended)

Use docker-compose-all.yaml to start all services at once (including backend, admin panel, user frontend, and dependencies):

# Clone the repository
git clone https://github.com/ageerle/ruoyi-ai.git
cd ruoyi-ai

# Start all services (pull pre-built images from registry)
docker-compose -f docker-compose-all.yaml up -d

# Check service status
docker-compose -f docker-compose-all.yaml ps

# Access services
# Admin Panel: http://localhost:25666 (admin / admin123)
# User Frontend: http://localhost:25137
# Backend API: http://localhost:26039

Method 2: Step-by-step Deployment (Source Build)

If you need to build backend services from source, follow these steps:

Step 1: Deploy Backend Service

# Enter backend project directory
cd ruoyi-ai

# Start backend service (build from source)
docker-compose up -d --build

# Wait for backend service to start
docker-compose logs -f backend

Step 2: Deploy Admin Panel

# Enter admin panel project directory
cd ruoyi-admin

# Build and start admin panel
docker-compose up -d --build

# Access admin panel
# URL: http://localhost:5666

Step 3: Deploy User Frontend (Optional)

# Enter user frontend project directory
cd ruoyi-web

# Build and start user frontend
docker-compose up -d --build

# Access user frontend
# URL: http://localhost:5137

Service Ports

Service One-click Port Step-by-step Port Description
Admin Panel 25666 5666 Admin backend access
User Frontend 25137 5137 User frontend access
Backend Service 26039 6039 Backend API service
MySQL 23306 23306 Database service
Redis 26379 6379 Cache service
Weaviate 28080 28080 Vector database
MinIO API 29000 9000 Object storage API
MinIO Console 29090 9090 Object storage console

Image Registry

All images are hosted on Alibaba Cloud Container Registry:

crpi-31mraxd99y2gqdgr.cn-beijing.personal.cr.aliyuncs.com/ruoyi_ai

Available images: - mysql:v3 - MySQL database (includes initialization SQL) - redis:6.2 - Redis cache - weaviate:1.30.0 - Vector database - minio:latest - Object storage - ruoyi-ai-backend:latest - Backend service - ruoyi-ai-admin:latest - Admin frontend - ruoyi-ai-web:latest - User frontend

Common Commands

# Stop all services
docker-compose -f docker-compose-all.yaml down

# View service logs
docker-compose -f docker-compose-all.yaml logs -f [service-name]

# Restart a service
docker-compose -f docker-compose-all.yaml restart [service-name]

📚 Documentation

Want to learn more about installation, deployment, configuration, and secondary development?

👉 Complete Documentation

🤝 Contributing

We warmly welcome community contributions! Whether you are a seasoned developer or just getting started, you can contribute to the project 💪

How to Contribute

  1. Fork the project to your account
  2. Create a branch (git checkout -b feature/new-feature-name)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature/new-feature-name)
  5. Create a Pull Request

💡 Tip: We recommend submitting PRs to GitHub, we will automatically sync to other code hosting platforms

📄 License

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

🙏 Acknowledgments

Thanks to the following excellent open-source projects for their support: - Spring AI Alibaba Copilot - Intelligent coding assistant based on spring-ai-alibaba - Langchain4j - Powerful Java LLM development framework - RuoYi-Vue-Plus - Mature enterprise-level rapid development framework - Vben Admin - Modern Vue admin template

🌐 Ecosystem Partners

  • PPIO Cloud - Provides cost-effective GPU computing and model API services
  • Youyun Intelligent Computing - Thousands of RTX40 series GPUs + mainstream models API services, second-level response, pay-per-use, free for new customers.

💬 Community Chat

📱 Join Telegram Group


⭐ Star to SupportFork to Contribute📚 中文📖 Complete Documentation

Built with ❤️, maintained by the RuoYi AI open-source community

Extension points exported contracts — how you extend this code

TranslationInterface (Interface)
翻译接口 (实现类需标注 TranslationType 注解标明翻译类型) @author Lion Li [6 implementers]
ruoyi-common/ruoyi-common-translation/src/main/java/org/ruoyi/common/translation/core/TranslationInterface.java
IEncryptor (Interface)
加解者 @author 老马 @version 4.6.0 [6 implementers]
ruoyi-common/ruoyi-common-encrypt/src/main/java/org/ruoyi/common/encrypt/core/IEncryptor.java
VectorStoreService (Interface)
向量库管理 @author ageer [6 implementers]
ruoyi-modules/ruoyi-chat/src/main/java/org/ruoyi/service/vector/VectorStoreService.java
IChatConfigService (Interface)
配置信息Service接口 @author ageerle @date 2025-12-14 [16 implementers]
ruoyi-modules/ruoyi-system/src/main/java/org/ruoyi/system/service/IChatConfigService.java
WorkflowNodeRunner (Interface)
回调接口,负责执行业务节点并返回下游编排所需的元数据。 [5 implementers]
ruoyi-modules/ruoyi-aiflow/src/main/java/org/ruoyi/workflow/workflow/WorkflowNodeRunner.java
IChatService (Interface)
公共大模型对话接口 [3 implementers]
ruoyi-common/ruoyi-common-chat/src/main/java/org/ruoyi/common/chat/service/chat/IChatService.java
NodeExtEnum (Interface)
节点扩展属性枚举 @author AprilWind [3 implementers]
ruoyi-modules/ruoyi-workflow/src/main/java/org/ruoyi/workflow/common/enums/NodeExtEnum.java
ExcelListener (Interface)
Excel 导入监听 @author Lion Li [2 implementers]
ruoyi-common/ruoyi-common-excel/src/main/java/org/ruoyi/common/excel/core/ExcelListener.java

Core symbols most depended-on inside this repo

get
called by 250
ruoyi-modules/ruoyi-chat/src/main/java/org/ruoyi/observability/OutputChannel.java
isEmpty
called by 227
ruoyi-common/ruoyi-common-core/src/main/java/org/ruoyi/common/core/utils/StringUtils.java
put
called by 194
ruoyi-common/ruoyi-common-redis/src/main/java/org/ruoyi/common/redis/utils/CacheUtils.java
ok
called by 175
ruoyi-common/ruoyi-common-core/src/main/java/org/ruoyi/common/core/domain/R.java
build
called by 154
ruoyi-modules/ruoyi-aiflow/src/main/java/org/ruoyi/workflow/workflow/WorkflowGraphBuilder.java
error
called by 140
ruoyi-modules/ruoyi-chat/src/main/java/org/ruoyi/agent/domain/Result.java
isNotEmpty
called by 128
ruoyi-common/ruoyi-common-core/src/main/java/org/ruoyi/common/core/utils/StringUtils.java
add
called by 120
ruoyi-modules/ruoyi-aiflow/src/main/java/org/ruoyi/workflow/service/WorkflowService.java

Shape

Method 3,060
Class 736
Interface 145
Function 71
Enum 47

Languages

Java97%
Python3%

Modules by API surface

ruoyi-modules/ruoyi-system/src/main/java/org/ruoyi/system/service/impl/SysUserServiceImpl.java42 symbols
ruoyi-common/ruoyi-common-redis/src/main/java/org/ruoyi/common/redis/utils/RedisUtils.java39 symbols
ruoyi-modules/ruoyi-workflow/src/main/java/org/ruoyi/workflow/service/impl/FlwTaskServiceImpl.java30 symbols
ruoyi-modules/ruoyi-system/src/main/java/org/ruoyi/system/service/impl/SysRoleServiceImpl.java30 symbols
ruoyi-modules/ruoyi-system/src/main/java/org/ruoyi/system/service/ISysUserService.java28 symbols
ruoyi-modules/ruoyi-aiflow/src/main/java/org/ruoyi/workflow/cosntant/AdiConstant.java28 symbols
ruoyi-modules/ruoyi-system/src/main/java/org/ruoyi/system/service/ISysRoleService.java26 symbols
ruoyi-modules/ruoyi-workflow/src/main/java/org/ruoyi/workflow/service/IFlwTaskService.java24 symbols
ruoyi-common/ruoyi-common-core/src/main/java/org/ruoyi/common/core/utils/StringUtils.java24 symbols
ruoyi-modules/ruoyi-system/src/main/java/org/ruoyi/system/service/impl/SysDeptServiceImpl.java23 symbols
ruoyi-admin/src/main/resources/skills/docx/scripts/office/validators/base.py22 symbols
ruoyi-modules/ruoyi-workflow/src/main/java/org/ruoyi/workflow/service/impl/FlwInstanceServiceImpl.java20 symbols

Dependencies from manifests, versioned

cn.dev33:sa-token-core
cn.dev33:sa-token-jwt
cn.dev33:sa-token-spring-boot3-starter
cn.hutool:hutool-bom
cn.hutool:hutool-captcha
cn.hutool:hutool-core
cn.hutool:hutool-crypto
cn.hutool:hutool-extra
cn.hutool:hutool-http
cn.idev.excel:fastexcel
com.aizuda:snail-job-client-job-core
com.aizuda:snail-job-client-starter

Datastores touched

(mysql)Database · 1 repos
agent_dbDatabase · 1 repos
ruoyi-aiDatabase · 1 repos
ruoyi-ai-agentDatabase · 1 repos
ry-vueDatabase · 1 repos
your_databaseDatabase · 1 repos

For agents

$ claude mcp add ruoyi-ai \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact