ragflow
ragflow是融合检索增强生成(RAG,为大模型补充外部知识库信息的技术)与智能体能力的开源引擎,可为不同规模企业提供简化的RAG落地工作流。
这个项目值得继续研究吗?
ragflow是融合检索增强生成(RAG,为大模型补充外部知识库信息的技术)与智能体能力的开源引擎,可为不同规模企业提供简化的RAG落地工作流。
- 解决什么问题
- 企业搭建基于大模型的知识库问答、智能客服等系统时,常面临多格式文档处理难、回答错误多、落地流程复杂、适配不同场景成本高等痛点,缺乏可快速复用的完整工具链。
- 适合什么团队
- 适合有知识库问答、智能客服、企业AI助手等落地需求的各规模企业,以及需要快速搭建RAG能力的业务团队。
- 使用前注意
- 私有化部署需至少4核CPU、16G内存、50G存储,官方默认Docker镜像仅支持x86架构,使用代码执行功能需额外安装gVisor。
本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。
从官方资料看清能力、部署与采用边界
以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。
项目定位
ragflow是一款开源的检索增强生成(RAG,一种为大语言模型补充外部知识库信息、减少回答错误的技术)引擎,融合了AI智能体(可自主完成特定任务的AI程序)能力,可为大语言模型构建高质量的上下文层,提供简化的RAG落地工作流,适配不同规模企业的需求。
核心能力
- 多格式数据处理:支持Word、PPT、Excel、文本、图片、扫描件、网页、结构化数据等多种格式的文档解析,可从复杂格式的非结构化数据中提取有效知识。
- 可干预的知识处理:采用模板化的文本分块机制,处理过程可解释,支持人工介入调整,同时所有回答自带引用溯源,可快速查看来源,减少大模型幻觉。
- 完整的RAG工作流:支持对接多种主流大模型和嵌入模型,内置多召回策略和重排序机制,提供易用的API可无缝对接企业现有业务系统。
- 智能体能力:内置预设的智能体模板,支持代码执行、记忆功能等,可快速搭建更复杂的AI应用。
典型使用方式
你可以根据团队需求选择两种使用方式:
目前ragflow还支持对接飞书、Discord、Telegram等多个主流聊天渠道,可直接在这些沟通工具中为员工或客户提供AI问答服务。
- 试用官方云服务:直接访问https://cloud.ragflow.io 即可快速体验功能,无需部署,适合小团队快速验证需求。
- 私有化部署:适合有数据安全要求的中大型企业,部署后数据全部保存在企业内部,可根据自身需求定制功能。
部署注意事项
如果选择私有化部署,你的技术团队需要满足以下基础要求:
- 硬件配置最低为4核CPU、16GB内存、50GB可用磁盘空间
- 官方默认提供的Docker镜像仅支持x86架构,若使用ARM架构服务器需要自行编译适配镜像
- 若需要使用代码执行沙箱功能,需要额外安装gVisor组件
近期功能更新
项目仍在持续迭代,近期新增的核心功能包括:
- 2026年6月:支持飞书、Discord、Telegram、Line等多个聊天渠道对接
- 2026年4月:支持DeepSeek v4大模型
- 2025年12月:新增AI智能体记忆功能
- 2025年11月:支持从Confluence、S3、Notion、Google Drive等平台同步数据
- 2025年8月:支持GPT-5系列模型、智能体工作流和MCP
- 2025年3月:支持用多模态模型解析PDF、DOCX文件中的图片内容
许可证与采用建议
ragflow采用Apache-2.0开源许可证,企业可免费商用、修改、分发代码,无开源传染风险,可放心采用。 如果你的团队刚接触RAG场景,建议先试用官方云服务验证需求匹配度,确认符合要求后再根据自身数据安全要求选择云服务或私有化部署。
官方资料与来源
- agent-harness
- agentic-ai
- agentic-retrieval
- agentic-search
- ai
- ai-agents
- context-engine
- context-engineering
- context-management
- harness-engineering
- knowledge-compilation
- llm-apps
### 📝 Prerequisites - CPU >= 4 cores - RAM >= 16 GB - Disk >= 50 GB - Docker >= 24.0.0 & Docker Compose >= v2.26.1 - Python >= 3.13 - [gVisor](https://gvisor.dev/docs/user_guide/install/): Required only if you intend to use the code executor (sandbox) feature of RAGFlow. > [!TIP] > If you have not installed Docker on your local machine (Windows, Mac, or Linux), see [Install Docker Engine](https://docs.docker.com/engine/install/).
该片段来自项目 README,仅用于初步判断;实际部署请以官方文档为准。



核对上游原始说明节选
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Cloud | Documentation | Roadmap | Discord
📕 Table of Contents
- 💡 What is RAGFlow?
- 🎮 Get Started
- 🔥 Latest Updates
- 🌟 Key Features
- 🔎 System Architecture
- 🎬 Self-Hosting
- 🔧 Configurations
- 🔧 Build a Docker Image
- 🔨 Launch Service from Source for Development
- 📚 Documentation
- 📜 Roadmap
- 🏄 Community
- 🙌 Contributing
💡 What is RAGFlow?
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs. It offers a streamlined RAG workflow adaptable to enterprises of any scale. Powered by a converged context engine and pre-built agent templates, RAGFlow enables developers to transform complex data into high-fidelity, production-ready AI systems with exceptional efficiency and precision.
🎮 Get Started
Try our cloud service at https://cloud.ragflow.io.
🔥 Latest Updates
- 2026-06-15 Support multiple chat channels such as Feishu, Discord, Telegram, Line, etc.
- 2026-04-24 Supports DeepSeek v4.
- 2026-03-24 RAGFlow Skill on OpenClaw — Provides an official skill for accessing RAGFlow datasets via OpenClaw.
- 2025-12-26 Supports 'Memory' for AI agent.
- 2025-11-19 Supports Gemini 3 Pro.
- 2025-11-12 Supports data synchronization from Confluence, S3, Notion, Discord, Google Drive.
- 2025-10-23 Supports MinerU & Docling as document parsing methods.
- 2025-10-15 Supports orchestrable ingestion pipeline.
- 2025-08-08 Supports OpenAI's latest GPT-5 series models.
- 2025-08-01 Supports agentic workflow and MCP.
- 2025-05-23 Adds a Python/JavaScript code executor component to Agent.
- 2025-03-19 Supports using a multi-modal model to make sense of images within PDF or DOCX files.
🎉 Stay Tuned
⭐️ Star our repository to stay up-to-date with exciting new features and improvements! Get instant notifications for new releases! 🌟
🌟 Key Features
🍭 "Quality in, quality out"
formats.
- Deep document understanding-based knowledge extraction from unstructured data with complicated
- Finds "needle in a data haystack" of literally unlimited tokens.
🍱 Template-based chunking
- Intelligent and explainable.
- Plenty of template options to choose from.
🌱 Grounded citations with reduced hallucinations
- Visualization of text chunking to allow human intervention.
- Quick view of the key references and traceable citations to support grounded answers.
🍔 Compatibility with heterogeneous data sources
- Supports Word, Slides, Excel, TXT, images, scanned copies, structured data, web pages, and more.
🛀 Automated and effortless RAG workflow
- Streamlined RAG orchestration catered to both personal and large businesses.
- Configurable LLMs as well as embedding models.
- Multiple recall paired with fused re-ranking.
- Intuitive APIs for seamless integration with business.
🔎 System Architecture
🎬 Self-Hosting
📝 Prerequisites
- CPU >= 4 cores
- RAM >= 16 GB
- Disk >= 50 GB
- Docker >= 24.0.0 & Docker Compose >= v2.26.1
- Python >= 3.13
- gVisor: Required only if you intend to use the code executor (sandbox) feature of RAGFlow.
[!TIP]
If you have not installed Docker on your local machine (Windows, Mac, or Linux), see Install Docker Engine.
🚀 Start up the server
- Ensure vm.maxmapcount >= 262144:
To check the value of vm.maxmapcount:
```bash
sysctl vm.maxmapcount
```
Reset vm.maxmapcount to a value at least 262144 if it is not.
```bash
# In this case, we set it to 262144:
sudo sysctl -w vm.maxmapcount=262144
```
This change will be reset after a system reboot. To ensure your change remains permanent, add or update the
vm.maxmapcount value in /etc/sysctl.conf accordingly:
```bash
vm.maxmapcount=262144
```
- Clone the repo:
git clone https://github.com/infiniflow/ragflow.git- Start up the server using the pre-built Docker images:
[!CAUTION]
All Docker images are built for x86 platforms. We don't currently offer Docker images for ARM64.
If you are on an ARM64 platform, follow this guide to build a Docker image compatible with your system.
The command below downloads the v0.27.1 edition of the RAGFlow Docker image. See the following table for descriptions of different RAGFlow editions. To download a RAGFlow edition different from v0.27.1, update the RAGFLOWIMAGE variable accordingly in docker/.env before using docker compose to start the server.
cd ragflow/docker
git checkout v0.27.1
# Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases)
# This step ensures the **entrypoint.sh** file in the code matches the Docker image version.
# Use CPU for DeepDoc tasks:
docker compose -f docker-compose.yml up -d
# To use GPU to accelerate DeepDoc tasks:
# sed -i '1i DEVICE=gpu' .env
# docker compose -f docker-compose.yml up -dNote: Prior to v0.22.0, we provided both images with embedding models and slim images without embedding models. Details as follows:
| RAGFlow image tag | Image size (GB) | Has embedding models? | Stable? | |-------------------|-----------------|-----------------------|----------------| | v0.21.1 | ≈9 | ✔️ | Stable release | | v0.21.1-slim | ≈2 | ❌ | Stable release |
Starting with v0.22.0, we ship only the slim edition and no longer append the -slim suffix to the image tag.
- Check the server status after having the server up and running:
docker logs -f docker-ragflow-cpu-1The following output confirms a successful launch of the system:
____ ___ ______ ______ __
/ __ \ / | / ____// ____// /____ _ __
/ /_/ // /| | / / __ / /_ / // __ \| | /| / /
/ _, _// ___ |/ /_/ // __/ / // /_/ /| |/ |/ /
/_/ |_|/_/ |_|\____//_/ /_/ \____/ |__/|__/
* Running on all addresses (0.0.0.0)If you skip this confirmation step and direc