Interested in systems reliability, performance engineering, and AI-enabled applications.
I build backend systems where correctness, data isolation, and crash resilience matter. I enjoy working on the layer beneath the application—debugging latency bottlenecks, resolving concurrency races, and building predictable state machines.
- 🎯 Target Roles: Backend Engineer, Platform Engineer, AI/LLM Backend Engineer
- 🛠️ Core Stack: TypeScript · Python · PostgreSQL · Distributed Systems · Real-Time Systems · LLM Systems
- 📍 India · Open to Remote opportunities worldwide
- 📫 LinkedIn · amritraj4work@gmail.com
- Profile before adding infrastructure: Benchmark single-node in-memory structures and relational transactions before reaching for distributed brokers or caching layers.
- Hands-on with unfamiliar codebases: Profile bottlenecks, write reproducible tests, and contribute targeted upstream fixes rather than treating dependencies as black boxes.
I contribute targeted fixes, error handling, and performance improvements to upstream agent harnesses and distributed actor runtimes:
aden-hive/hive — Multi-Agent Harness
Targeted contributions around orchestrator validation, retry feedback, and platform reliability:
- ✅ Merged Upstream:
- Fuzzy Tool Suggestions (#7356): Implemented closest-match suggestions for unknown tool invocations using Python's
difflibto make autonomous agent tool calling resilient to typos.
- Fuzzy Tool Suggestions (#7356): Implemented closest-match suggestions for unknown tool invocations using Python's
- Active Submissions / In Review:
- Validation-Error Retry (#7392): Added structured validation-error feedback to the orchestrator loop to retry model outputs when schema validation fails.
- Windows Path & File Reliability (#7381, #7377): Resolved Windows path normalization issues for MCP servers and added retries for atomic file writes on
PermissionError. - Pipeline Timeout Handling (#7430): Added timeout bounds across sequential node pipelines.
rivet-dev/actors — Stateful Distributed Runtime
Contributions around runner performance, authentication hooks, and protocol handling:
-
Active Submissions / In Review:
-
$O(N) \to O(1)$ Request Lookup (#5635, Issue #5581): Profiled runner tunnel under high concurrency, identified event-loop blocking caused by linear array scanning inrequestToActor, and refactored the lookup to an$O(1)$ Map. -
External JWT/OIDC Verification (#5572): Added JWT verification utility with in-memory JWKS caching for
onAuthlifecycle hooks. - Inspector Protocol Fix (#5596): Fixed missing WebSocket protocol headers for actor inspector client connections.
-
TypeScript · Node.js · React · WebSockets · PostgreSQL · Docker
A deterministic exchange simulator exploring orderbook data structures, fixed-point arithmetic, durable event journaling, crash recovery, and transactional settlement.
-
Measured SkipList Speedup: A controlled 50K-resting-order benchmark reduced cancellation time from 37.5s to 29.8ms by replacing linear order scanning with a SkipList price index and an
$O(1)$ order-ID lookup map. -
Domain Invariants: Implemented strict fixed-point integer arithmetic (
PriceTicks&QuantityLots) to eliminate IEEE-754 floating-point drift, verified across 100K-operation differential tests. -
Crash Recovery & Reconciliation: Implemented durable event journaling with snapshot/replay recovery that survives abrupt
SIGKILLtermination, settling idempotently into an ACID double-entry PostgreSQL ledger with automated 3-way balance reconciliation.
Next.js 15 · PostgreSQL / pgvector (Supabase) · Gemini 2.5 Flash · SSE Streaming
A multi-tenant RAG application with database-enforced workspace isolation, validated tool calling, source citations, streaming responses, and ingestion idempotency.
- Database-Enforced Multi-Tenancy: Workspace isolation and caller authorization are enforced at the database layer inside a PostgreSQL
match_chunksRPC, verifyingauth.uid()membership before executing vector retrieval across a shared HNSW index. - Grounded Responses & Refusal: Retrieval thresholds and system-level rules trigger explicit refusals when relevant workspace context is unavailable, coupled with inline source citations.
- Validated Tool Execution & Idempotency: Schema-validated tool execution for side-effects; enforced SHA-256
content_hashconstraints to guarantee idempotent document ingestion.
React 18 · Vite · TypeScript · Tailwind CSS · Zustand · Zod · Google Gemini
A technical prototype exploring audio transcription UX, structured clinical entity extraction, schema validation, and LLM-assisted workflow orchestration. (Not intended for clinical use.)
- Demonstrates browser-based audio capture, structured extraction into clinical schemas (diagnoses, medications, follow-ups), and a validation-and-retry loop routing Zod errors back to the model for real-time schema correction.
Python · Docker · Cypher · AQL · Stanford SNAP Dataset
A reproducible benchmark evaluating graph database engines (CognoDB Cloud, Neo4j AuraDB, Memgraph Cloud, ArangoDB, FalkorDB) under controlled workloads, standardized datasets, and explicit fairness/measurement caveats.
- Evaluates data ingestion, 1/2/3-hop traversals, aggregations, and concurrent read/write workloads with p50/p95 latency metrics.
- Explicitly documents architectural trade-offs, network-vs-local latency deltas, and resource constraint limitations across tiers.
- Yield Visualizer: Full-stack real-time US Treasury yield curve and 10Y-2Y spread inversion tracker built with Python (FastAPI), WebSockets, and canvas charts.
- FinUI Design System: High-density React component library monorepo (
@amrit_16/core, Storybook 8, Tailwind tokens, tsup) built for financial interfaces. - Financial Data & RBAC API | Swagger Docs: Backend REST API demonstrating role-based access control (Admin/Analyst/Viewer), automated JWT validation, and financial record processing built with NestJS and Prisma.
- Pen-Pulse | Live Demo: Earlier backend project exploring Cloudflare Workers, Prisma Accelerate connection pooling, and shared Zod validation.
Distributed Systems · Backend Architecture · LLM Systems · Real-Time Systems · Reliability & Fault Tolerance · Performance Engineering
