repowiserepowise
Sign in
ory/kratos
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowiseory/kratos

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.

Go13,768github.com/ory/kratos
Indexed at3699ae3·23d ago·Up to date with upstream
Open dashboardChat with repo

Code health

7.8out of 10Good

ory/kratos scores 7.8 out of 10 on defect risk, which Repowise rates Good. Maintainability scores 8.4 out of 10. Static performance risk scores 9.9 out of 10. The three are scored separately and never blended into a single number. 78 of 7,338 files are git hotspots, the places where changes and bug fixes concentrate.

Full health report
Defect risk7.8/10 · Good
Maintainability8.4/10 · Excellent
Performance risk9.9/10 · Excellent
Files
7.3k
Symbols
8.4k
Modules
143
Doc pages
1.3k
Dead exports
273

Where the risk concentrates

All 78 hotspots

Ranked by prior bug fixes and change frequency, mined from the full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
persister_identity.gopersistence/sql/identity99.9th %ile0713
pool.goidentity/test99.9th %ile066
handler_test.goidentity99.8th %ile

Read more about ory/kratos

  • OverviewFiles, symbols, languages, packages, git intelligence
  • ArchitectureDependency graph, layered architecture, symbol index, and third-party dependencies
  • Code healthPer-file health scores, hotspots, test coverage, dead code, and refactoring targets
  • AI explanationsProModule-by-module documentation generated from source

Add a badge to your README

Both badges are public, cached, and update on their own after every index. Nothing to install.

Repowise badge

Links to this page. Adding it also re-indexes the repo every week.

Repowise badge: explore code
[![repowise](https://api.repowise.dev/badge/wiki/ory/kratos.svg)](https://repowise.dev/repo/ory/kratos)

Code health badge

Average health across every file, straight from the latest index.

Code health badge showing the average health score out of 10
[![Code health](https://api.repowise.dev/badge/health/ory/kratos.svg)](https://repowise.dev/repo/ory/kratos)

How ory/kratos works

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. This page is an auto-generated, always-fresh map of the ory/kratos repository, written primarily in Go. Repowise indexes the source, parses every symbol, computes a dependency graph, scores per-file code health from complexity, duplication, test coverage and churn, mines git history for hotspots and ownership, and lifts the resulting architectural decisions into a wiki you can read or query through MCP.

The codebase has 7,338 source files, 8,367 symbols, and 13 languages, organised into 143 modules, led by sql, go, json. Static analysis leaves 3,980 open findings across the three health dimensions.

Use the links above to open the interactive dashboards, or connect this repo to your editor via the Repowise MCP server for grounded answers inside Claude, Cursor, or VS Code.

0
7
7
strategy_test.goselfservice/strategy/oidc99.7th %ile078
validator_test.goschema99.7th %ile034
strategy_verification_test.goselfservice/strategy/code99.6th %ile065
  • CommitsChange-risk ranked history with AI-agent provenance and hotspots
  • ContributorsBus-factor, per-file maintainer maps, and human/agent collaboration
  • DecisionsArchitectural decisions extracted from commits and PRs
  • Chat with this repoSign inProAsk grounded questions over the indexed code