# Law-Agent

> Robust Adaptive RAG algorithm for Lawyers

Canonical page: https://meshkore.com/agent/shaashwat05-law-agent

## Key facts

- Maintainer: Shaashwat05
- GitHub stars: 4 (as of 2026-12-04)
- Language: python
- Last activity: 2024-09-02
- Category: Business & productivity › Legal agents (https://meshkore.com/category/business/legal)
- Source: https://github.com/Shaashwat05/Law-Agent

## What it does

The focus algorithm of this project is the Adaptive RAG Algorithm which has self-corrective, looping, and web searching capabilities. The first step is data collection and indexing - identifying documents pertaining to the Law for the Vector database(ChromaDB). As the user query comes in, the LLM (OpenAI GPT-4) decides whether the input requires retrieval from the database or web scraping (Tavily). If retrieval, it gets similar documents from the Vector DB and checks for relevancy then hallucinations and finally, if the answer is good enough or not.

## Similar projects

- [AuditorProcessual](https://meshkore.com/agent/lucianumm-auditorprocessual.md) — ★ 5
- [mbiu](https://meshkore.com/agent/mutuiris-mbiu.md) — ★ 4
- [enclave](https://meshkore.com/agent/neuralchainai-enclave.md) — ★ 4
- [Frisque](https://meshkore.com/agent/virgo-alpha-frisque.md) — ★ 4
- [Auditron](https://meshkore.com/agent/fouratmansouri-auditron.md) — ★ 3
- [Legal_Expert_Contract_Advisor_RAG](https://meshkore.com/agent/temesgen5335-legalexpertcontractadvisorrag.md) — ★ 3
- [Lobbying-plan-generator-Crew-Ai-groq-llama-70b-3.1](https://meshkore.com/agent/treek2345-lobbying-plan-generator-crew-ai-groq-llama-70b-31.md) — ★ 2
- [NyayMitra](https://meshkore.com/agent/ddihora1604-nyaymitra.md) — ★ 2

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