Skip to main content
All Projects
COMPLETED

Juris AI

AI-powered legal contract analysis and negotiation assistant

Juris AI screenshot 1

Role

Full Stack Developer

Team

Solo

Stack
Frontend
Next.js (App Router)Tailwind CSS
Backend
TypeScriptNode.jsExpress
AI
Google Gemini
Auth
Passport.jsGoogle OAuth 2.0Email/password
Data & Files
Redis (TTL cache)PDF parsingDOCX parsing
Challenges
  • Secure in-memory file processing
  • Reliable contract summarization
  • Ephemeral data handling with Redis
Insights
  • AI-driven document analysis
  • Privacy-first system design
  • File parsing and text extraction pipelines

Overview

Juris AI is an intelligent legal assistant built to simplify complex legal contracts. It leverages generative AI to break down dense legal language, highlight critical clauses, and provide actionable negotiation insights, all while maintaining a strong privacy-first architecture.

The platform is designed to assist users in understanding contracts, not to replace professional legal advice.

Privacy first

All uploaded documents are processed ephemerally and are never permanently stored. Files live in memory only for the duration of analysis.


Key Features

AI-powered contract summaries

Converts dense legal clauses into clear, easy-to-understand summaries.

Key clause & term highlighting

Automatically identifies important legal terms and sections within contracts.

Negotiation insights

Provides intelligent suggestions to help users strengthen their negotiation position.

Privacy-first processing

Files are processed entirely in-memory and discarded immediately after analysis. Nothing is written to disk.

Temporary data storage with TTL

Extracted text is cached briefly in Redis with a short TTL and deleted automatically post-processing.

Flexible authentication

Supports Google OAuth 2.0 and email/password authentication using Passport.js.


Data Flow & Privacy Model

User privacy and data security are central to Juris AI's architecture.

  1. 1

    Authentication

    User securely logs in via Google OAuth or email/password.

  2. 2

    File upload

    User uploads a legal contract (PDF or DOCX) through the frontend.

  3. 3

    Text extraction & temporary storage

    Backend extracts raw text from the document. Text is stored temporarily in Redis with a short TTL; the original file is immediately discarded.

  4. 4

    AI analysis

    Extracted text is sent to the Gemini API for summarization and insights.

  5. 5

    Result delivery

    AI-generated summaries, highlighted clauses, and negotiation insights are returned to the user dashboard.

  6. 6

    Automatic data deletion

    Redis entries are deleted immediately after successful processing.

Ephemeral by design

Documents are never persisted: in-memory file handling plus Redis TTL as the only intermediate store means there is no stored corpus of user contracts to secure, leak, or subpoena.


Outcome

Juris AI demonstrates a privacy-first, AI-driven document analysis system, combining secure file handling, ephemeral data storage, and structured AI outputs to make legal contracts more accessible and understandable.