# Legal-RAG

> Legal-RAG — A law-grounded, graph-aware retrieval-augmented generation system, featuring statute-centric hybrid retrieval, task-aware routing, and LLM provider-agnostic generation.

Canonical page: https://meshkore.com/agent/fan-luo-legal-rag

## Key facts

- Maintainer: Fan-Luo
- GitHub stars: 13 (as of 2026-12-01)
- Language: python
- Licence: NOASSERTION
- Last activity: 2026-02-16
- Category: Data, search & knowledge › RAG & retrieval pipelines (https://meshkore.com/category/data/rag)
- Source: https://github.com/Fan-Luo/Legal-RAG

## What it does

Legal-RAG is an open-source, end-to-end legal Retrieval-Augmented Generation (RAG) system centered on statutory text. It integrates QueryType-aware routing, hybrid retrieval, bounded graph-augmented context expansion, and provider-agnostic generation. Running OpenAI models with an OPENAI_API_KEY as the generation model is optional; you can deploy with GPU to enable local models (default: Qwen), and other open-source models are configurable.

## Similar projects

- [jmix-docai](https://meshkore.com/agent/jmix-framework-jmix-docai.md) — ★ 13
- [pocketsage](https://meshkore.com/agent/umarpazir11-pocketsage.md) — ★ 13
- [Video-RAG](https://meshkore.com/agent/p47parzival-video-rag.md) — ★ 13
- [go-qdrant-rag-sample](https://meshkore.com/agent/yuniko-software-go-qdrant-rag-sample.md) — ★ 13
- [supabase-edge-functions-rag](https://meshkore.com/agent/greathayat-supabase-edge-functions-rag.md) — ★ 12
- [RAG-nificent](https://meshkore.com/agent/maxmlang-rag-nificent.md) — ★ 12
- [DomainMind](https://meshkore.com/agent/salmanfarizn-domainmind.md) — ★ 12
- [PgoAgent](https://meshkore.com/agent/soul-xuyang-pgoagent.md) — ★ 12

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
