Source: https://seerepo.com/compare/infiniflow/ragflow/vs/ory/kratos
Markdown source: https://seerepo.com/compare/infiniflow/ragflow/vs/ory/kratos.md
Description: ragflow and kratos share 9 technologies: pgx, Postgres, MySQL, Google, golang.org/x/oauth2, github.com/golang-jwt/jwt/v5, go.opentelemetry.io/otel/trace, OpenTelemetry, and go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Both are written in Go.

# ragflow vs kratos

ragflow and kratos share 9 technologies: pgx, Postgres, MySQL, Google, golang.org/x/oauth2, github.com/golang-jwt/jwt/v5, go.opentelemetry.io/otel/trace, OpenTelemetry, and go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Both are written in Go.

- [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.
- [ory/kratos](https://seerepo.com/r/ory/kratos): Headless cloud-native authentication and identity management written in Go. Scales to a billion+ users. Replace Homegrown, Auth0, Okta, Firebase with better UX and DX. Passkeys, Social Sign In, OIDC, Magic Link, Multi-Factor Auth, SMS, SAML, TOTP, and more. Runs everywhere, runs best on Ory Network. 

## What they share and what sets them apart

- In common: pgx, Postgres, MySQL, Google, golang.org/x/oauth2, github.com/golang-jwt/jwt/v5, go.opentelemetry.io/otel/trace, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- Only in ragflow: net/http, Gin, elasticsearch-dsl, go-redis, mysql-connector-python, pq, s3, github.com/glebarez/sqlite, NATS.io, Redis, github.com/infiniflow/infinity-go-sdk, github.com/nats-io/nats-server/v2, 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, AWS S3, MCP, Alibaba Cloud, MinIO, AIOHTTP, werkzeug, React, React Router, OpenAI, peewee, gorm.io/gorm, github.com/aws/aws-sdk-go-v2/credentials, 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, reportlab, github.com/eino-contrib/jsonschema, beartype, go.uber.org/zap, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, 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
- Only in kratos: github.com/dgraph-io/ristretto/v2, github.com/cockroachdb/cockroach-go/v2, github.com/hashicorp/golang-lru/v2, GitHub, github.com/urfave/negroni, github.com/ory/graceful, SQLite, github.com/jackc/puddle/v2, Ory, github.com/ory/pop/v6, github.com/jmoiron/sqlx, github.com/go-webauthn/webauthn, github.com/coreos/go-oidc/v3, github.com/ory/hydra-client-go/v2, github.com/pquerna/otp, github.com/gorilla/sessions, github.com/dghubble/oauth1, github.com/golang-jwt/jwt/v4, github.com/go-crypt/crypt, github.com/gorilla/securecookie, github.com/lestrrat-go/jwx, github.com/lestrrat-go/jwx/v2, github.com/rakutentech/jwk-go, github.com/ory/jsonschema/v3, go.opentelemetry.io/otel/sdk, github.com/moby/moby/api, github.com/sirupsen/logrus, gonum.org/v1/plot, jwk-go, github.com/go-jose/go-jose/v3, github.com/auth0/go-jwt-middleware/v2, github.com/prometheus/client_model, Prometheus, go.opentelemetry.io/contrib/propagators/b3, go.opentelemetry.io/contrib/propagators/jaeger, github.com/grpc-ecosystem/go-grpc-prometheus, github.com/moby/moby/client, go.opentelemetry.io/otel/exporters/jaeger, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/exporters/zipkin, SeatGeek

## Side by side

| | ragflow | kratos |
|---|---|---|
| Size | 1,311,499 lines written, 2,858 code files | 206,262 lines written, 598 code files |
| Who writes it | 2.1% of its commits signed by AI. With Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, and Factory | 1.5% of its commits signed by AI. With Claude Code |
| Activity | Last push November 9, 2026, 10,898 commits, 93,816 stars | Last push July 29, 2026, 5,225 commits, 13,951 stars |
| Tests | 2,014 test files. 51.5% of its code files have a test that imports them | 531 test files. 66.2% 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, ragflow or kratos?

ragflow, with 1,311,499 lines written; kratos has 206,262.

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

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

ragflow, with 93,816 stars; kratos has 13,951.

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

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

ragflow, with 2,014 test files; kratos has 531.

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

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

ragflow: its last push was on November 9, 2026, and kratos's on July 29, 2026.

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

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

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

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

## Sources

- infiniflow/ragflow: Read on November 9, 2026, at commit 4ba8d80 (https://github.com/infiniflow/ragflow/tree/4ba8d801e990bce53cf5422bbf0eb002150d5ee1)
- ory/kratos: Read on November 9, 2026, at commit b86338d (https://github.com/ory/kratos/tree/b86338da04a040247a07f46100a86dcfb3875909)

## 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.
