Skip to content
N

NyayaSetu

Bridging Citizens and Justice with AI

Created on 16th March 2026

•

N

NyayaSetu

Bridging Citizens and Justice with AI

The problem NyayaSetu solves

India’s judicial system faces a massive backlog of pending cases, with millions of cases waiting to be resolved across various courts. A significant reason behind this issue is that many citizens lack clear guidance about legal procedures, required documents, and the viability of their cases before approaching the courts.

For most people, understanding legal processes is difficult. Legal information is scattered, technical, and often requires consulting professionals even for basic guidance. As a result, individuals frequently file cases without adequate preparation or understanding, which contributes to delays, inefficient case handling, and increased burden on the judiciary.

NyayaSetu aims to address this gap by providing an AI-powered platform that helps citizens understand their legal situation before filing a case. By analyzing user-described legal issues, the system identifies similar past cases, estimates possible outcomes and timelines, and guides users on the required documentation.

This helps citizens make informed decisions, prepare cases more effectively, and reduces unnecessary or poorly prepared filings—ultimately contributing to a more efficient justice system.

Challenges we ran into

One of the main challenges we faced was working with legal text data. Legal case descriptions are often long, complex, and written in technical language. Converting these texts into a form that an AI model can understand and compare effectively required careful preprocessing and experimentation with NLP tools.

Another challenge was implementing semantic similarity for case matching. We needed a way to compare a user’s problem description with past case summaries in a meaningful way. We solved this by using sentence embedding models from Hugging Face (MiniLM) and calculating similarity scores using machine learning libraries.

We also encountered difficulties in structuring the legal dataset. Since there is no single standardized dataset for all types of Indian legal cases, we had to curate and structure case summaries manually so that the system could use them for similarity search and prediction.

On the engineering side, integrating the frontend (React) with the backend (FastAPI) while ensuring smooth API communication required debugging request handling and response formatting.

Despite these challenges, iterating quickly during the hackathon helped us build a working prototype that demonstrates how AI can assist citizens in understanding legal situations before approaching courts.

Discussion

Builders also viewed

See more projects on Devfolio