Skip to content
Clause

Clause

Reading the final clause

Created on 15th February 2026

•

Clause

Clause

Reading the final clause

The problem Clause solves

The top three reasons Indian judges aren't in court? Marriages, funerals, and government holidays. The Supreme Court works 190 days a year.

On those 190 days, half of Delhi's trial court docket is cheque bouncing. 4.3 million cheque bounce cases are pending nationally. Most of them are simple "did the cheque bounce, did you send notice" disputes. The former Chief Justice himself said these shouldn't even be criminal cases. Meanwhile 4 lakh people are sitting in jail right now who haven't been convicted of anything. They're undertrials. Their bail application is just stuck in a queue somewhere.

54 million total pending cases. 21 judges per million people. The US has 150. NITI Aayog estimated 350 years to clear the backlog, and that was when it was half this size.

India doesn't have a law problem. We literally rewrote all three criminal codes last year. India has an implementation problem. And you can't fix that by adding more judges or courtrooms. The math will never work.

But here's what gave me the idea. In a single National Lok Adalat earlier this year, 3 crore cases got resolved. 30 million disputes in one event. The problem is Lok Adalats happen four times a year, need everyone to show up physically, and depend entirely on human mediators.

So I kept thinking, what if that ran every single day?

That's CLAUSE.

CLAUSE Resolve is for citizens. You describe your dispute in plain Hindi or English. "My supplier's cheque bounced." "I need bail for my brother." "My landlord won't return my deposit." Claude doesn't give you generic legal info. It reasons about your specific situation, classifies the case, calculates your exact deadlines so you don't miss a 30-day notice window and lose your right to file, drafts the legal notice for you, and proposes a fair settlement. What normally costs a ₹5,000 lawyer consultation takes 2 minutes.

CLAUSE Bench is for judges. A magistrate gets 300 bail applications a day. Each one is a thick file of FIRs, chargesheets, witness statements. Claude reads through documents iteratively, pulling specific pages, cross-referencing evidence, searching for relevant BNSS sections. Then it builds a one-page brief with a case snapshot, legal analysis, precedent map, risk assessment, recommendation with confidence score, and a draft order. Judge reviews in 90 seconds instead of 30 minutes. They can override anything. AI does the homework, the human always decides.

The two sides connect. If Resolve can't settle a dispute, the entire analysis flows into Bench as a ready-made brief. Nothing is wasted. Every day becomes a National Lok Adalat.

Challenges I ran into

Getting Claude to think like a lawyer, not act like a chatbot

This was the hardest part honestly. When someone says "my cheque bounced," a good lawyer doesn't run through a 15-question intake form. They immediately know it's Section 138 NI Act and ask maybe 3 things. When did it bounce? Did you send notice? Do you have the bank return memo? I needed Claude to work that way. Classify instantly from the first message, ask 3 targeted follow-ups max, then deliver a complete analysis with real deadlines and a draft legal notice. That meant loading the system prompt with very specific legal knowledge across 7+ areas of Indian law, each with its own sections, timelines, compensation formulas, and edge cases. I went through a lot of prompt iterations before Claude stopped either asking too many questions or giving shallow answers.

Teaching Claude to actually read case files like a law clerk

For Bench I couldn't just throw a 50-page case file into context and hope Claude figures it out. A real law clerk starts with the FIR to understand the charges, then pulls the relevant chargesheet pages, then checks if the witness statements are consistent, then looks up what BNSS says about this type of offense. So I built a tool-use loop where Claude calls get_document_pages and search_case_documents iteratively, up to 8 passes, deciding what to read next based on what it already found. The tricky part was writing tool definitions that made Claude build understanding step by step instead of just grabbing pages at random.

Streaming two things at once without the UI falling apart

I wanted users to see Claude's legal reasoning in real time. Like a collapsible "View reasoning" panel that fills up as Claude thinks through the BNSS analysis, while the actual response streams separately below it. Extended thinking tokens and response tokens come as two interleaved streams through Server-Sent Events, and routing them to different components without things getting out of sync took a few tries to get right.

Making sure citations point to real pages

The bench brief cites specific pages and excerpts from uploaded documents. But Claude would sometimes output page numbers that didn't exist or pull quotes that weren't quite right. I added a confidence layer where Claude explicitly flags what it's sure about and what has gaps or contradictions. Every citation now links to the actual source page in the uploaded file. If Claude isn't confident about something, it says so instead of making something up.

Tracks Applied (1)

Hackathon Prizes

I built CLAUSE because I think this is the highest-impact thing AI can do for India right now. 54 million pending cases....Read More

Discussion

Builders also viewed

See more projects on Devfolio