Skip to content
Home/Projects/ResuPulse
Production SystemCase Study
FLAGSHIP PLATFORM • 2026 -- PRESENT

ResuPulse Architecture

An AI-powered resume analysis platform combining unstructured document processing, seven deterministic scoring engines, and eight parallel LLM specialist agents into an asynchronous high-throughput pipeline.

Next.js 14TypeScriptNode.jsGroq AIBullMQRedisMongoDBAWS EC2Cloudflare
7 Units
Deterministic Engines
TypeScript layout & ATS fact checks
8 Agents
Parallel LLM Agents
Domain-isolated diagnostic prompts
6 Stages
Pipeline Stages
Async BullMQ & Redis SSE DAG
100%
Pre-Inference Privacy
In-memory PII anonymization
The Engineering Challenge

Why Pure LLMs and Simple Regex Both Fail at Resume Analysis

The fundamental architectural dilemma between probabilistic AI hallucinations and rigid regex pattern matchers.

Problem: The Pure LLM Approach

Hallucinations, Cost & Inconsistent Scoring

Passing an entire raw PDF resume to a single LLM prompt results in high token costs, slow latency (15-30s), and volatile scoring variance (the same resume can receive scores varying from 65 to 88 across runs). Single-prompt LLMs also fail to reliably count words, compute margin distributions, or detect precise layout geometry issues.

Problem: The Pure Regex Approach

Zero Semantic Depth & Rigid Keyword Stuffing

Legacy ATS checkers rely solely on keyword matching and regex patterns. They cannot evaluate whether a candidate actually demonstrated engineering leadership versus simply listing a buzzword. They offer no meaningful qualitative advice, no recruiter perspective, and no grounded bullet point rewrites.

Visual Architecture

End-to-End Multi-Agent Dataflow & Queue DAG

How unstructured candidate resumes travel from raw bytes through privacy sanitization, deterministic engines, and parallel agent execution to SSE client delivery.

Pipeline Dataflow ArchitectureTotal Latency: Sub-5s Streaming
STAGE 01PDF Parser
Spatial Ingestion
Geometry bounding boxes, table detection, OCR fallback for scanned pages.
STAGE 02In-Memory
PII Redaction
Zero phone/email/address leaks. All PII tokenized before any external LLM call.
STAGE 03TypeScript
7 Fact Engines
Deterministic metrics: ATS margins, typography, bullet hygiene, skills taxonomy.
STAGE 04BullMQ + Redis
Priority Queuing
Tier-based concurrency lanes and token bucket limiters to prevent API throttling.
STAGE 05Groq Llama 3.3
8 Parallel Agents
Specialized domain prompts evaluating recruiter angles, action plan & rewrites.
STAGE 06SSE + Zod
Real-Time Stream
Client receives live stage progress via SSE, bound into a strict canonical contract.
The Solution

The Hybrid Architecture: 7 Deterministic Engines + 8 Parallel Specialist Agents

Combining mathematical certainty for objective facts with specialized LLM reasoning for qualitative diagnosis.

ResuPulse resolves this dilemma through a decoupled two-layer architecture: first, 7 deterministic engines extract and score hard structural, formatting, and content facts; second, these verified facts are provided as structured context to 8 parallel specialist LLM agents running with strict Zod JSON schema validation.

7 Deterministic Engines (TypeScript)

Zero Hallucinations
ATS Compatibility Engine
Text stream continuity, header/footer bounds, font subsets, section headers.
Structure & Geometry Engine
Page budget, margin balance, font hierarchy, bullet point hygiene.
Skills Verification Engine
Taxonomy mapping, claimed vs demonstrated skills in work experience.
Experience Depth Engine
Tenure analysis, promotion progression, role density, timeline consistency.
Content & Impact Engine
Action verbs, quantifiable metric density, outcome-to-effort balance.
Projects Verification Engine
Architectural proof, repository receipts, technology coherence.
Writing Quality Engine
Passive voice detection, redundant adverbs, filler phrases, sentence cadence.

8 Parallel Specialist Agents (Groq LLM)

Structured Schema
Hero Verdict Agent
Produces overall diagnosis, candidate readiness level, and single most critical fix.
Recruiter Perspective Agent
Models recruiter hesitation points, credibility gaps, and screening questions.
ATS Diagnostics Agent
Deep-dives into parse failures, unmapped text blocks, and OCR discrepancies.
Content Impact Specialist
Generates grounded rewrites highlighting quantifiable achievements.
Skills Gap Specialist
Identifies missing target competencies and structural skill contradictions.
Experience Depth Specialist
Evaluates career trajectory, leadership indicators, and domain seniority.
Projects Architecture Specialist
Verifies technical rigor, architecture depth, and proof of implementation.
Action Plan Orchestrator
Synthesizes high-priority remediation roadmap with verification steps.
Visual Showcase

Production Platform & Analysis Interface

Authentic captures of the multi-dimensional scoring report, interactive resume builder, ATS stream extractor, and job match matrix.

AI Resume Analysis & Multi-Dimensional Report
Click to Expand

AI Resume Analysis & Multi-Dimensional Report

Analysis Report

Comprehensive candidate evaluation with 7-dimension scoring breakdown, ATS compatibility verdict, recruiter perspective, and high-priority remediation roadmap.

Interactive Real-Time Resume Builder
Click to Expand

Interactive Real-Time Resume Builder

Resume Builder

Decoupled 3-axis resume engine featuring 14 typography styles, 19 career categories, and live authentic A4 document rendering.

ATS Parse Diagnostics & Machine Stream
Click to Expand

ATS Parse Diagnostics & Machine Stream

ATS Diagnostics

In-depth ATS parsing test: unclipped spatial text stream extraction, section header detection, font subset verification, and machine readability health.

Compare Job & Requirements Evidence Matrix
Click to Expand

Compare Job & Requirements Evidence Matrix

Job Match

Candidate qualification comparison against target job postings, requirements evidence matching, and recruiter screening likelihood.

Pipeline Mechanics

Detailed Pipeline Execution Stages

In-depth breakdown of how each asynchronous worker processes candidate payloads.

STAGE 01

Document Ingestion & Geometry Analysis

Spatial Parsing & OCR Fallback

Deconstructs unstructured PDF documents using bounding-box spatial geometry, text clustering, and font-weight classification. Detects multi-column rails, irregular tables, and initiates OCR fallback when vector text streams are unreadable.

STAGE 02

Pre-Inference Structural PII Redaction

In-Memory Privacy Filter

Prior to invoking external LLM providers, all candidate phone numbers, personal email addresses, home addresses, and candidate identifiers are scrubbed and anonymized in-memory. Zero sensitive personal identifiers reach inference endpoints.

STAGE 03

Deterministic Fact Extraction

7 Deterministic Scoring Engines

Rules-based TypeScript engines analyze the sanitized document corpus. They calculate factual metrics: page count, margin ratios, metric densities, active/passive verb counts, and skill taxonomy matches with zero hallucination risk.

STAGE 04

Distributed Queuing & Concurrency Control

BullMQ Priority Queues on Redis

Workloads are enqueued into BullMQ priority lanes on AWS ElastiCache Redis. Concurrency limiters and rate-limiting token buckets prevent upstream LLM provider throttling while ensuring fair resource allocation across Free and Pro tiers.

STAGE 05

Parallel Specialist LLM Inference

8 Specialist Agents via Groq

Deterministic facts and sanitized resume sections are dispatched in parallel to 8 domain-specific LLM agents with structured JSON schema contracts. Downstream specialists reason over specific resume aspects concurrently rather than in a single bloated prompt.

STAGE 06

Real-Time Streaming & Canonical Binder

Redis Pub/Sub & Server-Sent Events

Stage progress and agent outputs are streamed to the client in real time via Server-Sent Events (SSE) backed by Redis Pub/Sub. The final orchestrator binds engine facts and specialist verdicts into a strict canonical response contract.

Infrastructure & Reliability

Production Cloud Operations

Architected for zero downtime, strict rate limit compliance, and bounded compute cost.

Compute & Deployment

AWS EC2 • PM2 Cluster

Deployed on AWS EC2 (Mumbai region) running a PM2 process manager cluster with zero-downtime rolling reload. Cloudflare sits in front as an edge proxy, handling SSL, caching, and DDOS mitigation.

Queue & In-Memory State

AWS ElastiCache Redis

ElastiCache Redis powers BullMQ asynchronous worker queues with distinct priority lanes, token-bucket rate limiters for LLM calls, and Redis Pub/Sub for SSE client progress streaming.

Entitlements & Security

Format A Dual-Plane Gating

Server-side field-level access projection (`{ value: T, locked: boolean }`). Free users receive server-blanked locked fields with zero paid data transmitted over the wire, preventing client-side inspection bypass.

System Architecture • Engineering Deep Dive

Explore the Complete Engineering Specifications

Comprehensive system design documentation, multi-agent sequence diagrams, distributed queue state machines, and canonical API schemas are published in the open engineering showcase repository.