IISURI LAB

CASE STUDY 05 · LEGAL INTELLIGENCE

Turning legal evidence into reproducible intelligence.

Nyrava México is a specialized legal-intelligence platform for organizing evidence, analyzing source documents, verifying citations, and producing work product that remains grounded in the underlying record.

ContributionCo-founder · AI feature development · workflow QA · CRM and product systems
ProductLegal intelligence and case management
Core stackReact · TypeScript · TanStack · Supabase
Operational concernEvidence integrity and private workspaces

What the system had to solve

Legal teams need more than a chat interface. They need a system that can ingest complex material, preserve the relationship between claims and sources, support organization-level access, and make generated reports auditable. The engineering challenge was therefore not only model integration; it was the design of trustworthy boundaries around AI output.

Architecture at a glance

Open interactive architecture ↗

Experience layerReact and TypeScript interfaces for workspaces, source review, analysis tasks, CRM workflows, and report review.
Application layerTanStack-based application flows that coordinate document work, analysis state, user actions, and report contracts.
Data layerSupabase and PostgreSQL with row-level security for organization-aware access and isolated workspaces.
DeploymentContainerized Docker deployment on an independent Linux server, supporting repeatable delivery and environment consistency.

Module structure

Source and evidence workspace

Document organization, extracted passages, source-linked review, and the context needed to inspect an AI-assisted result.

Analysis orchestration

Multi-agent processing with explicit execution state, specialized steps, and boundaries between ingestion, analysis, verification, and reporting.

Citation verification

Validation gates designed to check that claims and generated passages remain traceable to source material.

Report generation

Structured report contracts and reproducible outputs instead of treating an unvalidated model response as the final deliverable.

AI implementation and improvements

The most valuable work was making the AI behavior more dependable: separating the legal reasoning stages, improving citation QA gates, tightening report contracts, and addressing stale execution identifiers that could make a complex pipeline difficult to reproduce.

Recruiter takeaway

This project demonstrates experience integrating AI into a high-consequence workflow where traceability, data isolation, failure handling, and reproducibility matter as much as the model call itself.

Engineering lessons

The platform reinforced a practical principle: AI systems need product architecture around them. Clear state transitions, source-grounded outputs, testable interfaces, and organization-level authorization are what turn a prototype into a professional tool.