Architecture gallery
How the systems fit together.
Production diagrams from LegalTech SaaS, document intelligence, and edge-native infrastructure — drawn the way I explain them to practitioners and engineers.
Document intelligence
OCR bulletin intake pipeline.
Click each stage for technology, reason, and tradeoff. Flow animates until you interact.
Upload
- Technology
- Reason
- Tradeoff
Human review sits between extraction and merge — AI accelerates intake; experts stay accountable for the matter record.
LegalTech SaaS
NepalIPMS application architecture.
A single API surface serves firm staff and automation. Persistent state lives in D1 and R2; the data model mirrors how Nepalese IP desks already organize client portfolios.
Edge infrastructure
Cloudflare deployment topology.
Traffic terminates at the edge; compute runs close to users across Nepal and abroad. Bindings connect Workers to D1, R2, and KV without managing regional servers.
Register search
130k trademark lookup flow.
Paralegals search by mark text, application number, or class during live client calls. Full-text indexes and careful normalization keep responses fast enough to stay on the phone.
Applied AI
Retrieval and generation pipeline.
Legal AI features retrieve grounded context before generation. Outputs are drafts with citations — experts stay in control of what reaches a matter record.