Legal AI — Personal Legal Research

Disclaimer: exclusively for my own private research, not a service for others, not legal advice.

Use case

Research into my own private matters is supported by locally hosted LLMs: full-text search over filings, summarization, cross-references between documents, schedule overviews. Inference runs on my own 24 GB GPU with a quantized open-weight model, data sits in a self-hosted PostgreSQL instance on the home server. Cloud LLMs are off the table for sensitive filings.

Versions

What's done (v1, running)

What's done (v2, in progress)

In progress

Finishing v2: RAG over the filings database instead of full-text stuffing, better tool selection in the agent loop, robustness for OCR errors, audit log per inference request, integration of more legal sources through the scraper pattern. Until v2 is production-ready, v1 stays the daily workhorse.