Skip to content

$ whoami

Harshith P Raju

Agentic AI · Document Extraction · Search

Senior Staff Engineer with 5+ years in Python. I build AI systems that read legal filings and answer questions about them: agentic Q&A with verified citations, document extraction pipelines, and hybrid search over ~2M document chunks.

↓ scroll

$ cat about.md

About

I'm a Python engineer with 5+ years of experience. For the last few years I've built AI systems that read legal filings and answer questions about them. At Exlitem I built the LangGraph agent behind our expert-witness Q&A, the pipelines that pull and extract filings from DocketAlarm and LexisNexis, and the hybrid vector + keyword search over about 2M document chunks.

I spend most of my time on what makes LLM features hold up in production: citation checks, evals, retrieval latency, and knowing what each answer cost. Outside work I benchmark the tools I depend on, most recently 8 PDF extractors on 27 documents, and write up what I find.

$ ls skills/

Skills

AI & LLMs

  • LangGraph
  • RAG
  • Agents & tool use
  • MCP
  • Evals
  • Prompt management
  • Langfuse
  • OpenRouter
  • AWS Bedrock
  • LangChain
  • spaCy
  • Claude Code

Extraction & Data

  • Playwright
  • Selenium
  • BeautifulSoup
  • Tesseract OCR
  • PyMuPDF
  • pypdf
  • Docling
  • rapidfuzz
  • Apache Airflow
  • Celery
  • ARQ

Search

  • pgvector (HNSW)
  • Postgres full-text search
  • Elasticsearch (BM25, kNN, hybrid/RRF)
  • Re-ranking

Backend

  • Python
  • FastAPI
  • Django REST Framework
  • Flask
  • SQLAlchemy
  • PostgreSQL
  • MySQL
  • Redis
  • WebSockets
  • SSE

Cloud & DevOps

  • AWS (EC2, ECS Fargate, Lambda, S3, SQS, SES, RDS, Secrets Manager, CloudFront)
  • Terraform
  • Docker
  • GitHub Actions

Frontend

  • TypeScript
  • Next.js
  • React
  • Vue.js

$ ls -la projects/

Projects

PDF Extraction Benchmark featured

Which local PDF extractor should feed a RAG pipeline? 8 tools, 27 documents of 1 to 487 pages.

Problem
Tables, scanned pages and charts each break a different set of PDF extractors, and table-structure scores alone do not say which tool gives the best retrieval downstream.
Approach
Benchmarked 8 local extractors (PyMuPDF, PyMuPDF4LLM, pdfplumber, Tesseract, EasyOCR, Docling, Marker, MinerU) on 27 documents across 4 difficulty tiers, scoring text-layer agreement, table structure (TEDS), OCR character error rate, recovered chart facts, time per page, peak memory, and retrieval hit@5 over 233 questions through a bge-large embedder and bge-reranker cross-encoder.
Outcome
Docling scored best on real tables (TEDS 0.83) and Tesseract on scans, while plain PyMuPDF text beat the table-aware tools on table questions (hit@5 0.82 vs 0.60–0.66).
  • Python
  • PyMuPDF
  • Docling
  • Tesseract
  • MinerU
  • Marker
  • bge-reranker

gh-codepilot featured

Self-hosted dashboard for open PRs and issues that launches Claude Code from any PR

Problem
Tracking PR and issue activity across many repos meant constant context-switching between GitHub tabs, with no single place to review and act on changes.
Approach
Built a self-hosted dashboard that polls GitHub via the CLI and shows every open PR and issue across repos with CI and review status at a glance. One click opens a Claude Code session scoped to that PR or issue.
Outcome
A single place for cross-repo review with one-click AI sessions and resumable history, installable as a PWA.
  • Python
  • Flask
  • JavaScript
  • PWA
  • GitHub CLI
  • Claude Code

More on GitHub ↗, and more writing on Medium ↗ and dev.to ↗.

$ git log --oneline experience

Experience

  1. Senior Staff Engineer · Exlitem

    Dec 2022 — Present

    • Built hybrid vector + keyword retrieval with re-ranking over ~2M document chunks, cutting query time from 27–38 s (cold cache) to under 250 ms and quadrupling embedding throughput.
    • Built the Elasticsearch expert search and grew it into hybrid BM25 + kNN search with NER-based query understanding, then upgraded it to Elasticsearch 9 and made indexing about 10× faster.
    • Built and shipped a LangGraph agent that answers attorneys' questions about expert witnesses from their case history. It cites its sources, verifies every quote, and abstains when the evidence is thin: 133 of 135 citations verified on a production benchmark.
    • Built an eval workbench that replays the production extraction pipeline on sets of up to 100 case–expert pairs, scoring extracted challenges, outcomes and grounds, fact recall, summaries and same-name identity checks. A-vs-B run comparisons show what each prompt or model change fixed and broke, with a cost estimate before every run.
    • Ran 13 managed prompts on OpenRouter and AWS Bedrock with prompt caching and daily cost reconciliation. Provider pinning and reasoning caps cut one model's time to first token from 2–3 minutes to under 10 s.
    • Traced every step of the Q&A agent in Langfuse with grounding scores, and linked Langfuse prompt versions to eval runs so each version is measured before it ships.
    • Built automated monitoring that checks for new court filings every hour and uses LLMs to flag the experts involved.
    • Built PDF extraction for court filings, with OCR fallback for unreadable pages and cleanup that keeps each challenge tied to the right case.
    • Rebuilt case matching across legal data sources, sharply reducing false merges, including a production group that had lumped 70 unrelated cases together.
    • Cut CI time by about 75% and cost per run by about 40%, built zero-downtime deployment tooling on AWS EC2, and reduced peak Celery memory per task by ~80%.
  2. Python Developer · Tertium Technology

    Apr 2021 — Dec 2022

    • Built Selenium scrapers that used targeted Google searches to find company profiles on ZoomInfo and similar sites, then parsed the pages with BeautifulSoup and saved the data to MySQL.
    • Kept scrapers running through press-and-hold CAPTCHAs and IP blocks, first by automating the challenge and later with VPN rotation.
    • Ran scraping jobs across ~15 servers with a queue-based controller that deployed tasks, moved files over SSH (paramiko) and collected the results, handling input batches of 40k+ records.
    • Wrote an email-verification tool that checks MX records and runs SMTP handshakes to separate real addresses from dead ones.

$ ./contact.sh

Get in touch

Open to roles and interesting problems in agentic AI, document extraction, search, and LLM evals. The fastest way to reach me is email.