Open to internships & full-time roles

Naman KundraI build AI agents

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.

LIVECodeforces 1473 SpecialistLeetCode 1832 CodeChef 1524 GitHub 1,064 contributions this year
1,064GitHub contributions this year
540LeetCode problems solved
96%root-cause accuracy, Nightshift
Specialiston Codeforces, live rating 1473

Selected work

Systems I designed, built and measured.

Each one started from a real problem. Each one ships with numbers, and says honestly where those numbers stop.

● nightshift.namankundra.com
Nightshift: Pick an incidentNightshift: Benchmark
01Multi-agent AI · ReliabilityLive

Nightshift

An AI on-call engineer that survives its own crashes.

Why I built it

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.

  1. Alertfires
  2. Commanderplans hypotheses
  3. 4 specialistsmetrics · logs · changes · code
  4. Evidence boardevery claim cited
  5. Trust gatehuman approves fix
How it works

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.

96%root-cause accuracy on held-out incidents (real LLM)
0%unsafe actions across every run
100%claims grounded in evidence
50injected production failures in the public benchmark, 190+ tests in CI
PythonTemporalMulti-agent LLMsNext.jsLokiLinux
$ loglens rank incident.logscanning…
  1. 12:04:01.112apiINFOGET /orders 200 in 41ms0.02
  2. 12:04:01.380authINFOtoken refreshed for session <ID>0.01
  3. 12:04:02.007ordersWARNslow query: SELECT * FROM orders took 2.1s0.61
  4. 12:04:02.215cartINFOcache hit ratio 0.930.03
  5. 12:04:02.540ordersERRORQueuePool limit of size 20 overflow 10 reached0.97
  6. 12:04:02.771apiINFOGET /health 200 in 2ms0.00
  7. 12:04:03.020ordersERRORconnection timed out after 30s waiting for pool0.92
  8. 12:04:03.301paymentsINFOwebhook delivered <UUID>0.02
  9. 12:04:03.644apiERRORGET /orders 503 in 30012ms0.74
  10. 12:04:03.910cartINFOGET /cart 200 in 18ms0.01
Illustration of the CLI output · 37.5 MB int8 model · CPU only
02ML from scratch · Observability

LogLens

A log-intelligence model, trained from scratch, that runs on a laptop CPU.

Why I built it

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.

  1. Raw logs
  2. Parse + mask<IP> <PATH> <NUM>
  3. Line encoder33.6M params
  4. Window model256-line context
  5. Ranked suspectstop-15 lines
How it works

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.

140×fewer tokens for an on-call agent to read
0.94root-cause Recall@5 (vs 0.17 random)
0.954BGL anomaly F1 (vs 0.545 baseline)
37.5 MBint8 ONNX model, CPU-only

Root-cause numbers are on synthetic lab incidents. The repo documents where it fails, including zero-shot transfer.

PyTorchTransformersONNX RuntimeFastAPIPython
● fathom.namankundra.com
Fathom: ChatFathom: Measured resultsFathom: Architecture
03RAG · Agents · EvaluationLive

Fathom

Chat with your documents, and see exactly where every answer came from.

Why I built it

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.

  1. Question
  2. Plannersub-queries
  3. Hybrid searchFTS + pgvector · RRF
  4. Rerank + reflect
  5. Cited answerstreamed
How it works

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.

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)
92golden questions in the eval harness
$0.0009average cost per question, live
FastAPIPostgres + pgvectorNext.jsOpenAISSE
● kosh.namankundra.com
Kosh: Failure labKosh: Grafana
04Payments · Distributed systemsLive

Kosh

A payments core whose ledger stays balanced while you kill its processes.

Why I built it

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.

  1. Idempotent APIatomic phases · leases
  2. One transactionstate · ledger · outbox
  3. Bank + UPI simtimeouts · late callbacks
  4. Workerrefunds · T+1 · recon
  5. WebhooksRedpanda · HMAC
How it works

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.

10,000simulation seeds with crashes and bank faults, 0 invariant violations
11SQL invariants checked after every test and every simulation step
9×capture throughput from sharding hot ledger accounts (p99 734 → 27 ms)
~300sales/s sustained through the API (~900 req/s), 0% errors

Measured on one laptop (i5-13450HX, Postgres 16 in Docker Desktop, fsync on). The bank, UPI switch and money are simulated.

GoPostgreSQLRedpanda (Kafka)PrometheusGrafanaNext.jsDockerk6
05Distributed systemsLive

Foreman

A fault-tolerant distributed job scheduler you can try live.

Why I built it

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.

  1. Submit job
  2. CoordinatorRedis locks · priorities
  3. Workersheartbeat + lease
  4. Docker sandboxtimeouts · retries
  5. ArtifactsS3 · live over WS
How it works

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.

2.4 smedian time to start a job in production
5guided failure scenarios, public
41automated tests, run in CI
0sign-ups needed to try it
TypeScriptNode.jsPostgreSQLRedisDockerMinIOWebSocketsGCP
● meshpay.namankundra.com
MeshPay: OverviewMeshPay: Mesh networkMeshPay: Failure lab
06Distributed systems · CryptographyLive

MeshPay

A payment mesh simulator where money settles exactly once, even offline.

Why I built it

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.

  1. SignEd25519 wallet
  2. EncryptRSA-OAEP · AES-GCM
  3. Gossiprelays · TTL 5
  4. Bridges2 online
  5. Settle oncenonce + hash dedupe
How it works

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.

1settlement when 6 processes deliver the same payment at once
4failure modes it recovers from: loss, partition, delay, outage
2gossip rounds to reach both bridges
₹0real money moved; demo balances only

A sandbox: Bluetooth and device connectivity are simulated, and there is no bank or UPI integration.

TypeScriptNext.jsPostgreSQLSQLiteEd25519Zod
07Systems · NetworkingLive

C++ Load Balancer

An epoll TCP/HTTP load balancer in C++17, tested at 10,000 concurrent connections.

Why I built it

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.

  1. SO_REUSEPORTper-worker listener
  2. epoll4 workers tested
  3. Pick backendlc · rr · ih · rh
  4. Proxynon-blocking I/O
  5. Health + statsHEAD /5 s · SSE
How it works

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.

33.9Krequests/s at 10K concurrent connections (GET /)
10Kconcurrent connections with 4 epoll workers
~31×throughput vs. thread pool at 500 connections, 100 ms backend delay
2–6 MBRSS at 10K connections, 7 threads and 20K open fds

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.

C++17Linux epollPOSIX socketsThreadsHTTPNext.js dashboard

Live stats

Shipping and solving, every week.

These numbers update on their own from GitHub, Codeforces, LeetCode and CodeChef.

GitHub activity

Pulled from github.com/naman777 and refreshed automatically.

1,064contributions, last year
0day streak
58public repos
DecJanFebMarAprMayJunJulAugSepOctNov
Hover a day to see its activityLess More
TypeScript 46%Python 21%JavaScript 15%C++ 6%Verilog 6%Go 2%

LeetCode activity

Daily submissions from leetcode.com/u/naman_18byte, refreshed automatically.

602submissions, last year
129active days
41max streak
DecJanFebMarAprMayJunJulAugSepOctNov
Hover a day to see its activityLess More
540 problems solvedEasy 180Medium 315Hard 45

Experience

Where I've shipped to real users.

Mar 2025 – Jul 2026
Remote · Delaware, USA

Software Developer · Oracia.ai

E-VNTS
  • 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.
PythonLangGraphLangChainNext.jsCloudflare Workers
What I built at Oracia · 6 steps
Oct 2024 – Mar 2025
Remote · New Delhi, India

Software Developer · GoVibe.live

Macaron Ventures
  • 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%.
Node.jsWebSocketsKafkaRedisKubernetesNext.js
Sep 2023 – Jan 2026
Patiala, India

Technical Executive · ACM TIET

Association for Computing Machinery
  • 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.
PythonDjangoAI/MLLeadership
Top 2.7% nationally

Smart India Hackathon 2024 Finalist

Selected among 1,300 finalist teams out of 49,000+ participants for an AI-based solution.

CGPA 9.08 / 10

Merit-Based Scholarship

Awarded ₹2,00,000+ for ranking in the top 10% of the branch merit list at Thapar Institute.

500+ participants

Hacklipse 4.0 Lead

Led a national hackathon with a ₹2 Lakh prize pool, a 15-member volunteer team and sponsor outreach.

Contact

Let's build something together.

Open to internships, full-time roles and interesting collaborations. Or poke around the terminal.

naman@portfolio: ~
naman.sh v2 · type `help` to look around
❯