Skip to content
View iinaa-eimrit's full-sized avatar
🙂
🙂

Block or report iinaa-eimrit

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
iinaa-eimrit/README.md

Hi, I'm Amrit Raj 👋

Backend / Systems Engineer

I build backend systems and AI infrastructure with a focus on correctness, reliability, performance, and data isolation.

Focus Areas: TypeScript · Python · PostgreSQL · Distributed Systems · Real-Time Systems · LLM Applications
I also contribute to open-source infrastructure, particularly around agent runtimes, execution reliability, authentication, and performance.

📍 India · Open to Backend, Platform & AI Engineering roles
📫 LinkedIn · amritraj4work@gmail.com


🛠️ Open Source Engineering

My strongest external contributions focus on agent harnesses and distributed actor runtimes:

aden-hive/hive — Multi-Agent Harness

Contributed fixes around agent execution reliability, validation, tooling, and cross-platform behavior:

  • ✅ Merged Upstream (#7356): Added nearest-tool suggestions for unknown tool calls using Python's difflib matching to improve agent execution resilience.
  • LLM Self-Correction & Retry (#7392, #7382): Captured structured Pydantic schema validation failures in the orchestrator and fed error reports back into the LLM context for real-time autonomous correction.
  • Fail-Fast Orchestrator Validation (#7395): Added load-time validation for orchestrator output_keys to prevent silent graph execution failures.
  • Cross-Platform Runtime Reliability (#7381, #7377): Resolved Windows path resolution issues for MCP servers and added retry logic for atomic file operations.

rivet-dev/actors — Stateful Distributed Runtime

Contributions around runtime performance, authentication, and WebSocket protocol handling:

  • $O(N) \to O(1)$ Request Lookup (#5635, Issue #5581): Profiled runner tunnel under high concurrency, isolated CPU bottleneck caused by linear array scanning in requestToActor, and refactored to an $O(1)$ Map lookup.
  • External OIDC/JWT Infrastructure (#5572): Added external OIDC and JWT token verification inside onAuth lifecycle hooks with in-memory JWKS public-key caching.
  • Inspector Protocol Fix (#5596): Fixed missing WebSocket protocol headers required by actor inspector client connections.

⚙️ Selected Systems Projects

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 SIGKILL termination, settling idempotently into an ACID double-entry PostgreSQL ledger with automated 3-way balance reconciliation.

🤖 AI Prototypes

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 is enforced at the database layer inside a custom PostgreSQL match_chunks RPC (WHERE dc.workspace_id = target_workspace_id) 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_hash constraints 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 self-healing validation loops routing Zod errors back to the model for real-time schema correction.

🔬 Research & Benchmarking

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.

📦 Other Projects & Earlier Work

  • 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.

🎯 Engineering Interests

Distributed Systems · Backend Architecture · AI Infrastructure · Real-Time Systems · Reliability & Fault Tolerance · Performance Engineering

Pinned Loading

  1. Multi-Workspace-Document-Assistant-RAG-Tool-Calling- Multi-Workspace-Document-Assistant-RAG-Tool-Calling- Public

    Multi-tenant RAG and tool-calling platform with PostgreSQL-enforced workspace isolation, pgvector retrieval, streaming, and observability.

    JavaScript

  2. Stock-Trading-Platform Stock-Trading-Platform Public

    Deterministic exchange simulator exploring SkipList orderbooks, event journaling, crash recovery, and PostgreSQL double-entry settlement.

    TypeScript 1

  3. Graph-Database-Cloud-Benchmarking Graph-Database-Cloud-Benchmarking Public

    Reproducible cross-database benchmark of cloud and self-hosted graph databases using controlled workloads and p50/p95 latency analysis.

    Python

  4. Pen-Pulse Pen-Pulse Public

    Earlier backend exploration using Cloudflare Workers, Prisma Accelerate, and shared Zod schema validation.

    TypeScript 1

  5. AI-Medical-Consultation-Co-pilot-Voice-LLM- AI-Medical-Consultation-Co-pilot-Voice-LLM- Public

    Medical workflow AI prototype exploring audio transcription, schema validation, and structured extraction.

    TypeScript