CS-01 Legal · Private LLM & agents
Case research for a law firm that couldn't use the cloud
- Problem
- A criminal law firm wanted help with case research and bail drafting, but case data could not be sent to a cloud AI service.
- Approach
- Compared Llama and Qwen on Indian legal tasks for accuracy, latency and hardware cost, then deployed Llama on the firm's own hardware. A LangGraph agent breaks a First Information Report into offences, legal sections and key facts, and retrieves matching case law. A drafting agent checks every cited judgment against its source before it reaches the draft.
- Outcome
- Answers in 4–5 seconds on average, with no case data leaving the firm. The agent's steps were mapped onto the advocates' own FIR-to-bail process in live sessions with them.
40% less time on legal research