# Naman Kundra > Full-stack and AI systems engineer. Agents you can trust in production, distributed systems that survive failure, and the products around them. ECE @ Thapar Institute. Open to internships and full-time roles. Email: naman@namankundra.com ## Links - GitHub: https://github.com/naman777 - LinkedIn: https://www.linkedin.com/in/naman-kundra-850209281/ ## Flagship projects ### Nightshift: An AI on-call engineer that survives its own crashes. - Area: Multi-agent AI · Reliability - Why: When an alert fires at 3 a.m., the first hour goes into correlating metrics, logs and deploys by hand. I wanted an investigator that does that legwork, backs every claim with evidence, and can never take a risky action without a human. - How: A commander agent plans hypotheses and hands one precise question to each of four specialists (metrics, logs, changes, code). They work in parallel and write to an evidence board. Risky fixes go through a trust gate. The whole investigation is a Temporal workflow, so killing the worker mid-incident just resumes it, with no repeated LLM calls. It was also onboarded onto real Linux hosts, including an unmodified WordPress stack, with auto-discovered service graphs. - Results: 96% root-cause accuracy on held-out incidents (real LLM); 0% unsafe actions across every run; 100% claims grounded in evidence; 50 injected production failures in the public benchmark, 190+ tests in CI - Stack: Python, Temporal, Multi-agent LLMs, Next.js, Loki, Linux - Live demo: https://nightshift.namankundra.com - Source: https://github.com/naman777/nightshift ### LogLens: A log-intelligence model, trained from scratch, that runs on a laptop CPU. - Area: ML from scratch · Observability - Why: An incident produces thousands of log lines, and most of them are noise. Sending all of it to an LLM is slow and expensive. LogLens flags the incident window and returns just the handful of lines that explain it, with zero LLM API calls. - How: Logs are parsed, masked (IPs, paths, durations) and BPE-tokenized. A 33.6M-parameter line encoder pretrained on 14 log systems feeds a window model with anomaly and per-line suspicion heads. It is exported to int8 ONNX with an embedding cache, and exposed as a CLI, an HTTP API and an agent tool. - Results: 140× fewer tokens for an on-call agent to read; 0.94 root-cause Recall@5 (vs 0.17 random); 0.954 BGL anomaly F1 (vs 0.545 baseline); 37.5 MB int8 ONNX model, CPU-only - Caveat: Root-cause numbers are on synthetic lab incidents. The repo documents where it fails, including zero-shot transfer. - Stack: PyTorch, Transformers, ONNX Runtime, FastAPI, Python - Source: https://github.com/naman777/loglens ### Fathom: Chat with your documents, and see exactly where every answer came from. - Area: RAG · Agents · Evaluation - Why: Most "chat with your PDF" demos can't tell you where an answer came from, or whether retrieval works at all. Fathom cites the exact passages, streams its reasoning trace, and ships with an eval harness, so quality is measured, not assumed. - How: Hybrid retrieval (Postgres full-text + pgvector, fused with RRF) is followed by an LLM reranker. An agent loop splits multi-part questions, searches in parallel, checks whether the evidence is enough, and follows up once if it isn't. Answers stream over SSE with citation chips. It has per-IP rate limits and an injection scan on ingest. - Results: 92% answer accuracy on real docs (IETF RFCs), under 2% unsupported claims; 4× multi-part full-hit with the agent loop (0.16 → 0.64); 92 golden questions in the eval harness; $0.0009 average cost per question, live - Stack: FastAPI, Postgres + pgvector, Next.js, OpenAI, SSE - Live demo: https://fathom.namankundra.com - Source: https://github.com/naman777/Fathom ### Kosh: A payments core whose ledger stays balanced while you kill its processes. - Area: Payments · Distributed systems - Why: Payment systems break in the gaps: a client retries, the bank times out, a process dies between two writes. I wanted a payments core where none of that can double-capture a payment, lose an event or push a merchant balance below zero, and tests that try hard to prove otherwise. - How: Every POST is idempotent through Stripe-style atomic phases with fenced leases, so a retry after a crash resumes from its recovery point. A payment's state change, its double-entry ledger entry (integer paise, append-only by trigger) and its outbox event commit in one Postgres transaction. A worker chases every answer the simulated bank and UPI switch still owe, auto-refunds late successes, pays merchants on T+1 and reconciles the bank's daily file. A relay and a dispatcher deliver HMAC-signed webhooks through Redpanda. In the live failure lab, visitors SIGKILL any process or break the bank while 11 SQL invariants are re-checked every 5 s. - Results: 10000 simulation seeds with crashes and bank faults, 0 invariant violations; 11 SQL invariants checked after every test and every simulation step; 9× capture throughput from sharding hot ledger accounts (p99 734 → 27 ms); ~300 sales/s sustained through the API (~900 req/s), 0% errors - Caveat: Measured on one laptop (i5-13450HX, Postgres 16 in Docker Desktop, fsync on). The bank, UPI switch and money are simulated. - Stack: Go, PostgreSQL, Redpanda (Kafka), Prometheus, Grafana, Next.js, Docker, k6 - Live demo: https://kosh.namankundra.com - Live Grafana: https://kosh.namankundra.com/grafana/d/kosh/kosh - Source: https://github.com/naman777/kosh ### Foreman: A fault-tolerant distributed job scheduler you can try live. - Area: Distributed systems - Why: I wanted to understand what really happens inside a scheduler: leasing work, heartbeats, retries, timeouts, and what to do when a worker dies halfway through a job. So I built one and put it on the public internet. - How: A TypeScript coordinator schedules jobs with Redis locks and tracks workers by heartbeat. Workers run each job in its own Docker container, upload /output to S3-compatible storage, and stream status over WebSocket to a Next.js dashboard. Visitors can run guided jobs without an account; the public API is locked to fixed scenarios. - Results: 2.4 s median time to start a job in production; 5 guided failure scenarios, public; 41 automated tests, run in CI; 0 sign-ups needed to try it - Stack: TypeScript, Node.js, PostgreSQL, Redis, Docker, MinIO, WebSockets, GCP - Live demo: https://foreman.namankundra.com - Source: https://github.com/naman777/Foreman ### MeshPay: A payment mesh simulator where money settles exactly once, even offline. - Area: Distributed systems · Cryptography - Why: Payments assume everyone is online. I wanted to see what it takes for a signed payment to hop across offline phones, reach the internet through whichever bridge gets there first, and still settle exactly once when several bridges deliver the same packet. - How: The browser signs each payment with a per-user Ed25519 key. The server encrypts it (RSA-OAEP + AES-256-GCM) and queues it on a simulated five-device mesh. Gossip rounds copy packets one hop at a time, with a TTL and a hash-chain hop proof. Two bridges upload to a settlement engine that takes a row lock in PostgreSQL and rejects duplicates by ciphertext hash and sender nonce. A failure lab injects seeded packet loss, partitions, delays and bridge outages. - Results: 1 settlement when 6 processes deliver the same payment at once; 4 failure modes it recovers from: loss, partition, delay, outage; 2 gossip rounds to reach both bridges; ₹0 real money moved; demo balances only - Caveat: A sandbox: Bluetooth and device connectivity are simulated, and there is no bank or UPI integration. - Stack: TypeScript, Next.js, PostgreSQL, SQLite, Ed25519, Zod - Live demo: https://meshpay.namankundra.com - Source: https://github.com/naman777/meshpay ### C++ Load Balancer: An epoll TCP/HTTP load balancer in C++17, tested at 10,000 concurrent connections. - Area: Systems · Networking - Why: To learn networking below the framework layer: raw sockets, thread pools, and the real trade-offs between balancing algorithms. It later became the first real host Nightshift was tested against. - How: Each worker owns an edge-triggered epoll loop and a SO_REUSEPORT listener, accepting and proxying thousands of connections with non-blocking I/O and 64 KB buffers per direction for backpressure. Backend selection and reservation share one mutex across least-connections, round-robin, IP-hash and Rendezvous hashing. Health checks run every 5 s, stats stream over SSE, and SIGHUP reloads the algorithm and weights live. - Results: 33.9K requests/s at 10K concurrent connections (GET /); 10K concurrent connections with 4 epoll workers; ~31× throughput vs. thread pool at 500 connections, 100 ms backend delay; 2–6 MB RSS at 10K connections, 7 threads and 20K open fds - Caveat: Measured on Ubuntu 24.04 / WSL2 loopback (16 logical cores), with wrk and 3 backends sharing the machine; 15 s runs with Connection: close. Slow-backend throughput rose from 157 to 4,873 req/s at 500 connections. A backend crash caused read errors in the 5K-connection run. - Stack: C++17, Linux epoll, POSIX sockets, Threads, HTTP, Next.js dashboard - Live demo: https://load-balancer-cpp.vercel.app - Source: https://github.com/naman777/Load-Balancer-CPP ## Other projects - [Operator](https://github.com/naman777/operator): A personal work-execution agent. It analyses job postings against your own resume evidence, drafts cited applications, and waits for human approval before any action. Result: 40-case regression suite, including prompt-injection cases. Stack: Python, Temporal, MCP, Next.js. - [HirePrism](https://hireprism-naman.streamlit.app): Placement intelligence over 654 real campus offers: a DuckDB/Parquet pipeline, anomaly detectors, and a LangGraph agent that answers questions in plain English. Result: 305 tests · 93% coverage · 8 data-backed findings. Stack: DuckDB, LangGraph, Streamlit. - [LawVista](https://lawvista.namankundra.com): Legal research platform built for the Smart India Hackathon finals: RAG legal chat, document analysis, statute identification and case-outcome prediction. Result: Built for SIH 2024 finals (top 2.7% nationally). Stack: React, Node.js, Django, Pinecone. - [Examina](https://exam-portal-next-js-eight.vercel.app): The exam platform used for ACM Thapar recruitment. Redis caching and efficient backend communication keep it fast under heavy concurrent load. Result: 10,000+ concurrent users · sub-200 ms responses. Stack: Next.js, PostgreSQL, Redis. ## Experience ### Software Developer, Oracia.ai (E-VNTS), Mar 2025 – Jul 2026 Remote · Delaware, USA - Built an agentic AI Autopilot with LangGraph and LangChain that adapts to each realtor's style and handled 35% of client conversations on WhatsApp by itself, across 7 agencies and about 1,800 clients. - Engineered AI workflows for lead qualification, property recommendations, data ingestion and follow-ups, cutting manual work by 40% and helping realtors close about 25% more deals a month. - Cut agentic workflow run time from about 30 s to 18 s by running independent tasks in parallel, refining prompts and choosing models per step. - Stack: Python, LangGraph, LangChain, Next.js, Cloudflare Workers What I worked on at Oracia, as a product walkthrough: 1. Command center: A realtor's day starts here: every stage of the funnel, from entry consent and qualification to offers and closing, with the leads that need a human flagged up front. 2. Lead pipeline: Every lead in one table: deal stage, deal amount and an AI-estimated chance of closing, with the next step one click away. The sales panel puts intent, budget and urgency right next to the live chat. 3. Conversation intelligence: While an agent chats with a client, Oracia reads the conversation: buyer emotion, sale stage and deal cycle, plus upcoming and past steps extracted automatically. Ask it anything, like a property's HOA fees, and it answers from the deal's context. 4. Autopilot: Switch Autopilot on and the AI agent runs the conversation itself: it maps out possible conversation paths, reasons about which one moves the deal forward, sends curated listings with photos, then waits for the client and adapts to what they say. 5. Copilot & deal insights: In chat mode the human stays in control and Oracia works as a copilot: suggested replies, a live deal score with sentiment and key moments, and actions like sending a listing's photos, which it only does after the agent confirms. 6. Re-engaging cold leads: Leads that went quiet aren't lost. A cold-lead view shows who needs a nudge, Oracia drafts a personalised follow-up for each, and agents schedule re-engagement plans with attempts, timing and templates. ### Software Developer, GoVibe.live (Macaron Ventures), Oct 2024 – Mar 2025 Remote · New Delhi, India - Architected a microservices social platform with Node.js, Kafka, Redis and Kubernetes for 1,000+ users. - Replaced HTTP polling with WebSockets and Kafka queues, cutting message-delivery delay from 2–3 s to 200–500 ms. - Engineered a recommendation engine and social features (stories, content interactions) that increased session duration by 30%. - Stack: Node.js, WebSockets, Kafka, Redis, Kubernetes, Next.js ### Technical Executive, ACM TIET (Association for Computing Machinery), Sep 2023 – Jan 2026 Patiala, India - Led communications for Hacklipse 4.0, a national hackathon with 500+ participants and a ₹2L prize pool. - Managed logistics, sponsorships and a 15-member volunteer team; built the event site with Django. - Formulated 5 AI/ML problem statements with 95% positive feedback. - Stack: Python, Django, AI/ML, Leadership ## Competitive programming (live) - Codeforces (@Naman_18byte): rating 1473, Specialist. Max 1473 · 16 contests. https://codeforces.com/profile/Naman_18byte - LeetCode (@naman_18byte): rating 1832, Top 7.18%. 540 solved · 11 contests. https://leetcode.com/u/naman_18byte - CodeChef (@naman_18byte): rating 1524, 2★. Highest 1524 · 14 contests. https://www.codechef.com/users/naman_18byte - LeetCode: 540 problems solved, 602 submissions and 129 active days in the last year ## Achievements - Smart India Hackathon 2024 Finalist (Top 2.7% nationally): Selected among 1,300 finalist teams out of 49,000+ participants for an AI-based solution. - Merit-Based Scholarship (CGPA 9.08 / 10): Awarded ₹2,00,000+ for ranking in the top 10% of the branch merit list at Thapar Institute. - Hacklipse 4.0 Lead (500+ participants): Led a national hackathon with a ₹2 Lakh prize pool, a 15-member volunteer team and sponsor outreach.