// rag · pingcap/autoflow

autoflow

autoflowは、pingcapが公開しているオープンソースのRAG・知識ベースプロジェクトです(GitHub: pingcap/autoflow)。GitHubスターは2,978、フォークは194で、Apache-2.0ライセンスの下で公開されています。GitHubでの最終更新は2026年4月27日です。

Graph RAG conversational knowledge base built on TiDB Serverless vector storage

★ 3.0k スター⑂ 194 フォークApache-2.0更新 2026年4月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
pingcap/autoflow
GitHubスター
2,978
フォーク
194
ライセンス
Apache-2.0
GitHubでの最終更新
2026年4月27日
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  1. Clarify your goal

    Decide what knowledge you want to make conversational — typically documentation or a website that the built-in crawler can ingest via sitemap scraping.

  2. Get AutoFlow

    Clone the repo and read the deployment docs linked from the README.

  3. Install and configure

    Deploy with Docker Compose (the docs suggest 4 CPU cores and 8 GB RAM) backed by TiDB Serverless vector storage, and configure your LLM settings.

  4. Run your first task

    Open the conversational search page, ask a question about your ingested content, and optionally embed the chat snippet on your site.

// 機能

選ばれる理由

Graph RAG knowledge base

Retrieval is built on a knowledge-graph RAG approach using TiDB Vector storage, via LlamaIndex and DSPy.

Perplexity-style search page

A conversational search interface for asking questions over your knowledge base.

Built-in website crawler

Crawls official and documentation sites through sitemap URL scraping to build coverage.

Embeddable JS snippet

Drop a simple JavaScript snippet into your website to add a conversational search window, typically at the bottom right.

TiDB-backed storage

TiDB stores chat history, vectors, JSON and analytics in one database.

Docker Compose deployment

Documented deployment path with Docker Compose in the project's deployment docs.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone the repo

    Clone AutoFlow and enter the directory.

    git clone https://github.com/pingcap/autoflow.git
    cd autoflow
  2. Deploy with Docker Compose

    Follow the deployment docs linked in the README for the Docker Compose deployment (4 CPU / 8 GB RAM suggested).

    # see README for the exact command — deployment docs: https://autoflow.tidb.ai/deploy-with-docker
  3. Try the live demo first

    If you want to see it before deploying, the hosted demo runs at tidb.ai.

    # open https://tidb.ai
// 活用例

作れるもの

For a different angle on this shelf, dstoolkit-text2sql-and-imageprocessing opens rag & knowledge for this repo accelerates development of rag applications w. Also on this shelf: tela — a self-hostable markdown team wiki with a built-in MCP server.

Advertisement
// よくある質問

よくある質問

Who maintains AutoFlow?

PingCAP, the company behind TiDB, maintains AutoFlow as an open-source project.

Is AutoFlow free?

The code is Apache-2.0 licensed and free to use. You will typically use TiDB Serverless and an LLM provider, whose own pricing applies.

Does it need a paid API key?

It is an LLM-based RAG tool, so you should expect to configure an LLM provider; TiDB Serverless is used for vector storage. Check the deployment docs for the exact configuration.

How does it compare to plain vector RAG?

AutoFlow adds a knowledge-graph (Graph RAG) layer and a ready conversational UI with crawling and an embeddable widget, rather than just a retrieval library.

How do I get started?

Try the demo at tidb.ai, then follow the Docker Compose deployment guide linked from the README.

// さらに探索

似ているツール

RAG・知識ベース

helix-db

An OLTP graph database with native vector and full-text search, built in Rust on object storage.

★ 6.1k スターApache-2.0
ガイドを見る →
RAG・知識ベース

Langchain-Chatchat

Local knowledge-base RAG and agent app built on LangChain with ChatGLM, Qwen and Llama models

★ 38.7k スターApache-2.0
ガイドを見る →
RAG・知識ベース

algebrica

A free, open mathematical knowledge base built for clarity.

★ 1.0k スターNOASSERTION
ガイドを見る →
RAG・知識ベース

code-graph-rag

RAG for your monorepo: query, understand and edit multi-language codebases with a knowledge graph.

★ 5.2k スターMIT
ガイドを見る →
RAG・知識ベース

SAG

A new state of the art for RAG: an open knowledge base for humans and agents.

★ 2.5k スターMIT
ガイドを見る →
RAG・知識ベース

qdrant-loader

Free rag & knowledge tool that enterprise-ready vector database toolkit for building s.

★ 55 スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: RAG・知識ベース

LibreAIカタログに掲載されたRAG・知識ベースプロジェクトの中で最もスターの多いもの — autoflowが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る rag

さらに見る: RAG・知識ベース

カタログの中でautoflowとスター数が近いRAG・知識ベースプロジェクト — 前後の棚もそのまま見て回れます。

autoflowを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。