Writ is designed to predict potential outcomes of your case or legal issue using previous judgments and applicable Central and State acts. A fine-tuned language model and hybrid retrieval ground each prediction in an encrypted on-device knowledge base. No account. No cloud. Queries never leave your machine.
Capabilities
Every architectural decision prioritises privacy, depth, and precision over convenience and cloud dependency.
The complete inference pipeline — model loading, retrieval, generation, and re-ranking — runs on your local hardware via Ollama. Nothing is transmitted to any external server. Your research stays yours.
Judgments, acts, and curated legal notes stored encrypted on-device. No plaintext exposure at rest.
BM25 keyword search combined with neural re-ranking surfaces the most relevant passages, not just the most frequent matches.
Writ runs Vidhi (Llama 3.2 3B fine-tune), a model trained specifically on Indian legal texts. It understands the structure of judgments, identifies precedents, and reasons about statutory provisions in context.
Paste a case synopsis and get a predicted judgement grounded in previous High Court / Supreme Court judgments and State / Central acts — predicted outcome first, then the governing ratio, application to your facts, and limits.
A focused interface designed for long-form legal reading. Light and dark modes. No telemetry, no banners, no feature clutter.
Architecture
Four steps from your prompt to a grounded, cited legal response — all on your machine.
Describe your case or legal issue in plain language to explore potential outcomes based on previous judgments and applicable acts. No query syntax required.
BM25 keyword search across the encrypted knowledge base is fused with a neural embedding pass and candidates are scored.
An offline embedding model re-scores candidates by semantic similarity and fuses that signal with keyword scores — no topic-specific rules.
Vidhi receives the top passages as context and generates a prediction with a sources list — judgments and acts first — entirely on your hardware.
"The right to access justice should not require trusting a third-party server with the most sensitive details of a legal matter." — Writ, built for privacy-first legal research
Get Started
Free for personal, non-commercial use. No account required. Windows, macOS, and Linux.
Writ-Setup-1.0.0-Windows.exeollama run prawinin/vidhi in your terminalWrit-1.0.0-Mac.dmgollama run prawinin/vidhi in your terminalWrit-1.0.0-Linux.tar.gzollama run prawinin/vidhi in your terminalNote: These installers are provided directly and are currently unsigned. You may need to bypass OS-level security warnings (such as Windows SmartScreen or macOS Gatekeeper) to run them.
Prerequisites & On-Device Setup: Writ requires
Ollama running locally for model inference. You will need to manually download the Vidhi model (2.0 GB) by running ollama run prawinin/vidhi in your terminal. See the Vidhi on Ollama. The encrypted knowledge base (1.7 GB — 1,718,935,552 bytes) ships with the install.
Deployment Options
Packaged with our lightweight 3B quantized model (Vidhi, 2.0 GB) and a 1.7 GB core statutory/judgment index — specifically tuned so students and independent practitioners can run air-gapped legal research on standard 8 GB RAM laptops.
The underlying Writ architecture (hybrid BM25 + dense vector retrieval, neural re-ranking, and local GGUF inference) is model-agnostic. For law firms, enterprises, and agencies, we configure custom deployments scaled to your dedicated hardware — indexing your private case files, contracts, and internal corpora with custom LoRA fine-tuning and strict citation guardrails.
Commission a Custom Deployment →Legal Disclaimer
Writ does not provide legal advice. Nothing generated by this tool constitutes legal counsel, legal opinion, or a substitute for advice from a qualified advocate. Always consult a licensed legal professional before acting on any legal matter.
AI-generated responses can be wrong, incomplete, outdated, or contextually inapplicable to your specific situation.
No Liability: The creators and developers are not responsible for any outcomes, damages, or actions taken on the basis of the output generated by this application. Use it entirely at your own risk.
License
Writ is licensed for personal, non-commercial use. You may install and run the software on your own device for personal legal research. Redistribution, modification, or commercial use requires explicit written permission from the author.
Licensing inquiries →Collaboration
VyapAI configures Writ for law firms, enterprises, and agencies — with your private corpora, custom LoRA fine-tuning, strict citation guardrails, and models scaled to your dedicated hardware. Reach out to discuss an on-premise deployment.