Privacy-first, enclave-secured legal AI infra aim to slashing India’s 50M+ court backlog using ASR
The Indian judicial system is caught in a compounding crisis, choked by an unprecedented backlog exceeding 5 crore (50+ million) pending cases. Trial courts and district benches spend thousands of manual hours transcribing multi-lingual, code-switched depositions (Hinglish/vernacular), sifting through documentary evidence, and manually preparing procedural orders. This operational gridlock delays justice for years, turning case pendency into an institutional emergency. While generative AI offers an immediate remedy to automate transcription, order draft generation, and evidence analysis, traditional cloud AI architectures are fundamentally unfit for the courtroom. Mainstream LLMs and public cloud pipelines operate on open memory environments that expose sensitive case files, confidential victim testimonies, matrimonial records, and sealed in-camera depositions (such as POCSO or Section 183 BNSS statements) to third-party servers and cloud providers. This violates mandatory data localization norms, judicial sealing mandates, and the Digital Personal Data Protection (DPDP) Act. Furthermore, generic models lack legal-grade vernacular recognition and cannot furnish the cryptographic chain-of-custody certificates required for electronic evidence admissibility under Section 63 of the Bharatiya Sakshya Adhiniyam, 2023 (BSA). nyayam.ai solves this bottleneck by pioneering zero-trust legal intelligence. Powered by hardware-grade Trusted Execution Environments (TEEs) and decentralized attestation, nyayam.ai ensures: Zero-Leakage Speech-to-Text & Analysis: Audio and sensitive case records are processed inside hardware-encrypted enclaves where no third-party host, model provider, or unauthorized personnel can ever inspect, scrape, or log confidential testimony. BSA Section 63 Ready: Automatically generates cryptographic hashes and tamper-evident attestation logs for transcripts and orders, mathematically proving authenticity and non-tampering directly on-chain. Vernacular Code-Mixing Precision: Purpose-built acoustic and legal NLP pipelines tailored for complex, multi-dialect Indian courtroom discourse. By uniting real-time operational speed with ironclad, verifiable privacy, nyayam.ai equips judges, legal practitioners, and court registries to clear procedural backlogs without compromising the sovereignty, security, and sanctity of judicial records.
nyayam.ai is built as an end-to-end, zero-trust legal processing pipeline. It bridges encrypted local evidence capture with hardware-isolated inference and verifiable state tracking: Audio Transcription & Multilingual Ingestion: Courtroom audio (cross-examinations, witness depositions) is routed to OpenAI-compatible speech-to-text endpoints (whisper-large-v3) hosted inside TEE enclaves to process code-switched Hindi-English and regional dialects without plain memory exposure. Multimodal Evidence Processing (Vision Model): Indian trial courts rely heavily on scanned physical FIRs, handwritten police chargesheets, stamp papers, and forensic photographic evidence. We piped high-resolution document scans and evidence photographs directly into a vision-language model (Qwen3-VL / multimodal tier) on 0G Private Compute. The model extracts key entities, handwritten endorsements, and visual metadata directly inside an enclave, bypassing unsecured, third-party OCR APIs. Smart Case Summariser & Section 63 BSA Validation: Transcripts and extracted document text are passed into a reasoning LLM (DeepSeek / Qwen) acting as a Smart Case Summariser. It maps testimony against Indian legal provisions (Bharatiya Nyaya Sanhita, Bharatiya Nagarik Suraksha Sanhita), auto-redacts sensitive POCSO/victim details, and structures judicial orders. To ensure compliance with Section 63 of Bharatiya Sakshya Adhiniyam, 2023 (BSA) (governing electronic evidence admissibility), the system calculates SHA-256 digests of the raw audio/visual evidence and binds them with the hardware attestation signature of the TEE output.
0G Private Computer (pc.0g.ai): Provided our core privacy backbone. By running all inference inside hardware Trusted Execution Environments (Intel TDX / NVIDIA confidential computing enclaves), it guaranteed that neither cloud operators nor node providers could inspect or scrape privileged legal testimony. The Testnet-to-Mainnet Pivot: We initially prototyped the ingestion pipeline on the 0G Galileo Testnet. However, we hit a hard bottleneck: testnet provider nodes were limited to smaller base text models and lacked the specific vision-language (Qwen3-VL) and multimodal weights required to parse scanned Indian legal docs. Rather than compromising our feature set with synthetic workarounds, we pivoted mid-hackathon to 0G Mainnet, funded live compute credits, and hooked into the production Private Computer router (router-api.0g.ai/v1) where full vision, speech, and large reasoning models are actively hosted and verified.

