patron
Active·★ 16·AGPL-3.0·Updated 2026-10-19
Patron is a local-first, self-hosted AI agent designed for law firms, offering a zero-cloud, single-user desktop application with bundled legal connectors. It enhances legal workflows by allowing users to chat over case files, access extensive legal databases, and generate documents while ensuring data privacy and an auditable trail.
#AI Agent#Legal Tech#RAG#Document Processing#Self-hosted#Desktop Application#Compliance#Local-first
01
Features
01Chat over case files with color-coded citation verification (verbatim, paraphrase, unverified).
02Integrated access to 20+ live and offline legal databases for case law, legislation, and tax practice.
03Tabular review to extract structured data (answers, quotes, confidence) from batches of contracts.
04Document editing with Word-style tracked changes and AI-assisted drafting of new documents.
05Hash-chained audit trail for all model interactions, exportable for regulatory compliance (AI Act art. 12).
02
Compatibility
Node.js
Runtime
Verified via docs
npm
Package Manager
Verified via docs
Electron
Desktop Framework
Verified via docs
Next.js
Frontend Framework
Verified via docs
Express.js
Backend Framework
Verified via docs
SQLite
Database (Desktop)
Verified via docs
03
Quick start
1
$ git clone https://github.com/matematicsolutions/patron.git
2
$ cd patron
3
$ npm install --prefix backend
4
$ npm install --prefix frontend
04
Use cases
↳Legal research and case analysis by querying internal documents and extensive external legal sources.
↳Efficient contract review and data extraction for summarization or comparative analysis across multiple documents.
↳Drafting various legal documents, pleadings, and internal memos with AI assistance and revision tracking.
↳Ensuring regulatory compliance (e.g., AI Act, GDPR) through auditable AI interactions and PII masking.
↳Automating repetitive legal tasks and document processing with custom workflows and saved prompts.
05
Alternatives
wenlan★ 86
Wenlan (文瀾) is a personal knowledge base for the AI-native age. Your AI agents capture what they learn, Wenlan keeps it current and distills it into source-cited wiki pages you can trust
ragflow★ 92.7k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
mykg★ 78
Knowledge graph extractor: Markdown (or any format) → knowledge graph with RDFS/OWL ontology
Clouisle★ 19
Clouisle is an enterprise-grade knowledge base and intelligent AI Agent platform built on a distributed architecture. It transforms disparate data systems into actionable insights, while empowering intelligent agents to drive business decision-making and automation.
GPT Researcher★ 30.2k
An autonomous agent that conducts deep research on any data using any LLM provider, producing detailed reports with citations from web and local sources.
Comments
Log in to leave a comment
No comments yet. Be the first!