ruoyi-ai is a free, open source ai development platforms project written in Java and released under MIT. It has 5,705 GitHub stars, 1,406 forks and 7 open issues, and was last pushed 7 days ago. On this registry it ranks #80 of 116 tracked projects in AI Development Platforms, with 5 head-to-head comparisons available.

What is ruoyi-ai?

RuoYi AI is an MIT-licensed, Java-based enterprise AI development framework for building AI agents, aimed at developers and platform teams that need multi-provider LLM management, private knowledge bases, visual workflow orchestration and multi-agent coordination in a single self-hostable stack.

What it is

RuoYi AI is a full-stack AI assistant platform built around a Spring Boot 3.5.8 and Langchain4j backend, a Vue 3 frontend (Vben Admin and element-plus-x), MySQL 8.0 and Redis for storage, and a choice of Milvus, Weaviate or Qdrant as the vector database. It bundles five concerns into one system: model management, knowledge management, tool management, visual workflow orchestration and multi-agent execution. Document processing covers PDF, Word and Excel parsing with intelligent image analysis, and the communication layer uses WebSocket plus SSE streaming. It lives in the Java and Spring Boot ecosystem, which is unusual for this class of tool, and it is compatible with mainstream Agent Skill standards.

The concrete problem it solves is the assembly tax of building an enterprise AI assistant from separate parts. Instead of stitching together a model gateway, a standalone RAG pipeline, a workflow engine and hand-written orchestration code, teams configure all of that behind one admin panel. Model management reaches DeepSeek, Zhipu, MIMO, Bailian and OpenAI directly, and can also front Coze, DIFY, FastGPT or RAGFlow as upstream platforms, so an existing retrieval or agent service does not have to be thrown away. The distributed module set — backend, user frontend, admin panel, drama, copilot and a uniapp mini-app — replaces the collection of unrelated repositories that such a platform usually grows into.

Key capabilities

  • Unified model management across DeepSeek, Zhipu, MIMO, Bailian and OpenAI, with multi-modal understanding and integration with Coze, DIFY, FastGPT and RAGFlow.
  • Knowledge management combining local RAG with Milvus, Weaviate or Qdrant vector databases, plus document parsing for PDF, Word and Excel with intelligent image analysis.
  • Tool management over the MCP protocol, with a Skills capability and an extensible tool ecosystem.
  • Visual workflow designer with drag-and-drop node orchestration and SSE streaming execution; documented nodes include model calls, email sending and manual review.
  • Multi-agent framework based on Langchain4j with Supervisor mode orchestration and support for multiple decision models, combinable with tools and skills.
  • Security and observability layers: Sa-Token plus JWT dual-layer authentication, comprehensive logging, performance monitoring and service health checks.

Who uses it and how

  • Enterprise teams building private AI assistants over internal document corpora, keeping data in their own MySQL 8.0, Redis and vector database deployment.
  • Teams already standardised on Java and Spring Boot, who want the backend on Spring Boot 3.5.8 with Langchain4j and the frontend on Vue 3, Vben Admin and element-plus-x rather than a Python stack.
  • Workflow builders who need human-in-the-loop steps, using the manual review node alongside the email sending node for notifications.
  • Organisations that route between Chinese model providers such as DeepSeek, Zhipu, MIMO and Bailian and OpenAI through one configuration surface.
  • Multi-surface deployments that need more than a chat window, using the separate repositories for backend, user frontend, admin panel, drama, copilot and the uniapp mini-app.

Getting started

The README documents Docker deployment in two variants, the first being a one-click start method. A hosted alternative exists for evaluation: an admin panel at http://129.226.199.247:25666 and a user frontend at http://129.226.199.247:25137, both reachable with the default admin / admin123 account, with documentation at https://doc.ruoyiai.chat.

How it compares

The facts do not include a list of paid products that RuoYi AI replaces, and they name no direct peer in this registry, so on that axis it stands alone here. Coze, DIFY, FastGPT and RAGFlow appear only as platforms RuoYi AI integrates with through model management, not as alternatives it is positioned against. Its distinguishing traits against anything comparable are the MIT licence, the Java and Spring Boot implementation and full self-hosting.

When to use it — and when not to

A self-hoster must operate MySQL 8.0, Redis and one of the supported vector databases, and should expect to run several front-end modules rather than a single binary. Teams that do not want to manage a JVM service, a relational database and a vector store, or that need a Python-native stack, are better served elsewhere. The facts also describe a separate commercial edition at https://web.ruoyiai.chat with WeChat QR code login, so groups outside China should confirm which capabilities live only there before committing to the open-source track.

project readme (upstream, from github) — read inline

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]

GitHub Trending

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

🚀 Live Demo

Service URL Default Account
Admin Panel http://129.226.199.247:25666 admin / admin123
User Frontend http://129.226.199.247:25137 admin / admin123
Commercial Edition https://web.ruoyiai.chat WeChat QR code login

✨ Core Features

Module Current Capabilities
Model Management Multi-model integration (DeepSeek/Zhipu/MIMO/Bailian/OpenAI), multi-modal understanding, Coze/DIFY/FastGPT/RAGFlow platform integration
Knowledge Management 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, and other nodes
Multi-Agent Agent framework based on Langchain4j, Supervisor mode orchestration, supports multiple decision models, can flexibly combine tools and skills

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
🎬 Drama ruoyi-drama ruoyi-drama ruoyi-drama
🤖 Copilot ruoyi-copilot ruoyi-copilot ruoyi-copilot
📱 Mini-App ruoyi-uniapp ruoyi-uniapp ruoyi-uniapp

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

Requirements
  • Docker Engine(Linux/macOS)或 Docker Desktop(Windows)
  • Docker Compose V2
Linux / macOS

# Clone the v3.1.0 release
git clone --depth 1 --branch v3.1.0 https://github.com/ageerle/ruoyi-ai.git
cd ruoyi-ai

# Pin the image version. Public GHCR images do not require docker login.
cp docs/docker/ruoyi-ai/.env.example docs/docker/ruoyi-ai/.env
sed -i 's/^RUIYI_VERSION=.*/RUIYI_VERSION=v3.1.0/' docs/docker/ruoyi-ai/.env

# Pull pre-built images from GHCR and start all services
docker compose --env-file docs/docker/ruoyi-ai/.env \
  -f docs/docker/ruoyi-ai/docker-compose-all.yaml pull
docker compose --env-file docs/docker/ruoyi-ai/.env \
  -f docs/docker/ruoyi-ai/docker-compose-all.yaml up -d

# Check service status
docker compose --env-file docs/docker/ruoyi-ai/.env \
  -f docs/docker/ruoyi-ai/docker-compose-all.yaml ps

# Access services (replace SERVER_IP with the server address)
# Admin Panel: http://SERVER_IP:25666 (admin / admin123)
# User Frontend: http://SERVER_IP:25137
# Backend API: http://SERVER_IP:26039
Windows PowerShell

If you are using Windows with Docker Desktop, you can use PowerShell to execute the following commands:


# Clone the v3.1.0 release
git clone --depth 1 --branch v3.1.0 https://github.com/ageerle/ruoyi-ai.git
cd ruoyi-ai

# Create the environment configuration file
Copy-Item docs\docker\ruoyi-ai\.env.example docs\docker\ruoyi-ai\.env

# Pin the image version
(Get-Content docs\docker\ruoyi-ai\.env) `
  -replace '^RUIYI_VERSION=.*', 'RUIYI_VERSION=v3.1.0' |
  Set-Content docs\docker\ruoyi-ai\.env

# Check the environment configuration
Get-Content docs\docker\ruoyi-ai\.env

# Pull pre-built images from GHCR and start all services
docker compose --env-file docs\docker\ruoyi-ai\.env `
  -f docs\docker\ruoyi-ai\docker-compose-all.yaml pull
docker compose --env-file docs\docker\ruoyi-ai\.env `
  -f docs\docker\ruoyi-ai\docker-compose-all.yaml up -d

# Check service status
docker compose --env-file docs\docker\ruoyi-ai\.env `
  -f docs\docker\ruoyi-ai\docker-compose-all.yaml ps

The default Compose file also publishes MySQL (23306), Redis (26379), Weaviate (28080), and MinIO (29000/29090). For production deployments, change the default MySQL and MinIO passwords and expose only the application ports through the firewall or a reverse proxy.

To upgrade to another published release, update RUIYI_VERSION in docs/docker/ruoyi-ai/.env, then run docker compose pull and docker compose up -d with the same --env-file and -f options. Do not use docker compose down -v unless you intend to delete persistent data volumes.

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

📚 Documentation

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

**👉

readme truncated — read the full docs on github

Frequently asked questions

Is ruoyi-ai free to use?

ruoyi-ai is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does ruoyi-ai do?

An enterprise AI development framework for building AI agents. It provides unified management of multi-provider LLMs, secure enterprise knowledge bases with hig

What is ruoyi-ai written in?

ruoyi-ai is primarily written in Java. Its source is publicly available at https://github.com/ageerle/ruoyi-ai, and it has 5,705 GitHub stars.