知识库问答 · 中文选型解读

ragflow

已解读GitHubApache-2.0Go

RAGFlow是融合RAG(检索增强生成,为大模型补充外部知识的技术)与智能体能力的开源RAG引擎,可适配不同规模企业的RAG工作流搭建需求。

90.4kstar今天仍有更新维护状态Apache-2.0 · 可评估商用商用提醒
在 GitHub 查看官方项目
适合解决把企业文档和数据变成可追溯的 AI 问答能力
更适合有文档沉淀、客服或内部知识复用需求的团队
投入判断上手门槛:需评估。通常需要整理数据、配置模型与权限
一分钟看懂

这个项目值得继续研究吗?

AI 依据上游资料解读 · 2026/9/8

RAGFlow是融合RAG(检索增强生成,为大模型补充外部知识的技术)与智能体能力的开源RAG引擎,可适配不同规模企业的RAG工作流搭建需求。

解决什么问题
企业搭建知识库问答、智能客服等大模型相关应用时,常面临多格式数据处理难、大模型回答幻觉多、工作流搭建复杂、与现有业务集成成本高的痛点。
适合什么团队
适合需要搭建知识库问答、智能客服等大模型应用的企业业务团队、技术团队,以及有自定义大模型上下文层需求的组织。
使用前注意
官方仅提供x86架构的Docker镜像,ARM架构需自行编译;如需使用代码执行沙箱功能,需额外部署gVisor;自托管最低要求4核CPU、16GB内存、50GB磁盘。

本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。

项目导读

从官方资料看清能力、部署与采用边界

AI 翻译整理 · 保留官方来源

以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。

项目定位

RAGFlow是一款开源的RAG引擎,RAG全称检索增强生成,是一种为大语言模型补充外部知识库内容、减少回答错误的技术。该项目融合了RAG技术与Agent(即智能体,可自动执行系列预设任务的AI程序)能力,为大模型提供上下文层,适配从个人到大型企业的不同规模RAG工作流需求,可帮助团队将复杂的多源数据转化为可落地的AI应用。

核心能力

  1. 多源异构数据处理:支持Word、PPT、Excel、普通文本、图片、扫描件、结构化数据、网页等多种格式的数据源,可从格式复杂的非结构化数据中提取有效知识。
  2. 可干预的内容拆分:提供多种模板实现智能内容拆分,拆分过程可解释、可人工调整,保障进入大模型的内容质量。
  3. 可溯源的可信回答:所有生成的回答都关联原始引用来源,可快速查看参考内容、追溯出处,有效降低大模型幻觉。
  4. 自动化工作流编排:支持灵活配置不同的大模型和嵌入模型,搭配多路召回与融合重排序机制,提供直观的API可无缝对接现有业务系统。
  5. 内置智能体能力:提供预构建的智能体模板,支持代码执行、会话记忆等功能,可实现复杂任务的自动化处理。

典型使用方式

你可以选择两种方式使用RAGFlow:

  1. 官方云服务:直接访问https://cloud.ragflow.io 即可使用,无需自行部署,适合快速验证RAG应用效果的小团队或个人。
  2. 自托管部署:适合有数据本地化、自定义配置需求的企业,部署后可根据业务需求配置对应的大模型、数据源同步规则,目前支持从Confluence、S3、Notion、Discord、Google Drive等平台自动同步数据,也支持接入飞书、Discord、Telegram、Line等多个聊天渠道对外提供服务。

自托管部署要求

自托管部署的最低配置要求为:4核及以上CPU、16GB及以上内存、50GB及以上磁盘空间,需预装24.0.0及以上版本的Docker、v2.26.1及以上版本的Docker Compose,Python版本要求3.13及以上。 注意官方仅提供x86架构的Docker镜像,若使用ARM架构服务器,需自行编译适配的镜像;如需使用代码执行沙箱功能,需额外安装gVisor组件。部署时需调整系统参数vm.maxmapcount不低于262144,避免运行异常。

近期功能更新

  • 2026年6月:支持飞书、Discord、Telegram、Line等多个聊天渠道接入
  • 2026年4月:支持DeepSeek v4模型
  • 2025年12月:新增AI智能体记忆功能
  • 2025年11月:支持从Confluence、S3、Notion、Google Drive等平台同步数据
  • 2025年10月:支持可编排的数据导入流水线
  • 2025年8月:支持OpenAI GPT-5系列模型、智能体工作流编排

许可证与采用建议

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
默认分支main
关注仓库365
复刻次数10.6k
开放议题1.6k
近期更新2026/9/7
仓库状态未标记归档
上游部署线索
### 📝 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

  1. 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
```
  1. Clone the repo:
   git clone https://github.com/infiniflow/ragflow.git
  1. 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 -d
Note: 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.
  1. Check the server status after having the server up and running:
   docker logs -f docker-ragflow-cpu-1

The following output confirms a successful launch of the system:


         ____   ___    ______ ______ __
        / __ \ /   |  / ____// ____// /____  _      __
       / /_/ // /| | / / __ / /_   / // __ \| | /| / /
      / _, _// ___ |/ /_/ // __/  / // /_/ /| |/ |/ /
     /_/ |_|/_/  |_|\____//_/    /_/ \____/ |__/|__/

    * Running on all addresses (0.0.0.0)
If you skip this confirmation step and directly l