Show HN: I built a Harvey-style tabular review app, then open sourced the code
3 points
2 hours ago
| 0 comments
| isaacus.com
| HN
I spent the past couple of weekends building an open-source alternative to Harvey/Legora's popular tabular review application for lawyers.

The project was sparked by a viral LinkedIn post from lawyer Joshua Upin, who described being shown a hallucinated citation by Harvey that was falsely attributed to one of Harvey’s competitors. Seeing such a basic failure emerge from their architecture made me ask a simple question: could I recreate a similar product of theirs without using a single generative model, and in doing so make hallucinations architecturally impossible?

As it turns out, quite a lot.

In building the app, I did not use a single external or generative model. The entire system uses models my organisation trained and owns. More specifically, it uses a combination of Kanon 2 Enricher, Kanon 2 Embedder, and Kanon Answer Extractor. All three are encoder-based, and there are no generative models anywhere in the stack.

That means hallucinations are architecturally impossible. It also means the system can retrieve, classify, extract, and link information in a much more structured and interactive way than products that lean heavily on generation.

At its core, the app turns contracts into a wiki-style, interconnected knowledge graph: a network of entities, annotations, spans, and relations that users can explore interactively. Key features like parties, locations, dates, signatures, and terms are extracted on the first pass. From there, users can define custom spans and relations, extending the graph as they go.

The end result is a tabular review system that matches the core experience offered by the market and, in several meaningful respects, goes beyond it.

I embedded a static version of the app at the top of the linked page so people can try it directly. The static version has real public contracts processed using the application. These contracts relate to public figures like Mark Zuckerberg, Elon Musk, and Jensen Huang, making it easy to verify the accuracy of the stack. The linked page also works as a step-by-step guide for anyone who wants to build something similar themselves.

No one has commented on this post.