lawglance  by lawglance

AI legal assistant for accessible justice

Created 1 year ago
254 stars

Top 99.1% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

LawGlance is a free, open-source AI legal assistant addressing the inaccessibility of legal guidance. Using Retriever-Augmented Generation (RAG), it provides quick, accurate legal support for laypersons and professionals, aiming to democratize legal knowledge.

How It Works

The system employs a RAG architecture, integrating LangChain, ChromaDB, and the OpenAI API. This allows it to retrieve relevant legal documents and synthesize context-aware answers, grounding AI outputs in specific legal texts for enhanced reliability and precision.

Quick Start & Requirements

Clone the repo, install dependencies with uv sync, set your OPENAI_API_KEY in .env, and run uv run streamlit run app.py. A Python environment managed by uv is required. Redis caching is recommended for production. Direct links for the website or tutorial are not provided.

Highlighted Details

  • Legal Coverage: Supports Indian Constitution, Bharatiya Nyaya Sanhita (2023), Bharatiya Nagarik Suraksha Sanhita (2023), Bharatiya Sakshya Adhiniyam (2023), Consumer Protection Act (2019), Motor Vehicles Act (1988), IT Act (2000), POCSO Act (2012), and Sexual Harassment Act (2013). International expansion is planned.
  • Future Roadmap: Includes multi-agent framework, global jurisdiction expansion, voice interaction, multi-lingual support, advanced search, legal document generation, and case management.

Maintenance & Community

Contributions are welcomed via pull requests. Support is noted from Data Science Academy and Curvelogics. No specific community channels or roadmap links are provided.

Licensing & Compatibility

The README does not specify a software license, posing a significant adoption barrier for commercial use or integration into closed-source projects.

Limitations & Caveats

Current legal coverage is limited to Indian legislation. The project is under active development with an extensive future roadmap, suggesting it may not be production-ready. An OpenAI API key is required, incurring costs.

Health Check
Last Commit

4 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
9 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.