# typedb/typedb

TypeDB: Built for systems, not records

Repository: https://github.com/typedb/typedb
Canonical: https://ross.abutalabs.com/products/typedb
Homepage: https://typedb.com
Language: Rust
License: MPL-2.0
License Family: copyleft
Topics: database, knowledge-base, knowledge-representation, reasoning, logic, inference, typedb, typeql, type-system, strongly-typed, polymorphic, polymorphism
Last push: 2026-08-26T20:17:19+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 3705, "days_push": 7, "days_rel": 20, "gap_med": 8.0, "n_releases_24m": 51}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4428, forks 370 (observed 2026-08-28T04:08:48.934413+00:00)

## What it is
TypeDB is a strongly-typed, polymorphic general-purpose database written in Rust, with its own declarative query language TypeQL, unifying relational, document, and graph modeling via entities, relations, and attributes. It supports schema-first design, inference over knowledge graphs, native vector search, and ships with drivers, a CLI console, and TypeDB Studio.

## Use cases
- build a knowledge graph my AI agents can reason over
- model complex interconnected data with a strict schema
- query embeddings directly in my database
- replace SQL joins with n-ary relations
- build an RBAC access-control data model
- manage cybersecurity or financial services data with guardrails
- run a self-hosted transactional graph database

## When to choose
- your data is deeply nested or interconnected and relational/document models force awkward joins or reification
- you want schema-enforced data correctness, subtyping, and polymorphism in the database
- you need inference and reasoning over a knowledge base for AI applications

## When to avoid
- you need a mature ecosystem with broad ORM, BI, and third-party tooling support
- you need multi-server clustering on a free open-source license
- your team is only familiar with SQL and cannot adopt a new query language

## Facets
- artifact type: service
- maturity: active
- function: database, search-engine, vector-database
- domain: databases, artificial-intelligence, developer-tools
- platform: windows, self-hosted, cloud, rust
- tags: typedb, typeql, knowledge-base, graph-database, polymorphic-schema, reasoning, n-ary-relations, grpc-drivers, query-language, knowledge-graphs, linux, macos, docker

## Member repositories
- typedb/typedb (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.934413+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:55.757512+00:00, confidence not recorded.
  - readme: https://github.com/typedb/typedb (fetched 2026-08-28T04:08:48.934413+00:00, sha 8872a420a51c)
  - homepage: https://typedb.com (fetched 2026-08-29T09:08:29.043297+00:00, sha 66242961567c)
  - site_page: https://typedb.com/docs/home/what-is-typedb (fetched 2026-08-29T09:08:29.063883+00:00, sha a5463da262f1)
  - site_page: https://typedb.com/docs/home/why-typedb (fetched 2026-08-29T09:08:29.065697+00:00, sha 9763de1c63f3)
  - site_page: https://typedb.com/docs/examples/use-cases (fetched 2026-08-29T09:08:29.067382+00:00, sha aec35d351717)
  - site_page: https://typedb.com/docs/tools/studio (fetched 2026-08-29T09:08:29.052630+00:00, sha 4a4b4f3fde84)
  - site_page: https://typedb.com/docs/tools/console (fetched 2026-08-29T09:08:29.054843+00:00, sha 5efecc6bfcb9)
  - site_page: https://typedb.com/docs/home/install/drivers (fetched 2026-08-29T09:08:29.056964+00:00, sha 28db9f002c16)
  - site_page: https://typedb.com/features (fetched 2026-08-29T09:08:29.058977+00:00, sha 20e52e66d2e0)
  - site_page: https://typedb.com/editions (fetched 2026-08-29T09:08:29.061924+00:00, sha e236333909f5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
