Skip to content

VakeelOS: Legal practice operating system (engineering)

Brings court hearings, case files, and drafting into one workspace for Indian advocates.

Company
VarVik Technologies
Role
Lead engineer
Domains
  • Backend
  • Frontend
  • AI/ML
  • Mobile
  • DevOps
Visit live site at vakeelos.com (opens in a new tab)
The VakeelOS homepage appears alongside the legal workspace on a tablet and phone.
Legal document types drafted at launch:
5
Workflow and residency:
India-first
Document OCR:
On-device
On this page

Tech stack

  • Next.js
  • TypeScript
  • tRPC
  • Prisma
  • PostgreSQL + pgvector
  • Azure OpenAI
  • Azure Container Apps
  • Clerk
  • Razorpay
Read the product strategy and roadmap case study

My contribution

I own product definition and end-to-end engineering: mapping Indian litigation workflows, shaping the modular application architecture, defining source-grounding and AI residency controls, and carrying the court-native design through the dashboard, mobile flows, brand, and launch website. This case study describes the implementation and deployment milestones; it does not report measured adoption or time savings.

The problem

Solo advocates and small Indian law firms still coordinate matters across paper causelists, messaging apps, spreadsheets, and disconnected document folders.

Generic practice-management software misses court-specific workflows; generic AI adds a second risk by producing confident text without a reliable link back to the advocate's own case material.

The challenge

The product had to unify daily legal operations without flattening the way Indian advocates actually work. That meant CNR-linked matters, hearings, causelists, drafting, documents, fee collection, and phone-first access, while keeping primary data in Azure Central India and making non-India AI fallbacks an explicit opt-in. The interface and the underlying service boundaries needed to tell the same story: a dense professional system that still feels legible on first use.

System design

VakeelOS is a Next.js and TypeScript application organized around thin route adapters and domain modules. tRPC exposes typed application boundaries; Prisma and PostgreSQL with pgvector store operational and retrieval data; Azure Blob Storage handles documents; Inngest runs background jobs; and Redis supports cache and coordination paths. Azure OpenAI is the primary AI provider, while browser-side PaddleOCR keeps initial document extraction on-device. Production runs on Azure Container Apps with Key Vault, Log Analytics, Sentry, and fail-closed release checks.

Results

The delivered platform includes a production deployment path on Azure Container Apps, a modular route-and-service architecture, on-device OCR, grounded document retrieval, and explicit residency controls around AI providers. The same court-native design language carries through the product dashboard, mobile flows, brand identity, and responsive marketing site, so prospective users can understand the product before signing in.

Gallery

Select an image to open the viewer. Choose Actual size for images that offer it.

Motion

  • Website scroll transcript
    1. The homepage introduces one workspace for causelists, matters, drafting, research, and billing. It offers a free trial and a call booking link.
    2. The sample Control Room shows active matters, this week's hearings, draft turnaround, and a practice activity chart. Quick actions let advocates add a matter by CNR or draft with VakeelBrain.
    3. The page highlights court portal sync, case-linked workflows, drafting tools, and a single search across legal research collections.
    4. The benefits section shows causelists from supported courts in one inbox and a dashboard of hearings, deadlines, and money owed. The final cards show VakeelBrain using case context for research and drafting, and a dashboard indicator tracking how many briefs are ready for tomorrow's hearings.

More from VarVik Technologies

17 other case studies from VarVik Technologies.

All VarVik Technologies projects

Talk through the build

I can walk you through the work covered here: Legal practice operating system. We can discuss the design decisions and what shaped them.