Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

CaseCite: an open-source, self-hosted legal RAG platform

CaseCite is an Apache 2.0, self-hosted legal research platform that keeps a firm's documents, index and chat history on its own servers, offering cited RAG chat, contract review and comparison, long-document drafting, and CourtListener-based case tools. Its…

Published Read the original
CaseCite: an open-source, self-hosted legal RAG platform

Why it matters

It is a well-documented reference for building a domain RAG app with clear data-flow disclosure, useful beyond legal tech.

What happened

1 min read

CaseCite is an Apache 2.0, self-hosted legal research platform that keeps a firm's documents, index and chat history on its own servers, offering cited RAG chat, contract review and comparison, long-document drafting, and CourtListener-based case tools. Its maintainer pitches it as an open alternative to Harvey. It uses bring-your-own-key access to OpenAI, Anthropic or Gemini, or self-hosted OpenAI-compatible endpoints.

inscraper analysis

Our analysis

The 'built the same as Harvey' framing oversells it: Harvey's moat is proprietary data, integrations and enterprise sales rather than the RAG layer. Still, the repo is unusually candid about data egress, for example warning that self-hosting only the chat model still sends document text to OpenAI for embeddings, and that derived text sits unencrypted at rest. Section-planned drafting of long documents and HMAC audit logs are sensible patterns. No retrieval or citation-accuracy evaluation is given, so its quality can't be judged from the article.

More in Agents