← Back to Leaderboard
Rageerle

ageerle/ruoyi-ai

Self-hosted Java workspace for AI agents, RAG, and visual workflows

Engineering Health (Methodology)
A+ · 88/100
Maintenance Activity
● Updated 15d ago
Latest Release
v3.1.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance31/35
Fork Adoption23/25
Release Cadence14/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 5,850
24h Growth
+1
7d Growth
+9
Forks
1,438

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ageerle/ruoyi-ai Star History (2024-01-17 - 2026-12-04) ALL-TIME STAR HISTORY (2024-01 – 2026-12) +5.8k in 1052d · avg +6/day 6.2k 3.1k 0 2024-01-17: ★ 12024-03-23: ★ 1482024-06-01: ★ 1902024-08-10: ★ 2042024-10-19: ★ 2222024-12-28: ★ 2352025-03-08: ★ 4412025-05-17: ★ 2,9362025-07-26: ★ 3,3962025-10-04: ★ 3,9492025-12-13: ★ 4,3972026-02-21: ★ 4,6712026-05-02: ★ 5,1182026-07-11: ★ 5,4302026-09-19: ★ 5,6772026-12-04: ★ 5,850 ★ 5.8k 2024-01 2025-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

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.

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.
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.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
# 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

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
ruoyi-ai ★5.8k+9JavaMITSelf-hosted Java workspace for AI agents, RAG, and visual workflows
MetaGPT71.6k+94PythonMITA role-based Python agent framework that turns software briefs into project arti
agno43.4k+66PythonApache-2.0Python framework and runtime for durable agent services over REST and MCP
AstrBot47.9k+298PythonAGPL-3.0A self-hosted Python agent hub that connects chat platforms to model providers

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/ageerle/ruoyi-ai.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ageerle/ruoyi-ai Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about ruoyi-ai

How do models, tools, and workflows fit together?

Configure a supported model and its API key in the admin panel, then use the model in a visual workflow or a Langchain4j agent. Workflows provide drag-and-drop nodes and SSE output; agents can use MCP tools and Skills under Supervisor orchestration. Coze, Dify, FastGPT, and RAGFlow are also listed as integration targets, but their feature sets should not be assumed interchangeable.

Do I need a GPU, and what drives host sizing?

No fixed GPU or VRAM requirement is specified for the platform. If inference is handled by an external API, size the host for the Java backend, MySQL, Redis, Weaviate, and MinIO rather than for model weights. Measure memory and disk use with a representative indexing workload and test concurrent SSE sessions. If you run models locally, size that inference service separately for the selected models and concurrency.

Can we use it commercially, and does self-hosting satisfy data-residency requirements?

The repository is MIT-licensed, which permits commercial use and modification subject to its notice requirements. That license does not grant rights to external model APIs, connected SaaS services, or enterprise-only features. Self-hosting also does not guarantee data residency: review what prompts, retrieved text, and embeddings inputs leave the deployment, and under which provider terms.

When should we choose it over Dify Cloud or Coze?

Choose RuoYi AI when you want to operate and customize a Java-backed workspace that combines RAG, workflows, and agents. Choose a hosted option when reducing infrastructure maintenance matters more than owning the application stack. RuoYi AI can also integrate with Coze or Dify, so adopting it does not necessarily mean replacing those services. Test the specific workflows and data paths you need before committing.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ageerle/ruoyi-ai? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ageerle/ruoyi-ai on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare