Source: https://seerepo.com/compare/agent-substrate/substrate/vs/infiniflow/ragflow
Markdown source: https://seerepo.com/compare/agent-substrate/substrate/vs/infiniflow/ragflow.md
Description: substrate and ragflow share 11 technologies: net/http, pgx, s3, Postgres, Google, AWS S3, golang.org/x/oauth2, OpenTelemetry, github.com/aws/aws-sdk-go-v2, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, and github.com/aws/aws-sdk-go-v2/config. Both are written in Go.

# substrate vs ragflow

substrate and ragflow share 11 technologies: net/http, pgx, s3, Postgres, Google, AWS S3, golang.org/x/oauth2, OpenTelemetry, github.com/aws/aws-sdk-go-v2, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, and github.com/aws/aws-sdk-go-v2/config. Both are written in Go.

- [agent-substrate/substrate](https://seerepo.com/r/agent-substrate/substrate): Agent Substrate: the core system
- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow): RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

## What they share and what sets them apart

- In common: net/http, pgx, s3, Postgres, Google, AWS S3, golang.org/x/oauth2, OpenTelemetry, github.com/aws/aws-sdk-go-v2, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, github.com/aws/aws-sdk-go-v2/config
- Only in substrate: github.com/container-storage-interface/spec, github.com/aws/aws-sdk-go-v2/feature/s3/manager, github.com/pressly/goose/v3, sigs.k8s.io/controller-runtime, github.com/Masterminds/squirrel, github.com/spiffe/go-spiffe/v2, github.com/openfga/openfga, jinja2, Pydantic, opentelemetry-instrumentation-requests, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, k8s.io/kubelet, Prometheus, cloud.google.com/go/compute/metadata, k8s.io/metrics, kubernetes, github.com/go-logr/logr, go.opentelemetry.io/contrib/bridges/prometheus, go.opentelemetry.io/otel/exporters/prometheus, opentelemetry-exporter-prometheus, prometheus-client
- Only in ragflow: Gin, elasticsearch-dsl, go-redis, mysql-connector-python, pq, NATS.io, MySQL, Redis, github.com/infiniflow/infinity-go-sdk, OpenSearch, github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream, github.com/Azure/azure-sdk-for-go/sdk/storage/azblob, github.com/denisenkom/go-mssqldb, MCP, Alibaba Cloud, Elasticsearch, MinIO, AIOHTTP, werkzeug, React, React Router, OpenAI, peewee, gorm.io/gorm, github.com/aws/aws-sdk-go-v2/credentials, github.com/golang-jwt/jwt/v5, Model Context Protocol, github.com/cloudwego/eino, github.com/infiniflow/onnxruntime_go, github.com/pkoukk/tiktoken-go, github.com/eric642/e2b-go-sdk, github.com/LuxorLabs/tenki-sdk-go/sandbox, github.com/xuri/excelize/v2, github.com/yuin/goldmark, github.com/ledongthuc/pdf, github.com/gomarkdown/markdown, github.com/jloor/go-excel-reader, github.com/yfedoseev/office_oxide/go, github.com/AkmalOt/gomsg, github.com/emersion/go-imap/v2, github.com/emersion/go-message, github.com/JohannesKaufmann/html-to-markdown, github.com/nikolalohinski/gonja, github.com/PuerkitoBio/goquery, github.com/richardlehane/mscfb, github.com/signintech/gopdf, github.com/yfedoseev/pdf_oxide/go, golang.org/x/image, github.com/eino-contrib/jsonschema, beartype, go.uber.org/zap, github.com/aws/aws-sdk-go-v2/service/sts, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/ucloud/ucloud-sandbox-sdk-go, gopkg.in/natefinch/lumberjack.v2, qrcode, Tailwind CSS, classnames, class-variance-authority, tailwind-merge, next-themes, React Hook Form, xyflow, Radix UI, lexical, @tanstack, @monaco-editor/react, react-syntax-highlighter, react18-json-view, sonner, AntV, react-force-graph-2d, react-day-picker, react-photo-view, react-copy-to-clipboard, recharts, @floating-ui/react, cmdk, D3, embla-carousel-react, jsoneditor, Mermaid, react-audio-voice-recorder, react-dropzone, react-resizable-panels, Lucide, Ant Design, @lexical/markdown, dompurify, react-markdown, react-pdf-highlighter, rehype-katex, rehype-raw, unist-util-visit-parents, xlsx, papaparse, remark-gfm, @extend-ai/react-docx, @js-preview/excel, @uiw/react-markdown-preview, epubjs, hast-util-sanitize, pptx-preview, rehype-sanitize, remark-breaks, remark-math, Zod, @hookform/resolvers, Ajv, ajv-formats

## Side by side

| | substrate | ragflow |
|---|---|---|
| Size | 413,618 lines written, 702 code files | 1,342,966 lines written, 2,899 code files |
| Who writes it | 0% of its commits signed by AI | 2.1% of its commits signed by AI. With Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, and Factory |
| Activity | Last push November 19, 2026, 1,747 commits, 7,672 stars | Last push November 17, 2026, 11,029 commits, 94,274 stars |
| Tests | 792 test files. 82.8% of its code files have a test that imports them | 2,152 test files. 52.8% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, substrate or ragflow?

ragflow, with 1,342,966 lines written; substrate has 413,618.

The proof: [infiniflow/ragflow's code at commit ef2e601](https://github.com/infiniflow/ragflow/tree/ef2e601d7da06dfe483a94fd957805e1b78bdc14)

### Which has more GitHub stars, substrate or ragflow?

ragflow, with 94,274 stars; substrate has 7,672.

The proof: [infiniflow/ragflow on GitHub](https://github.com/infiniflow/ragflow)

### Which has more tests, substrate or ragflow?

ragflow, with 2,152 test files; substrate has 792.

The proof: [infiniflow/ragflow's code at commit ef2e601](https://github.com/infiniflow/ragflow/tree/ef2e601d7da06dfe483a94fd957805e1b78bdc14)

### Which was updated more recently, substrate or ragflow?

substrate: its last push was on November 19, 2026, and ragflow's on November 17, 2026.

The proof: [agent-substrate/substrate's commits on GitHub](https://github.com/agent-substrate/substrate/commits)

### Which has more commits signed by AI, substrate or ragflow?

ragflow: an AI signed 2.1% of its commits, with Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, and Factory.

The proof: [the commits each tool signed in infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/ai)

## Sources

- agent-substrate/substrate: Read on November 19, 2026, at commit 1117cae (https://github.com/agent-substrate/substrate/tree/1117caed19f0cdee42e5f045bad2043ea08c207d)
- infiniflow/ragflow: Read on November 17, 2026, at commit ef2e601 (https://github.com/infiniflow/ragflow/tree/ef2e601d7da06dfe483a94fd957805e1b78bdc14)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
