I'm a backend engineer with 5+ years of building production APIs and services in
Node.js, TypeScript, NestJS, PostgreSQL and AWS, mostly in fintech and insurance. I care about API
design and performance: finding why something is slow, and making it fast without making it fragile.
Today I'm at Equabli, working on debt-portfolio APIs over million-row PostgreSQL
tables and on application security. I also build with AI coding agents, inside guardrails I
designed myself. More on that in AI Workflow.
I hold an MCA from Graphic Era Hill University and a BCA from MJP Rohilkhand University.
Rebuilt a campaign API on million-row PostgreSQL tables as a single CTE query, so debt IDs never leave the database: latency from 30s+ to under 1s for 100K-debt campaigns.
Cut pagination from 14s+ to 1.5s on a 1.1M-debt portfolio with a separate count API, and made count queries up to 2.7x faster by removing join fan-out.
Traced a 19s production API to an O(n²) build that blocked Node's event loop for every request; a linear-time rewrite brought it to 2.5s.
Led VAPT remediation across 5 services: object-level authorization against IDOR on PII and loan balances, RS256 JWT and SSO on 13 open routes, Zod validation against stored XSS.
Built a guarded AI coding-agent workflow across 7 repos, with 160 permission rules that keep agents away from git writes and customer data.
Turned real issues from open-source repos such as AWS Lambda into agentic coding tasks for the SWE-bench benchmark, with problem statements, requirements and TypeScript interface contracts.
Built task-specific scoring rubrics across functional, robustness and code-style dimensions, used by judge models to grade AI-generated solutions.
Built a fault-tolerant post-payment document pipeline (Lambda, SQS, webhooks) issuing 7 document types for thousands of policies a day, with exponential backoff and jitter to protect downstream services.
Cut on-call debugging of policy sync failures from 8 hours to under 15 minutes with a reconciliation service joining 100K+ records across 4 internal systems via parallel batched queries.
Owned the backend of a new OTM mandate payment method (Razorpay, PayU) that blocks the premium in the customer's account and debits it only after policy approval.
Replaced a slow vendor CRM with an in-house backend (Node.js, MongoDB) as the sole backend engineer, so features for thousands of agents shipped without vendor delays. Mentored 2 junior engineers.
Designed a multi-tier cache (Redis, then MongoDB with a 7-day TTL) in front of the Vaahan and CKYC government APIs: 80% fewer Vaahan calls and lookups from 3s to 500ms, even during upstream outages.
Node.js
TypeScript
MongoDB
Redis
Mar 2021 — Feb 2023
Jr. Node.js Engineer · Henceforth Solutions
Promoted from intern · Mohali
Shipped backends for 5+ products end to end, including a ride-hailing app with 1 lakh monthly active users, built on Redis pub/sub fan-out across horizontally scaled WebSocket servers for live location, matching and chat.
I build with AI coding agents inside guardrails, and I've written the tests that grade them.
Guarded agent workflow
Equabli · 7 repos
Plan
Test
Review
Simplify
Agents plan changes, write and run tests, review the diff and simplify it, across 7 repos. A pre-execution hook and 160 permission rules block git writes and database access, so agents never touch customer data.
Claude Code
Cursor
Evaluating coding agents
Mercor · SWE-bench
Built agentic coding tasks from real open-source issues, defined the TypeScript interface contracts a solution must meet, and wrote the rubrics judge models use to score AI-generated fixes on function, robustness and style.
Evaluating my own AI
This site
The assistant on this page is held to the same standard. An eval suite asks it rubric-checked questions (facts, made-up-skill traps, prompt-injection attempts, citations, JD analysis) and a separate judge model grades the answers.
Projects
AI Portfolio Assistant
Live on this page
A recruiter-facing assistant that answers questions about my work with verifiable sources and maps any
job description to evidence from my experience. A chatbot that guesses is worse than none, so I built
it like a production service: grounded answers, scores computed in code, safe streaming, and an eval
suite that grades it before every release.
Eval cases passed
32/32
Invented facts
0
Median first token
1.2s
Unit tests
18
ValidateZod, origin allowlist
RetrieveGemini tool calls
Verifyserver-side citations
StreamSSE, retry + fallback
Key decisions
Retrieval through tools, not prompt stuffing. The model sees only an index of my profile and must fetch sections through function calls. Sources come from what it actually fetched, so it can't cite something it never read. Trade-off: one extra model round-trip per answer.
The model classifies; code decides. In JD matching, Gemini labels each requirement as a match, partial or gap. The server rejects any claim without a real cited section and computes the fit score itself, so the number is reproducible and explainable.
Retries that never duplicate text. Transient failures retry with exponential backoff and jitter, then fall back to a second model, but only before the first token streams. Each request is bounded by a 15s timeout and a 40s overall deadline.
Evaluated like a product, not a demo. 32 cases cover facts, made-up-skill traps, prompt injection, page actions and JD analysis, graded by deterministic checks plus a separate judge model. The suite caught two real bugs before launch: timeouts that never retried, and page navigation that answered without sources.
Next: per-visitor rate limiting using my token-bucket limiter, and running the eval suite in CI on every push.
A token-bucket rate limiter for horizontally scaled services. Lua scripts run multi-step updates atomically in a single Redis round-trip, so instances never race. Chaos-tested on Azure: Autocannon load across Docker containers while killing replicas mid-test to confirm correctness during partial failures.