PAR2 LABS
Self-hosted on your own hardwareTessera Viztesserify.com
TesseraDB

01Open source and licensing

Open clients. A core you can read. Closed only where you pay.

Tessera DB is licensed in three layers. The client libraries are open source under Apache-2.0. The Community edition, the core database for one node, is source-available under the Business Source License 1.1. The paid editions are commercial. This page names every part of each layer and says exactly what you may do with it.

Open source · Apache-2.0Source-available · BSL 1.1Commercial editions

02At a glance

open source under Apache-2.0
6clients
Cleared to be published as open source. None is on a public package registry yet.
in the source-available Community edition, under the Business Source License 1.1
11crates
As listed for export on 4 December 2026. The list can change before publication.
openCypher test scenarios pass on the interpreter in tessera-cypher
1,613of 1,615
99.9%. Suite unmodified, every scenario counts. A measurement, not a certification.
in the Community set, whose source is in tessera-graph
64algorithms
The full server has 78; 14 are Enterprise.

03The three layers

One product, three licences.

The line between the layers is simple. What your application links against is open source. What stores and reads a fact on one node is readable source. What a team or a regulated firm adds on top is paid.

ClientsOpen source · Apache-2.0

The libraries your application links against. SDKs and drivers that talk to a Tessera DB server over HTTP. Each one is built with its own toolchain and carries its own licence file.

Read the code, change it, and ship it inside your own product. Apache-2.0 is a permissive licence with no limit on commercial use.

  • TypeScript client
  • TypeScript driver
  • Rust client
  • Java client
  • JDBC driver
  • .NET client
FreeApache-2.0
Community editionSource-available · BSL 1.1

The core of the database, for one node. The record model, the write log and storage, the three indexes, the SQL, Cypher and TQL front ends, the Community graph algorithms, the key-value and object layers, the encryption primitives, and a small server that speaks SQL and Cypher over one store.

You may read it, build it, change it for your own use and run it in production inside your own organisation, at no cost.

You may not sell it or a changed copy, offer it to others as a hosted or managed service, put it inside a product or service that you sell or give to others, pass a changed copy on to others, or remove the licence checks. Those uses need a commercial licence: contact us.

Each release becomes Apache-2.0 four years after it ships.

This layer is source-available. It is not open source, and we do not call it that.

  • tessera-core
  • tessera-storage
  • tessera-index
  • tessera-tql
  • tessera-cypher
  • tessera-sql
  • tessera-graph
  • tessera-kv
  • tessera-objects
  • tessera-crypto
  • tessera-community-server
FreeBSL 1.1
Paid editionsCommercial editions

Pro, Enterprise and Enterprise Plus. The full server and the parts built for teams and regulated firms: clustering, graph data science and machine learning, the security and compliance features, AutoGuard, and the banking and healthcare packs.

Closed source. Licensed under a signed agreement, with a licence key that decides which features a build offers.

  • Clustering
  • Graph data science
  • Machine learning
  • Security
  • Compliance
  • AutoGuard
  • Industry packs
Contact usLicence key

What you may do with each layer The Business Source License in plain words Questions

04Three free things

Free does not always mean the same thing.

There are three ways to use Tessera DB without paying. They are different things under different licences, and people mix them up. This table keeps them apart.

Three free things, side by side
ClientsCommunity edition (source)Community tier (binary)
What it isSDKs and drivers for your applicationThe source of the core crates, plus a small Community server you build yourselfA ready-built binary of the full server, with a free licence key
LicenceApache-2.0Business Source License 1.1. Each release becomes Apache-2.0 after four yearsThe licence delivered with the kit, together with the terms
Right wordOpen sourceSource-availableFree binary. Its source is closed
Can you read the source?
NodesNot a serverOneOne. It starts no cluster
Query languagesWhatever the server it talks to offersSQL and Cypher, and a subset of TQLSQL, Cypher, TQL, GraphQL for reading, and a named GQL subset
Ways inHTTP to a serverA small HTTP APIHTTP, gRPC, Bolt and the PostgreSQL protocol
Vector, full-text and hybrid searchCalls the server
Graph algorithmsCalls the server11 Cypher procedures64 Community algorithms
Time-travel queries and branchesCalls the server
Admin consoleNot a server
Status todayPlanned. Not publishedPlanned. Not publishedAvailable on request
How you get itPublic packages, once publishedA public repository, once publishedWrite to us. We send the kit and a key

The Community tier has far more features than the Community edition source. A feature that is free to run in the kit is not, for that reason, readable source.

Everything in the Community tier All features by edition

05Open source: the clients

Six clients, all Apache-2.0.

Every client talks to a Tessera DB server over HTTP. They are cleared to be published as open source. None is on a public package registry yet.

TypeScript and JavaScriptApache-2.0

The full client

Package name @tesserify/db-client. It has no runtime dependencies and uses the platform's own fetch. It runs on Node.js 18 or later, in browsers, and on Deno, Bun and React Native. It ships as CommonJS with types.

  • Queries: sql with bound parameters, query and cypher
  • Search: text, vector and hybrid search with rank fusion, and highlighted snippets
  • Change feed: long poll, or a WebSocket that reconnects and resumes
  • Data in: inserts, CSV import and migrations
  • Transactions, branches, lineage and queryAsOf for reads at a past moment
  • Graph algorithms through gds.*
  • Cache, locks, queue and channels (Pro and above); ml.* (Enterprise)
TypeScript and JavaScriptApache-2.0

The minimal driver

Package name @tesserify/db-driver. A small driver for when you want less surface: queries, inserts, search and branches over HTTP. No runtime dependencies. Node.js 18 or later.

  • Packs to 11.2 kB, against 84.1 kB for the full client
  • The same HTTP API underneath
RustApache-2.0

Rust client

Crate name tessera-client. A thin typed HTTP client. It is blocking and needs no async runtime.

  • Answers come back as JSON values
JavaApache-2.0

Java client

Artifact io.tesseradb:tessera-client, class io.tesseradb.TesseraClient. An HTTP client for services on the JVM.

  • For application code that calls the HTTP API directly
Java and BI toolsApache-2.0

JDBC driver

Name tessera-jdbc. A Type 4 driver in pure Java with no runtime dependencies. Connection addresses start with jdbc:tessera:.

  • For BI tools and Java tools that expect JDBC
  • Nothing native to install
.NETApache-2.0

.NET client

Name Tessera.Client. An HTTP client for .NET services.

  • For application code on .NET

One client, any server

The TypeScript client is written for the full server. It also works against the small Community server, with a narrower set of calls.

With the Community server, four calls work: sql(), query(), cypher() and health(). Every other call fails with the status 501 and the code not_in_community_server. You get a clear error, not a silent gap.

Some calls need a paid edition on the server side. The cache, locks, queue and channels need Pro or above. The machine learning calls need Enterprise. The client itself stays open source either way.

What is not in the first set

We would rather hold a client back than publish one that does not work. So the first open-source set leaves these out:

  • Python and Go clients. They exist, but they are not cleared for publication yet. The Python client has no async version.
  • gRPC drivers for Go and Java. They are unfinished and not offered.
  • A dbt adapter. It has never been run against dbt, so we do not offer it.

The types in the TypeScript client are written by hand, not generated from the API description.

What calling it looks like

The TypeScript client TypeScript
import { TesseraClient, QueryError } from "@tesserify/db-client";

// A server with auth on needs a key: new TesseraClient(url, { apiKey }).
const c = new TesseraClient("http://localhost:8080", {
  apiKey: process.env.TESSERA_TOKEN,
});

const h = await c.health(); // { healthy: true, version: "1.2.0" }

await c.sql("CREATE TABLE accounts (id TEXT PRIMARY KEY, region TEXT, balance INT)");

const people = await c.query("FIND e: Person");
const n = await c.cypher("MATCH (n) RETURN n LIMIT 10");
An excerpt from the client's own quick start. The package is not on a public registry yet, so this import works only with the client we send you.

Clients and drivers in detail Query languages

06Source-available: the Community edition

Eleven crates. Read every one.

The Community edition is the core of the database as Rust source: ten library crates and one server crate. Here is each crate by name, what it does, and why you might care.

The source-available Community edition, crate by crate
CrateWhat it doesWhy it matters to you
The record and where it lives
tessera-coreThe data model. There is one record type, the hyperedge. It can join any number of things, not only two. Its id is the BLAKE3-256 hash of its content. It carries two times (when the fact was true, and when the database recorded it), a confidence value and typed properties. The crate also holds schema validation with hooks, spatial types (points, distance, GeoJSON) and a builder for records.This is the definition of what a fact is in Tessera DB. If you can read this crate, you can check every claim we make about the record.
tessera-storageStorage primitives: a checksummed write-ahead log, column segments based on Apache Arrow, the catalog and compaction. It also holds backup manifests for snapshots and incremental steps, and the check that a chain of backups is whole.You can see how a write reaches disk, and how a backup proves that it is complete before anything is restored from it.
tessera-kvA tiered key-value store on disk, with bloom filters, statistics and snapshots. A cold tier can sit on an HTTP object store. It supports encryption at rest.The layer that small lookups and metadata rest on.
tessera-objectsBlob and document storage on top of the key-value layer.A library today. The Community server has no document or blob routes yet.
tessera-cryptoEncryption-at-rest primitives: a block-cipher trait and AES-256-GCM. The storage and key-value layers use it.The cipher code that protects data on disk is code you can read.
Finding things
tessera-indexThe three core indexes: HNSW for vectors, B-Tree for ranges, and an inverted index with BM25 ranking for text. It also holds graph adjacency in compressed row and column form, sparse matrix operations, and reciprocal rank fusion for hybrid results.You can read how search ranks. Note that this is a library in this layer: the Community server does not serve vector or full-text search yet.
Asking questions
tessera-sqlThe SQL parser and executor, with a ready-made in-memory store. It covers selects, joins, grouping and aggregates, window functions, recursive queries, MERGE, prepared statements, constraints, triggers, materialized views and loading from CSV.The whole SQL front end is in this layer, so you can see exactly how a statement is read and run.
tessera-cypherThe Cypher parser, syntax tree, translator and executor. This is the full interpreter: a pipeline of clauses over rows, pattern matching, multiple labels, parameters, procedures, and temporal values with time zones.This is the interpreter behind the conformance figure at the top of this page. It is in the readable layer, not held back for paid editions.
tessera-tqlThe grammar and parser for TQL, the native Tessera query language. A query reads like FIND e: Person WHERE e.age > 30.The language definition is open to read. The full TQL executor lives in the closed engine; the Community server runs a subset.
Graph
tessera-graphGraph algorithms and traversal: PageRank, Louvain, Dijkstra, A*, node2vec, link prediction and more. It also holds the projection of records into a compact graph form.It ships with the Community algorithm set. The Enterprise algorithms are taken out before the source is exported, and the export fails if a paid algorithm's name is left behind.
A server you can build
tessera-community-serverA small single-node database server for SQL and Cypher, built only from the crates above. The program is called tessera-community.Proof that the readable layer is a working database and not a set of parts. It is described in full further down this page.

The exported tree also carries a demo that builds a few records, parses a TQL and a Cypher query, ranks a small graph and runs a vector search. The Rust interfaces of these crates are not stable yet, and the crates are not published to a package registry.

How the benchmarks are run Graph features SQL features

07The Community server in depth

A small database you build yourself.

The Community edition includes a working server, tessera-community. It is a small single-node database server. It speaks SQL and Cypher over one store, keeps the data on disk, and is built only from the crates in the Community edition.

One store, two languages

A row you insert with SQL is a node you can match with Cypher, and the other way round. There is one set of records, and two languages over it. SQL tables and Cypher labels share their names.

Durable by design

A statement is answered only after its changes are on disk. A server that is killed keeps every write it acknowledged, and a test in the crate checks exactly that. A statement is saved whole or not at all.

Safe by default

The server listens on the local machine only. To listen on any other address you must set an access token of 16 characters or more, and then every API request needs it. There is no TLS in the server: put a proxy in front of it. A request body is limited to 1 MiB, a statement to 30 seconds, and a result to 500,000 rows held at once.

Build and run, once the source is published shell
# build the Community server from the source tree
cargo build --release -p tessera-community-server

# start it; it listens on 127.0.0.1:8080
tessera-community serve --data ./tessera-data
These commands come from the Community server's own documentation. The source tree is not public yet, so you cannot run them today.

The HTTP API

The Community server's HTTP API
RouteWhat it takesWhat comes back
POST /api/sqlA SQL statement, with bound parameters if you want themJSON rows. A constraint failure carries the PostgreSQL error code for that failure
POST /api/queryCypher or TQL. Set language to auto, cypher, tql or sqlJSON rows. Each stored record comes back with its valid time and its transaction time
GET /healthNothingThe server's state. It names its edition as community

What it can do

SQL

The SQL front end

Statements go to POST /api/sql, with bound parameters. Constraint failures answer with the same error codes PostgreSQL uses, so existing error handling keeps working.

Cypher

The full Cypher interpreter

Graph queries and writes go to POST /api/query. This is the same interpreter that passes 1,613 of the 1,615 openCypher test scenarios.

TQL

A subset of TQL

FIND over one type, with comparisons joined by AND, OR and NOT, a projection, ordering, a limit and offset, one aggregate (count, sum, average, minimum or maximum), a confidence filter, and PageRank over a type.

Graph

11 graph procedures

Called from Cypher: graph.pagerank, graph.degree, graph.betweenness, graph.closeness, graph.components, graph.strong_components, graph.louvain, graph.label_propagation, graph.triangles, graph.k_core, graph.shortest_path. Betweenness and closeness run over at most 20,000 nodes.

Time

Two times on every record

Each record comes back with the time it was true and the time it was recorded. The model keeps both, even though this server has no time-travel query.

Command line

Two commands

serve starts the server, with options for the port, the address, the statement time limit, the row limit and the body limit. query runs one query against a data folder or a running server.

Graph procedures, called from Cypher

On the Community server
CALL graph.pagerank('people', 'KNOWS') YIELD node, score
RETURN node.name AS name, score ORDER BY score DESC LIMIT 10
These procedures run on the Community server. On the full server, graph algorithms are called through its own graph routes.

Its limits, by design

LimitWhat it means in practice
The data set must fit in memorySize the machine for your data. The full server can move record bodies to disk; this one does not.
One writer at a timeEach write costs one sync to disk. It suits small services and tools, not heavy write traffic.
No multi-statement transactions over HTTPEach statement is its own unit. It is saved whole or not at all.
One process per data folderNo cluster, no replica.
Backup is stop and copyStop the server and copy the folder. There is no online backup yet.
One token, one level of accessThere are no users or roles. Anyone with the token can do everything.

What it does not include

What the Community server does not include
Not includedWhere it is
Not in this server. The route answers 501 and says so
Clustering, replication and shardingPro and Enterprise
The Bolt and PostgreSQL wire protocolsThe full server, including the free Community tier
The admin consoleThe full server, including the free Community tier
Users, roles, tenants and row-level policiesKeys and roles: the full server. Tenants and row rules: Enterprise
Branches and time-travel queriesThe full server, including the free Community tier
Multi-statement transactions, SQL batches and migrationsThe full server, including the free Community tier
Change feeds and live subscriptionsThe full server, including the free Community tier
The graph algorithm routes with the 64 Community algorithmsThe full server, including the free Community tier
Not yet. The Community crates could support these later
Vector searchThe index is in tessera-index. The server does not serve it yet
Full-text searchThe index is in tessera-index. The server does not serve it yet
Document and blob storage routesThe library is in tessera-objects
Ordered and equality indexes for SQLReads scan the table today
Encryption at restThe primitives are in tessera-crypto
Online backupToday you stop the server and copy the folder

This list comes from the Community server's own documentation. Nothing is hidden behind a vague word: a route that is not there answers 501 with the code not_in_community_server.

What the free Community tier adds All known limits

08What you may do

Yes and no, without the legal fog.

One table for the questions developers ask before they depend on something. Each column is one layer.

What you may do, layer by layer
You want toClients
Apache-2.0
Community edition source
BSL 1.1
Community tier
free binary
Paid editions
commercial
Read and build
Read the source code
Build it yourself
Change it for your own use
Run
Run it on your own machines
Run it in production inside your own organisationAs the kit's licence saysAs your agreement says
Use it for your own business at no costThe kit and its key are free
Sell it, host it or pass it on
Use it inside a product or service you sell or give to othersAs the kit's licence saysAs your agreement says
Sell it or a changed copy
Offer it to others as a hosted or managed serviceApache-2.0 sets no such limit
Pass a changed copy on to others
Licence checks and keys
Remove, disable or work around the licence checksApache-2.0 sets no such limit
Later
What changes with timeNothing. It stays Apache-2.0Each release becomes Apache-2.0 four years after it ships. The limits then end for that release onlyEach licence key lasts at most one year, then you renew itEach licence key lasts at most one year, then you renew it

A plain-language summary. For a use marked no in the Community edition source column you need a commercial licence: contact us. The exact licence text is being written with a lawyer. The licence text that ships with the code is what binds; this summary does not replace it. For the Community tier and the paid editions, see the terms.

09The Business Source License in plain words

Free for your own use. Not for resale.

The Community edition will carry the Business Source License 1.1, often written BSL. It is not an open-source licence. It gives you the source and lets you use it inside your own organisation, also in production. It does not let you sell it, host it for others or pass it on. After a fixed time each release turns into an open-source licence.

Allowed, free

Use it inside your own organisation

  • Read the source
  • Build it
  • Change it for your own use
  • Run it in production inside your own organisation, for your own business
Not allowed

Selling it, hosting it or passing it on

  • Sell it or a changed copy
  • Offer it to others as a hosted or managed service
  • Put it inside a product or service that you sell or give to others
  • Pass a changed copy on to others
  • Remove or work around the licence checks
Commercial licence

Need one of these?

If your plan needs one of the uses in the not allowed list, ask for a commercial licence. Tell us what you want to build and we will answer.

Ask for a commercial licence

The four-year change

  1. 01

    A release ships

    That release is under the Business Source License 1.1. You have the source and the free uses above. The limits apply.

  2. 02

    Four years pass

    The clock runs for each release on its own. A newer release has its own four years.

  3. 03

    That release becomes Apache-2.0

    From that day that release is open source under Apache-2.0. The limits end for that old release only. Newer releases keep them until their own date. The Tessera names and marks stay protected.

Open source and source-available are different

Only the client libraries and drivers will be open source, under Apache-2.0. The Community edition is source-available, not open source: you can read its code and use it inside your own organisation, but the limits above apply until each release turns into Apache-2.0.

We keep the two words apart on every page of this site. If you see the core database called open source anywhere, it is a mistake, and we would like to hear about it.

10What stays closed

The paid part, named plainly.

The paid editions are closed source and licensed with a key. Here is what is in them, without the internals.

Closed

The full server and engine

The server behind the free tier and the paid editions: transactions, branches, time-travel queries, the Bolt and PostgreSQL doors, GraphQL and the admin console. Free to run on one node as the Community tier. Its source is closed.

Pro and above

Clustering

Replication across nodes: up to 3 nodes in Pro, any number in Enterprise. Sharding is in Enterprise.

Enterprise

Graph data science and machine learning

14 more graph algorithms, including a fraud set, and models trained and run on the graph.

Enterprise

Security and compliance

Row-level security, attribute policies, single sign-on, tenants, the audit routes and report drafts for regulators.

Enterprise

AutoGuard

A query-defense pipeline that checks queries and watches data changes.

Paid editions

Industry packs

The banking pack, in Enterprise Plus: anti-money-laundering rules, banking vocabularies, sanctions screening and Basel report drafts. A healthcare pack validates and imports HL7 FHIR records; it is not a full FHIR server.

Compare the editions Security and audit

11Where this stands today

Planned, and said so.

A licensing page is easy to write and hard to keep honest. So here is the state of each part, as of 4 December 2026.

PartState todayWhat is planned
Open-source clientsBuilt and tested in private at version 1.2.0. Not on any public package registryPublic packages that need no sign-in
Community edition sourcePrepared in private. The export is checked so that no paid code can slip into it. Not publishedA public source repository and public packages that need no sign-in
Licence textsThe Apache-2.0 text is final. The other legal files are drafts with a lawyerPublished with the source, after the review
Free Community tierAvailable now, on request, as a binary with a free licence keyUnchanged
Paid editionsAvailable now under a signed agreementPaid packages from a private registry behind a sign-in, and a trial of paid features by registering with an email address
Managed cloud serviceNot builtPlanned

Each publishing step needs a legal review and a separate decision. We will change this table when a row changes, not before.

Release notes Known limits Terms

12Questions

Licensing questions, answered straight.

Is Tessera DB open source?

Not yet, and only the client libraries will be. The plan has three layers. The client libraries and drivers will be open source under Apache-2.0. The Community edition, which is the core database for one node, will be source-available under the Business Source License 1.1: free to read, build, change for your own use and run inside your own organisation, also in production. Selling it, hosting it for others or putting it inside a product you sell or give to others needs a commercial licence. The paid editions stay closed. Nothing has been published so far.

What does source-available mean?

Source-available means you can read the source code and use it under a licence that is not an open-source licence. For Tessera DB that licence is the Business Source License 1.1. You may read the source, build it, change it for your own use and run it in production inside your own organisation, at no cost. You may not sell it or a changed copy, offer it to others as a hosted or managed service, put it inside a product or service that you sell or give to others, pass a changed copy on to others, or remove the licence checks. Those uses need a commercial licence. Four years after a release ships, that release becomes Apache-2.0 and the limits end for that release only. The exact licence text is being written with a lawyer, and nothing is published yet.

Can I use Tessera DB commercially for free?

Yes, inside your own organisation. You can run your own business on the free Community tier, a binary of the full server for one node with a free licence key. Once it is published, you can do the same with the Community edition source under the Business Source License 1.1, also in production. No, if you want to resell Tessera DB, host it for others, or put it inside a product or service that you sell or give to others. Those uses need a commercial licence: contact us.

When will the source be published?

We have not set a date, and we will not guess at one. The source is in private preparation. The licence texts are with a lawyer for review, and each publishing step needs its own sign-off. This page changes when each part is published. Until then the free Community tier is a binary that you get by writing to us.

Can I self-host Tessera DB?

Yes. Tessera DB runs on your own machines today. The free Community tier runs on one node. Pro runs a cluster of up to three nodes, and Enterprise runs any number. Licences are checked offline, so a server can run with no connection to us. There is no managed cloud service yet.

What happens after four years?

Each release of the Community edition becomes available under Apache-2.0 four years after it ships. From that day the limits of the Business Source License no longer apply to that release. They end for that old release only. The clock runs per release, so newer releases stay under the Business Source License until their own four years have passed. The Tessera names and marks stay protected.

What is the difference between the Community tier and the Community edition?

The Community tier is a free binary of the full server for one node. It has SQL, Cypher, TQL, GraphQL for reading, search, Bolt, the PostgreSQL protocol, branches, time travel, the admin console and 64 graph algorithms. Its source is closed. The Community edition is the source-available layer: the core crates and a small server that speaks SQL and Cypher, with 11 graph procedures. The kit does much more; the edition is the part you can read.

Which parts stay closed?

The full server and engine, clustering, graph data science and machine learning, the security and compliance features, AutoGuard, the connectors and the industry packs stay closed. They are licensed commercially with a licence key. The free Community tier is built from the same closed server, which is why its source is not part of the Community edition.

Run it today with the free Community tier.

The source is not public yet, but the database is. Tell us what you are building and we send the kit for one node and a free licence key.