SereneDB

Navigation

How Justee.ai built hybrid retrieval for legal AI with SereneDB

Justee.ai moved from vector-only search to an engine that ranks statutes by meaning and wording, filters expert sources by metadata and runs the whole workload on one machine.

Statute records
2.5M
Analysis steps per review
30
Monthly infrastructure cost
~$160
PRBench Legal score in Justee’s evaluation
53.3

Checking contracts against law and practice

Justee.ai helps small and midsize businesses review contracts. Its analysis explains what each agreement commits the business to, checks clauses against applicable law and flags ambiguity or errors. Users can also ask questions about the document and request revisions.

The first version used Pinecone to match contract clauses with similar statutes. Justee.ai needed to combine those matches with exact wording and filters such as publication date, area of law and source quality. It also wanted to bring in current legal analysis so reviews could reflect how clauses play out in disputes. When Grayver Law Group reviewed that first version, its lawyers found that about half of the risks flagged were wrong.

One engine for statutes and expert sources

Justee.ai moved about 2.5 million records from official sources into SereneDB, covering US federal law, California law and the law of England and Wales. It splits contracts into sections and uses hybrid search to rank statutes using both vector similarity and full-text relevance.

The second layer is a map of open-web sources the team trusts and has permission to use. The map stores links and descriptors to find relevant analysis at review time. About 20 metadata fields per record let Justee.ai narrow the search by topic or favor fresher sources. The team built the source map in-house with the help of the SereneDB documentation.

AreaBeforeWith SereneDB
SearchVector similarityHybrid ranking with vector and full-text search
DataStatutes2.5 million statute records and a curated map of legal sources
FilteringVector store metadataAbout 20 fields per record, including date, area of law and source trust
HostingManaged vector serviceOne engine on Justee.ai’s own infrastructure

A review takes 30 analysis steps, so an extra second at each step adds half a minute to the review. Keeping search and filtering in one engine helps Justee.ai avoid round trips between data systems and keep retrieval on its own infrastructure. In Full Private Mode, a key held in the user’s browser encrypts documents and reviews.

One machine and a stronger review

Justee.ai reported running its retrieval workload on one machine for about $160 a month. The company made its first sale in March 2026 and had more than 100 paying subscribers by the time of the interview.

When Grayver Law Group reviewed the product again, lawyer feedback on the flagged risks improved.

“What Justee.ai flags is what we would flag. For the everyday agreements a business signs, it gives the owner a solid first read in minutes.”

Artem DolukhanyanPartner, Grayver Law Group, legal adviser to Justee.ai

PRBench Legal

In Justee.ai’s own evaluation, Justee 3 averaged 53.3 over three runs of all 500 legal tasks using Scale AI’s published grader. That would put the product third by score against Scale’s September 30, 2026 leaderboard, ahead of GPT 6 Astra and Claude Opus 5.5. Justee.ai supplied the score for the full product with its retrieval enabled. Read Justee.ai’s report and methodology.

What comes next

The team plans to extend coverage to Canada and Australia, add low-cost or free e-signatures and expand its map as more legal sources become available for commercial use.

Want search, analytics, and vector in one fast database?

Leave your details, and we’ll show you how SereneDB fits your stack.