Server-first. Secure. AI-native. Paid.

Deliver defensible legal outcomes with an AI workspace firms can trust.

nXCase unifies document processing, Claude Sonnet RAG, and tenant-aware controls. Built for subscription clients and whitelabel partners who need a production-ready legal AI platform without compromising governance.

A platform engineered for litigators

Every module follows the documented architecture: Amplify Gen 2 backend, presigned upload pipeline, Claude streaming via Bedrock inference profiles, and Zod-validated server actions.

Explore technical notes

Document Intelligence Engine

Ingest depositions, medical records, and multimedia. Automatic OCR, transcription, enrichment, and status tracking ensure case files are AI-ready within seconds.

  • Textract + Transcribe automation
  • State machine with recovery paths
  • Per-document confidence scoring

Claude-Powered Case Workspace

Streaming RAG chat over every processed document with citation drill-down. Bedrock inference profiles, manual context caching, and knowledge base syncing keep responses fast and defensible.

  • Interactive citations into Document Viewer
  • Case-scoped prompt orchestration
  • Token analytics per tenant

Operational Guardrails

Multi-tenant access control, strict TypeScript validation, and Amplify IAM hardening. Every action emits an audit event for compliance teams.

  • Tenant-aware RBAC & session tagging
  • AuditLog DynamoDB stream
  • Automated IAM and S3 policies
Compliance StackSOC 2 • HIPAA • Tenant Isolation

Trust the controls your clients demand

Every interaction is logged. IAM helpers align with Amplify guidance, and the rules audit highlights ongoing hardening work—from eliminating unsafe `any` usage to ensuring every page carries Suspense-ready loading states.

Audit Logging Everywhere
DynamoDB-backed AuditLog model, activated helper functions, and per-resource metadata keep regulators satisfied.
Tenant-Aware IAM & S3 Policies
Scripts enforce Bedrock inference profile access and scoped document paths, matching the documented S3 rewrite.
Strict TypeScript Everywhere
Zod-first validation, lint guards, and no `any` rules protect API boundaries and server actions.
Observability Playbook
CloudWatch pipelines, knowledge base sync telemetry, and cost dashboards catch issues before clients do.

Document AI Workflow

  1. 1. Server action issues presigned URL and pending status.
  2. 2. S3 event triggers Lambda with transition validation.
  3. 3. Textract / Transcribe populate extracted text + confidence.
  4. 4. Knowledge base ingestion flips status to indexed for chat.

Drawn from the rewrite blueprint—retry safe, idempotent, and monitored.

Security Checklist Highlights

  • • Cognito custom attributes enforce tenant context throughout the stack.
  • • IAM scripts (`fix-s3-permissions`, `fix-bedrock-permissions`) keep least-privilege enforced.
  • • Runtime fixes adopt Bedrock inference profiles to avoid throttled invocations.

Documentation hub

Everything on this homepage is backed by shipping guides. Jump straight into the repo docs to implement, validate, or harden any layer of the stack.

Getting Started

Spin up the Amplify sandbox, seed tenants, and run the local development workflow.

/docs/GETTING_STARTED.md

Document AI Integration

End-to-end architecture for Textract, Transcribe, and Claude context injection.

/docs/document-ai-integration.md

RAG Chat Setup

Claude Sonnet streaming, knowledge base ingestion, and token analytics.

/docs/rag-chat-setup.md

Rules Compliance Audit

Current status on strict TypeScript, Suspense coverage, and loading state gaps.

/docs/RULES-COMPLIANCE-AUDIT.md

Testing Checklist

Step-by-step validation for the document upload rewrite and chat experience.

/docs/TESTING-CHECKLIST.md

Where nXCase is heading next

The competitive dossier versus Filevine informs the product roadmap. We are doubling down on the AI surface area while filling the operational gaps that firms expect from a modern legal OS.

Client Portal & Lead Intake

Self-service updates, AI triage, and intake scoring close a competitive gap with Filevine.

Time Tracking & Billing Intelligence

Auto-suggested time entries from activity, Claude narration for invoices, and usage limits per plan.

Medical Chronology & Demand Drafting

Structured medical timelines, automated demand letters, and settlement insights powered by case knowledge.