{"id":13552998,"url":"https://github.com/typedb/typedb","last_synced_at":"2026-02-05T12:13:44.725Z","repository":{"id":37459016,"uuid":"63110867","full_name":"typedb/typedb","owner":"typedb","description":"TypeDB: Built for systems, not records","archived":false,"fork":false,"pushed_at":"2026-01-29T19:28:54.000Z","size":109553,"stargazers_count":4192,"open_issues_count":261,"forks_count":357,"subscribers_count":115,"default_branch":"master","last_synced_at":"2026-01-30T03:16:28.532Z","etag":null,"topics":["database","inference","knowledge-base","knowledge-representation","logic","polymorphic","polymorphism","reasoning","strongly-typed","type-system","typedb","typeql"],"latest_commit_sha":null,"homepage":"https://typedb.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typedb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-07-11T23:59:57.000Z","updated_at":"2026-01-29T20:43:07.000Z","dependencies_parsed_at":"2023-10-14T18:55:37.680Z","dependency_job_id":"a72d6a5e-2cec-450c-b962-8415b0b689aa","html_url":"https://github.com/typedb/typedb","commit_stats":null,"previous_names":["graknlabs/grakn","typedb/typedb","vaticle/typedb"],"tags_count":188,"template":false,"template_full_name":null,"purl":"pkg:github/typedb/typedb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typedb","download_url":"https://codeload.github.com/typedb/typedb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typedb%2Ftypedb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29121685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T10:47:47.471Z","status":"ssl_error","status_checked_at":"2026-02-05T10:45:08.119Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","inference","knowledge-base","knowledge-representation","logic","polymorphic","polymorphism","reasoning","strongly-typed","type-system","typedb","typeql"],"created_at":"2024-08-01T12:02:15.218Z","updated_at":"2026-02-05T12:13:44.717Z","avatar_url":"https://github.com/typedb.png","language":"Rust","readme":"[![TypeDB](https://github.com/typedb/.github/raw/master/profile/banner.png)](https://typedb.com/)\n\n[![Factory](https://factory.vaticle.com/api/status/typedb/typedb/badge.svg)](https://factory.vaticle.com/typedb/typedb)\n[![CircleCI](https://circleci.com/gh/typedb/typedb/tree/master.svg?style=shield)](https://circleci.com/gh/typedb/typedb/tree/master)\n[![GitHub release](https://img.shields.io/github/release/typedb/typedb.svg)](https://github.com/typedb/typedb/releases/latest)\n[![Discord](https://img.shields.io/discord/665254494820368395?color=7389D8\u0026label=discord\u0026logo=discord\u0026logoColor=ffffff)](https://typedb.com/discord)\n[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith\u0026style=flat)](https://cloudsmith.com)\n\n# Introducing TypeDB\n\n**TypeDB** is a next-gen database with a modern programming paradigm that lets you build data applications faster, safer, and more elegantly. Its intuitive and powerful data model unifies the strengths of relational, document and graph databases without their shortcomings. **TypeQL**, its groundbreaking query language, is declarative, functional, and strongly-typed, drastically simplifying data handling and logic. So now, even the most nested and interconnected datasets can be managed with ease. With TypeDB, we’ve reinvented the database for the modern programming era.\n\n## Getting started\n\n- [Deploy TypeDB](https://cloud.typedb.com) in the Cloud. Or, [download and install](https://typedb.com/docs/home/install/ce) TypeDB Community Edition.\n- Explore the basics of TypeDB in our [Get Started Guide](https://typedb.com/docs/home/get-started/overview)\n- Master TypeDB concepts with the [TypeDB Concepts docs](https://typedb.com/docs/core-concepts/typedb/overview) and [TypeQL Concepts docs](https://typedb.com/docs/core-concepts/typeql/)\n- Discover more of TypeDB’s unique [Features](https://typedb.com/features).\n- Follow the latest TypeDB news in the [TypeDB Blog](https://typedb.com/blog).\n- Join our vibrant developer community over on our [Discord](https://typedb.com/discord) chat server.\n\n##  Why TypeDB?\n\n* TypeDB was crafted to natively express and combine diverse data features, allowing users to build advanced data models from a set of simple and intuitive building blocks.\n* TypeDB's type system provides safety and flexibility at the same time, which makes both prototyping and building performant, production-ready data applications fast, elegant, and _enjoyable_.\n* With TypeDB, and its query language TypeQL, we envision databases catching up with modern typed programming languages, allowing users to write clear, intuitive, and easy to maintain code.\n* TypeDB comes with a mature ecosystem including language drivers and a graphical user interface: **[TypeDB Studio!](studio.typedb.com)**\n\n## Database Fundamentals\n\n### The schema\n\nTypeDB schemas are based on a modern type system that natively supports inheritance and interfaces, and follows a [conceptual data modeling](https://typedb.com/docs/core-concepts/typeql/entities-relations-attributes) approach, in which user-defined types subtype (based on their function) three root types: entities, relations, and attributes.\n\n- *Entities* are independent objects,\n- *Relations* depend on their *role* interfaces played by either entities or relations,\n- *Attributes* are properties with a value that can be *owned* by entities or relations.\n\nInterface and inheritance for these types can be combined in many ways, resulting in highly expressive ways of modeling data.\n\n```typeql\ndefine\n\nattribute full-name, value string;\nattribute id, value string;\nattribute email, sub id;\nattribute employee-id, sub id;\n\nentity user,\n    owns full-name,\n    owns email @unique,\n    plays mentorship:trainee;\nentity employee,\n    owns employee-id @key,\n    plays mentorship:mentor;\n\nrelation mentorship,\n    relates mentor,\n    relates trainee;\n```\n\n### The query language\n\nThe query language of TypeDB is [TypeQL](https://typedb.com/docs/core-concepts/typeql/). The syntax of TypeQL is fully variablizable and provides native support for polymorphic queries. The language is based on [fully declarative and composable](https://typedb.com/features#modern-language) patterns, mirroring the structure of natural language.\n\n```typeql\nmatch $user isa user,\n    has full-name $name,\n    has email $email;\n# This returns all users of any type\n\nmatch $user isa employee,\n    has full-name $name,\n    has email $email,\n    has employee-id $id;\n# This returns only users who are employees\n\nmatch $user-type sub user;\n$user isa $user-type,\n    has full-name $name,\n    has email $email;\n# This returns all users and their type\n```\n\n### Functions\n\nFunctions, a new concept in TypeDB 3.0 and a cornerstone of TypeQL's query model, are like modularizable subqueries you can re-use and invoke whenever you want. You can learn more about them from the [TypeQL Functions Documentation](https://typedb.com/docs/core-concepts/typeql/queries-as-functions).\n\n## Effective database engineering\n\nTypeDB breaks down the patchwork of existing database paradigms into three fundamental ingredients: [types](https://typedb.com/features#strong-type-system), [inheritance](https://typedb.com/features#conceptual-modeling), and [interfaces](https://typedb.com/features#polymorphic-queries). This provides a unified way of working with data across all database applications, that directly impacts development:\n\n- Make use of full [object model parity](https://typedb.com/#solve-object-relational-mismatch-entirely-within-the-database) when working with OOP\n- Ensure [continuous extensibility](https://typedb.com/features#conceptual-modeling) of your data model\n- Work with high-level [logical abstractions](https://typedb.com/features#conceptual-modeling) eliminating the need for physical data modeling\n- Write high-clarity code with TypeQL's [near-natural](https://typedb.com/features#modern-language) queries even for the most complex databases\n- Unleash the power of [fully declarative and composable](https://typedb.com/features#modern-language) patterns onto your data\n\n## Installation and editions\n\n### TypeDB editions\n\n* [TypeDB Cloud](https://cloud.typedb.com) — multi-cloud DBaaS\n* [TypeDB Enterprise](mailto://enterprise@typedb.com) — allows you to deploy TypeDB Cloud in your own environment\n* **TypeDB Community Edition (CE)** — Open-source edition of TypeDB ← _This repository_\n\nFor a comparison of all three editions, see the [Deploy](https://typedb.com/deploy) page on our website.\n\n### Download and run TypeDB CE\n\nYou can download TypeDB from the [GitHub Releases](https://github.com/typedb/typedb/releases). \n\nOr check our [Installation documentation](https://typedb.com/docs/home/install/ce).\n\n### Compiling TypeDB CE from source using Bazel\n\n\u003e Note: You DO NOT NEED to compile TypeDB from the source if you just want to use TypeDB. See the _\"Download and Run \n\u003e TypeDB CE\"_ section above.\n\n1. Make sure you have the following dependencies installed on your machine:\n   - [Bazel via Bazelisk](https://bazel.build/install).\n\n2. You can build TypeDB server with TypeDB Console included with this command:\n\n   ```sh\n   $ bazel build //:assemble-typedb-all\n   ```\n\n   or either one of the following commands, depending on the targeted architecture and operating system:\n   \n      ```sh\n      $ bazel build //:assemble-all-mac-x86_64-zip\n      $ bazel build //:assemble-all-mac-arm64-zip\n      $ bazel build //:assemble-all-linux-x86_64-targz\n      $ bazel build //:assemble-all-linux-arm64-targz\n      $ bazel build //:assemble-all-windows-x86_64-zip\n      ```\n   \n   To build only TypeDB server, use for your corresponding platform:\n   \n      ```sh\n      $ bazel build //:assemble-server-mac-x86_64-zip\n      $ bazel build //:assemble-server-mac-arm64-zip\n      $ bazel build //:assemble-server-linux-x86_64-targz\n      $ bazel build //:assemble-server-linux-arm64-targz\n      $ bazel build //:assemble-server-windows-x86_64-zip\n      ```\n   \n   The commands above output to: `bazel-bin/`.\n\n3. If you're on a Mac and would like to run any `bazel test` commands, you will need to install:\n   - snappy: `brew install snappy`\n   - jemalloc: `brew install jemalloc`\n\n### Compiling TypeDB CE from source using Cargo\n\n**For macs:**\n\nInstall prerequisites:\n1. Rustup\n2. `brew install protoc`\n\n## Resources\n\n### Developer resources\n\n- Documentation: https://typedb.com/docs\n- Discord Chat Server: https://typedb.com/discord\n- Community Projects: https://github.com/typedb-osi\n\n### Useful links\n\nIf you want to begin your journey with TypeDB, you can explore the following resources:\n\n* More on TypeDB's [features](https://typedb.com/features)\n* In-depth dive into TypeDB's [philosophy](https://typedb.com/docs/home/what-is-typedb)\n* [TypeDB Get Started Guide](https://typedb.com/docs/home/get-started/overview) \n* [TypeDB Academy](https://typedb.com/docs/academy)\n* **[TypeQL](https://github.com/typedb/typeql)**\n* **[TypeDB Studio](https://github.com/typedb/typedb-studio)**\n\n## Contributions\n\nTypeDB and TypeQL are built using various open-source frameworks and technologies throughout its evolution. \nToday TypeDB and TypeQL use\n[RocksDB](https://rocksdb.org),\n[Rust](https://www.rust-lang.org/),\n[pest](https://pest.rs/),\n[Bazel](https://bazel.build),\n[gRPC](https://grpc.io),\nand [ZeroMQ](https://zeromq.org).\n\nThank you!\n\nIn the past, TypeDB was enabled by various open-source products and communities that we are hugely thankful to:\n[Speedb](https://www.speedb.io/),\n[ANTLR](https://www.antlr.org),\n[Apache Cassandra](http://cassandra.apache.org), \n[Apache Hadoop](https://hadoop.apache.org), \n[Apache Spark](http://spark.apache.org), \n[Apache TinkerPop](http://tinkerpop.apache.org),\n[Caffeine](https://github.com/ben-manes/caffeine),\n[JanusGraph](http://janusgraph.org),\nand [SCIP](https://www.scipopt.org).\n\n### Package hosting\nPackage repository hosting is graciously provided by [Cloudsmith](https://cloudsmith.com).\nCloudsmith is the only fully hosted, cloud-native, universal package management solution, that\nenables your organization to create, store and share packages in any format, to any place, with total\nconfidence.\n\n## Licensing\n\nIt's released under the Mozilla Public License 2.0 (MPL 2.0).\nFor license information, please see [LICENSE](https://github.com/typedb/typedb/blob/master/LICENSE). \n","funding_links":[],"categories":["Rust","Java","knowledge-base"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypedb%2Ftypedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypedb%2Ftypedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypedb%2Ftypedb/lists"}