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.

Read it as markdown

What they share and what sets them apart

infiniflow

ragflow

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Go93.8kRead on November 9, 2026, at commit 4ba8d80What is ragflow built with?

Only in ragflow

In common

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.

Go14kRead on November 9, 2026, at commit b86338dWhat is kratos built with?

Only in kratos

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ragflow1,311,499 lines written2,858 code files
kratos206,262 lines written598 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ragflow2.1% of its commits signed by AIWith Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, and Factory
kratos1.5% of its commits signed by AIWith Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ragflowLast push November 9, 202610,898 commits93,816 stars
kratosLast push July 29, 20265,225 commits13,951 stars
TestsThe files that test the code, and the share of code files a test imports.
ragflow2,014 test files51.5% of its code files have a test that imports them
kratos531 test files66.2% of its code files have a test that imports them

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

Which has more GitHub stars, ragflow or kratos?
ragflow, with 93,816 stars; kratos has 13,951.

The proof: infiniflow/ragflow on GitHub

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

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

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

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →