Albara Hassan

Epiisa Software Engineer Sep 2021 to Jul 2025

Legal RAG and an AI email assistant

At Epiisa I built E-Advokat, a legal AI agent that cites its sources, and the backend of CueLoop, an AI email and calendar assistant.

Outcome

  • Cited answers, to the passage
  • Semantic search over email threads
  • Multi-tenant FastAPI with RBAC

Stack

  • Python
  • FastAPI
  • LangChain
  • ChromaDB
  • OCR
  • OAuth2
  • Google APIs
  • asyncio
  • PostgreSQL
  • MongoDB
Ask me about this

E-Advokat: a legal AI agent

A LangChain and ChromaDB RAG pipeline that answers legal questions with citation-level attribution, so every answer points to the passage it came from. Statutes and court rulings come in through OCR ingestion, and everything is served through FastAPI.

Every answer points to its source

Hover or tap a citation

Question in plain language

  1. 1

    Statute

    Article, paragraph

  2. 2

    Court ruling

    Reasoning, section

  3. 3

    Statute

    Article, paragraph

Illustration with placeholder text. E-Advokat ingests statutes and court rulings through OCR and cites the exact passage behind each answer.

CueLoop: an AI email and calendar assistant

FastAPI services on Google APIs through OAuth2, with LLM draft generation, meeting detection, and embedding-based semantic search over email threads.

The engine underneath

  • An asyncio task engine for minute-level polling and concurrent background jobs across parsing, scheduling and indexing.
  • Secure multi-tenant FastAPI services with PostgreSQL and MongoDB schemas, token-based authentication and RBAC.
  • A dynamic-programming pricing engine that optimizes rental rates from regional usage patterns (Vroomski).
  • CI/CD with Docker Compose and GitHub Actions, pytest coverage, and Next.js frontends where products needed them.

More work

Kinly Senior Backend Engineer Aug 2025 to present

From 20-second endpoints to a 0.5 to 0.7 s p95

I took the slowest endpoints from 20 s to under 2 s, removed every latency spike for ~270 users, and cut slow requests by more than 80%, with no new errors.

  • 20 s to <2 s slowest endpoints
  • −80%+ requests over 3 s
  • 0 p95 spikes over 2 s

Rayna Corp Full Stack Engineer Oct 2025 to May 2026

Database migrations that stopped timing out

I moved TypeORM migrations off an API Gateway endpoint capped at 30 seconds onto a dedicated Lambda with a 15-minute window, run idempotently at three points of the release flow.

  • 30 s to 15 min migration time limit
  • 3 automated run points
  • 1 onboarding email, not 2