# Repository Briefing: ageerle/ruoyi-ai
> Source: https://repoforai.com/repo/ageerle/ruoyi-ai (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/ageerle/ruoyi-ai
- **Official Docs / Website**: https://doc.ruoyiai.chat
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Java
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 31/35 · Adoption 23/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v3.1.0 (2026-08-04) — https://github.com/ageerle/ruoyi-ai/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, API
- **Momentum**: 5,850 ★ total (+1 24h / +9 7d) · 1,438 forks
- **Topics**: `agent`, `ai`, `knowledge`, `mcp`, `rag`
- **When to Use**: Best for: Java teams building a self-hosted knowledge assistant that needs provider choice, document processing, and workflows with human review. Skip if: You want a managed service, require a verified air-gapped deployment, or depend on a particular vector-store adapter or ingestion format you have not validated in the target edition.

## Overview
```text
### Architecture & Core Mechanics
RuoYi AI is a multi-module Maven backend built on Spring Boot 3.5.8 and Langchain4j. The root separates `ruoyi-admin`, `ruoyi-common`, `ruoyi-extend`, and `ruoyi-modules`; despite the name overlap, the Vue 3 admin UI lives in a separate repository, as does the `ruoyi-web` user UI. MySQL 8.0 and Redis sit alongside the vector store, and the all-in-one deployment includes MinIO. Authentication uses Sa-Token and JWT.

Visual workflows compose nodes such as model calls and human review, and stream execution output over SSE. Supervisor-mode orchestration coordinates agents that can combine MCP tools and Skills; WebSocket support is also available for real-time communication. The v3.0.0 release refactored `ChatServiceFacade` and added streaming wrappers and listeners, a concrete change to the chat service and the way it handles streamed output.

### Key Capabilities & Differentiators
Model management covers DeepSeek, Zhipu, MIMO, Bailian, and OpenAI, including multimodal capabilities where supported by the selected model. It also connects to Coze, Dify, FastGPT, and RAGFlow. The local RAG feature combines document parsing and vector retrieval; v3.1.0 adds Zhipu embeddings, reranking support, and a custom-model option. These expand the choices for retrieval and model configuration without establishing any particular accuracy or latency gain.

Document handling extends beyond knowledge-base ingestion. The v3.0.0 `SkillsAgent` can use DOCX, PDF, and XLSX Skills for tasks such as Word annotations and tracked changes, PDF form filling and image conversion, and Excel processing. Visual workflows can combine model calls with email and manual review, making it possible to require human input within a process rather than leaving the entire decision to an agent.

### Trade-offs & Limitations
Compared with Dify Cloud or Coze, RuoYi AI puts the application stack under your control and offers a Java backend to customize, at the cost of operating the database, cache, vector store, object storage, and frontends. Hosting the application yourself does not keep inference data on-premises if model or embedding calls go to external providers. Before putting agent tools into production, verify their authorization boundaries and decide which actions require human approval.

The broad storage and parsing lists are not an edition-specific compatibility matrix. The all-in-one Compose deployment uses Weaviate, while v2.1.0 release notes record the migration of Milvus and Qdrant extensions and certain knowledge-base parsers to the enterprise edition. The later XLSX Skill is not proof that Excel attachment ingestion returned to the open-source knowledge base. Validate the exact release and edition against your ingestion and vector-store requirements before migrating.

### Hardware & Deployment Guide
Use Docker Engine on Linux or macOS, or Docker Desktop on Windows, with Compose V2. For the all-in-one deployment, copy `docs/docker/ruoyi-ai/.env.example` to `docs/docker/ruoyi-ai/.env`, set `RUIYI_VERSION=v3.1.0`, and run `pull`, `up -d`, and `ps` with that env file and `docs/docker/ruoyi-ai/docker-compose-all.yaml`. It pulls public GHCR images and publishes the admin UI, user UI, and backend API on ports 25666, 25137, and 26039, respectively.

A step-by-step source-build path deploys the backend and UI repositories separately. Before production use, replace default MySQL and MinIO passwords and restrict access to the published MySQL, Redis, Weaviate, and MinIO ports. For upgrades, change the image version and re-run pull and startup; `down -v` deletes persistent volumes. v3.1.0 fixes an all-in-one Compose startup issue. The standard install needs image access, and remote model APIs need connectivity at runtime; self-hosting is not an offline guarantee.
```

## Key Capabilities
```text
- Runtime: Spring Boot 3.5.8 and Langchain4j backend, with separate Vue 3 admin and user frontends.
- Workflow: Drag-and-drop model call, email, and human review nodes with SSE execution output.
- Agent tools: Supervisor-mode coordination with MCP integrations and reusable Skills.
- Retrieval: Local RAG with Weaviate in the all-in-one stack; v3.1.0 adds Zhipu embeddings and reranking support.
- Document actions: v3.0.0 adds DOCX, PDF, and XLSX Skills, including Word revision handling and PDF form filling.
- Packaging: Release-pinned GHCR images run the backend, both frontends, and supporting services under Docker Compose V2.
```

## Quick Start / Clone
```bash
# 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
# B
```
