| 简体中文 | English |
Jrag is a Retrieval-Augmented Generation (RAG) and MCP tool integration platform based on Java Spring Boot. It aims to enhance the application capabilities of large language models in the Java ecosystem by combining retrieval, MCP tools, and generative AI model technologies. The platform supports access to various mainstream large language model interfaces, including Ollama and OpenAI, and integrates with Milvus vector database to provide efficient vector storage and retrieval services.
All Docker configurations are located in the docker/ directory. By default, it will start Milvus (v2.6.9) and Jrag.
docker pull maven:3.8.8-amazoncorretto-21-debian
docker pull eclipse-temurin:21-jre
docker pull alpine/git
docker pull milvusdb/milvus:v2.6.9
docker pull debian:bookworm-slim
shell
rm -rf jrag-starter/src/main/resources/dist
git clone -b dist https://github.com/jerryt92/jrag-ui.git jrag-starter/src/main/resources/dist
Windows
Remove-Item -Recurse -Force jrag-starter\src\main\resources\dist
git clone -b dist https://github.com/jerryt92/jrag-ui.git jrag-starter\src\main\resources\dist
docker compose -f docker/docker-compose.yml up -d --build
Configurable options (docker/.env):
JRAG_BASE_DIR: Host configuration/data root directory (default ~/jrag)COMPOSE_PROJECT_NAME: Container prefix (default jrag)UPDATE_UI: Whether to pull the latest dist from jrag-ui (true/false)JRAG_UI_REPO: UI repository address (default https://github.com/jerryt92/jrag-ui.git)JRAG_UI_BRANCH: UI branch (default dist)Access:
http://localhost:30110/http://localhost:30110/v1/api/jrag/health-checkHost access within containers:
host.docker.internalhost.docker.internal (requires Docker 20.10+ and configuration of extra_hosts: ["host.docker.internal:host-gateway"])Data Communication Encyclopedia Assistant
Data Communication Encyclopedia Assistant, based on Jrag, can answer various data communication-related questions.


So far, most open-source RAG platforms are implemented in Python. As a Java developer, I hope Jrag can better suit Java developers’ needs and provide more suitable LLM integration and applications for the Java ecosystem.
The interface style is dynamic, featuring frosted glass design and dark mode support.







admin
jrag@2025