Skip to content

Serverless TypeDB

Strongly-typed knowledge graph with TypeQL. A real graph database without the operational weight, on cloud, desktop, or self-host.

Free tier, no credit card

Engine

Choose a database engine to provision.

Common TypeDB questions

What is TypeDB?

TypeDB is a strongly-typed database for knowledge graphs: you declare a schema of entities, relations, and attributes, then query it with TypeQL. It earns its keep on domains that defeat relational normalization, such as supply chains, fraud rings, and drug interactions. Layerbase runs it as a managed database on the Free plan, with a gRPC TypeQL endpoint, the TypeDB drivers, and a web query console for ad-hoc TypeQL.

Which TypeDB version runs here?

TypeDB 3.x (3.12 by default). TypeQL 3.x uses transactions (define for schema, insert for data, match with select or fetch for reads). The 2.x concepts of sessions and rule when/then are not part of 3.x.

How do I connect to TypeDB on Layerbase?

Layerbase publishes a gRPC TypeQL endpoint. The typedb console and the TypeDB 3.x drivers for Python, Java, and Rust connect with the dashboard credentials, and the dashboard query console runs ad-hoc TypeQL in the browser.

What about the Node.js driver and TypeDB Studio?

The npm typedb-driver package is still 2.x. The maintained 3.x JavaScript driver and TypeDB Studio both connect over the TypeDB HTTP endpoint, which Layerbase does not expose today, so use the console, a gRPC driver, or the web query console. TypeDB Cloud is the option when you need Studio and multi-node HA clusters.

How do I define a TypeDB schema and load data?

The same TypeQL schema and ingestion patterns work locally and in cloud. The dashboard query console supports schema definition and ad-hoc TypeQL.

Is there a free TypeDB tier on Layerbase?

Yes. TypeDB is a Standard engine on Layerbase Cloud, included on the Free plan. It sleeps when idle and wakes on connect.

Can I run TypeDB locally?

Yes. The Layerbase CLI and Layerbase Desktop both run TypeDB with the same workflow.