Hemkesh R

Hemkesh R

I build AI systems that act only on evidence they can trace: on an 8 GB Jetson, and in a bank’s complaint queue.

B.Tech CSE ’27 · Dayananda Sagar University, Bengaluru Edge AI on NVIDIA Jetson Java · Python · LLM systems

The field behind this text is a toy with real rules. A detector sweeps it, and your pointer steers it.This is one still frame of it. The figures the detector covers get track IDs the way SENTINEL’s tracker assigns them: confirmed after two detections, lost when it moves on, retired after 30 processed frames.

Never decides from a stale frame

SENTINEL watches one camera on an 8 GB Jetson. Person detection and tracking, zone rules, incidents in local SQLite and a restart-safe alert outbox all run on the device. Face recognition and a local vision-language model are optional lanes, still under validation. The engineering is in what it refuses to do: act on a result about a frame that is no longer the present.

v2.0.0-beta.1 · experimental pre-release NVIDIA Jetson Orin Nano Super · 8 GB Python · TensorRT · ByteTrack · llama.cpp

SENTINEL replay: scrub through a scripted scene and see each decision the runtime made

Synthetic scene
No new frames. The picture holds its last one.

00.00 s frame 0000

Space play or pause←→ one frameShift+←→ one second[] previous or next eventV camera or field1–5 moments

What the runtime decided at 0.00 s

Video
Occupancy
Incidents

    Runtime events

      What is real here. The courtyard, the people, their paths and their boxes are scripted, from SENTINEL’s project site. Every state beside the picture (confirmation, identity, retention, the incident, stale video, UNKNOWN occupancy) is what the real Sentinel v2 runtime (2.0.0b1, commit d90077b) decided when that scene was run through it with a stand-in camera and stand-in models. No Jetson was involved, so nothing here is a performance figure. The Field view is an illustration.

      Evidence is about a frame, not about now

      Every observation carries its frame’s camera, boot, ingest run and stream epoch, and its age is measured on the monotonic clock from when that frame arrived, never from when a slow model finished. A result may drive a decision only while its stream is live and its age is under its TTL. Change the situation and watch which line of contracts.py decides.

      Since that frame…
      CURRENT

      Port of stream_relation and _assess, src/sentinel/contracts.py at v2.0.0-beta.1.

      Track IDs never cross a reconnect

      A tracker ID is only unique within one stream epoch. A new epoch resets the tracker before anything is tracked, and after a mid-epoch failure new IDs are offset past every ID already used, so identity votes keyed by track can never pass from one person to another.

      tracking/tracker.py

      No tracks is not the same as nobody

      Without a recent detector frame, an empty track list means “not looked”, so occupancy reads UNKNOWN with its reason, not EMPTY. Scrub to the stall in the replay: 1.0 s after the last frame the yard turns UNKNOWN, and 2.0 s after it the video turns STALE.

      runtime.py · _occupancy

      The slowest model never makes the fastest decision

      The detector keeps pace with the stream; face matching and the VLM are slower and run off the critical path. Scene jobs always go first on the shared model worker, and a chat answer is sized to the gap before the next one. Fire or smoke reported by the VLM alone is capped at a warning.

      scene/chat_budget.py · rules/scene_hazard.py

      Abstain rather than guess

      A track becomes KNOWN only after two agreeing face votes. Votes that match nobody make it UNKNOWN, which the dashboard is careful never to call a stranger. A zone rule reads no identity at all: a known person in a restricted zone is still observed.

      identity/state.py · rules/zones.py

      Alerts survive a restart

      An incident and its pending alert are written to SQLite; a worker leases rows, sends outside any transaction, and records the outcome only while it still holds the lease. Delivery is at least once and says so: a retried row is marked ambiguous, never claimed as exactly-once.

      alerts/outbox.py

      Measured on the reference Jetson

      Two sealed device runs whose results are committed to the repository as test fixtures. Every number below is read from those files, and each timeline replays only the events its run recorded.

      A ten-minute tracking diagnostic inside its memory budget

      17 Oct 2026 · trk-20261017T103831Z

      4.27GB peak pressure

      peak, 53% of 7.99 GBguard stop at 4.80 GB

      Before launch
      0.90 GB pressure
      Lowest MemFree
      1.25 GB floor 1.07 GB (1 GiB)
      Guard samples
      3,448 largest gap 0.206 s, limit 0.5 s
      Scene model
      17/17 layers on the GPU
      Ending
      stopped on time, not forced nothing left running

      The day the guard stopped my run, on purpose

      16 Oct 2026 · trk-20261016T100149Z ·

      2.5MB under the floor

      MemFree 1,071,239,168 Bfloor 1,073,741,824 B

      Before launch
      1.37 GB pressure
      Stopped
      88.9 s after launch 18.7 s into the measured window
      Runtime exit
      15.1 s after the stop request, not forced
      Cleanup
      no llama-server or process left behind

      A policy stop, not an out-of-memory crash. The next session added a page-cache drop and a launch-memory check before starting.

      Thousands of tests that need no GPU

      4,224passed in CI

      Hardware libraries load only when a device lane starts, so the whole suite runs on a laptop and in CI under Python 3.10 and 3.12. 78 skipped, on the commit the beta package was built from.

      Release notes, v2.0.0-beta.1 · CI run #20, green

      Why there is no FPS figure here

      v1 reported about 28 FPS, but that was a loop-iteration rate, not throughput, and its detector latency was never logged under v2’s evidence rules. Throughput gets published when a sealed run measures it.

      The LLM drafts.
      The evidence checks.
      A person sends.

      AEGIS lets an LLM draft a bank’s reply, then checks every dollar amount and phone number before a person can send it. A Spring Boot orchestrator chains the steps below, with machine learning only where it earns its place. Follow one complaint through all ten: each runs AEGIS’s own rules in your browser and opens the Java that made the decision.

      v4.0.1 · CI green Java 21 · Spring Boot DistilBERT · pgvector + BM25 Any LLM provider, template fallback

        This runs AEGIS’s deterministic core in your browser: the Java’s rules ported line by line and checked against the compiled original, case by case (49 of 49 identical). Keyword classification, keyword-only retrieval and template drafting are AEGIS’s own fallback paths; production adds DistilBERT, pgvector and an LLM. The first complaint’s draft is a real LLM output, kept in the repository’s regression test.

        Accuracy on complaints the model never saw

        77.3%170 of 220

        A temporal holdout pulled from the live CFPB API after training, stratified across all 11 categories, so it cannot overlap the training data. The weak spot is the debt cluster, a boundary even people argue about.

        eval/cfpb_report.md

        Holding up under load

        ~63requests / s

        p50 303 ms, p95 774 ms, p99 898 ms for classify → compliance → escalation → retrieval, with no LLM or database in the measured path. The rate-limited status endpoint held at p95 12.7 ms and leaked no tracking token. One two-minute k6 run on an M-series MacBook.

        loadtest/k6.js · results in the README

        A regression suite, not an accuracy claim

        0.93escalation F1, 18 cases

        18 deliberately clear-cut cases: 18/18 classified, retrieval 18/18. Retrieval was 17/18 until the citations showed why: the knowledge base had no foreclosure passage. The fix was knowledge, not tuning.

        eval/report.md

        Built with V S Yogeshvar as our Moonshot project for DSU’s NVIDIA RTD 2026 Boot Camp, guided by Dr. K. Vengatesan. Self-hosted and single-tenant: not a certification of regulatory compliance.

        Claims carry their evidence

        Implemented, observed and validated are different claims. This page keeps them apart, and so do the repositories behind it.

        4 verified2 documented1 not claimed

        ClaimEvidenceStatus
        SENTINEL never carries a track ID across a reconnectVerified in code
        Occupancy reads UNKNOWN, not EMPTY, without a recent detector frame and the runtime recording replayed aboveVerified in code and recording
        A ten-minute device run peaked at 4.27 GB memory pressureSealed result, committed as a test fixtureVerified in committed evidence
        4,224 tests pass on the beta’s build commitRelease notes; CI run #20 confirmed greenDocumented, run confirmed
        AEGIS flags invented dollar amounts, phone numbers and template debris, and will not send them without an audited override ; browser port identical on 49 of 49 casesVerified in code
        77.3% accuracy on a temporal holdout; ~63 requests per secondeval/cfpb_report.md; the README’s k6 resultsDocumented, not re-run here
        SENTINEL face recognition and visual chat are production-readyNot claimed: both remain under validationNot claimed

        LexiClear

        Explains a contract in plain language and answers only from your document, with citations. Its tests caught that reciprocal-rank fusion was the wrong fusion for a 40-passage corpus: it discards score magnitude, so an incidental semantic match outranked a decisive lexical one. Replaced with weighted min-max fusion.

        Repository · Live demo · FastAPI, React, Gemini

        HateLens

        Hate-speech detection with bias auditing and human review, deliberately without an LLM: TF-IDF and logistic regression, so every score breaks down into exact feature contributions a reviewer can check.

        Repository · FastAPI, scikit-learn, SQLite

        Election Guide India

        A non-partisan assistant for India’s election process across ten Indian languages, on Gemini and Cloud Translation, deployed on Cloud Run with 62 tests.

        Repository · Node.js, Google Cloud

        Who built this

        Final-year B.Tech Computer Science and Engineering student at Dayananda Sagar University, Bengaluru. I build edge-AI and backend systems, and I am a Systems Engineer trainee at EdgeVerve Systems, an Infosys company.

        Writing

        1. Systems Engineer, EdgeVerve Systems (an Infosys company), Finacle, Pune · incoming
        2. AI/ML model evaluator, Deccan AI · freelance
        3. AEGIS, Moonshot project, NVIDIA × DSU RTD 2026 Boot Camp
        4. SENTINEL with V S Yogeshvar; v2 is our final-year project, guided by Dr. K. Vengatesan
        5. B.Tech CSE, Dayananda Sagar University

        Recognition

        • Google PromptWars Virtual · 209th of 20,469 (top 1.02%, Election Guide India)
        • IEEE CIS & RAS SBC Quizathon 2025 · 3rd place, team Orion’s Codex
        • PromptWars Virtual, Exclusive Edition · 135th of 1,004 (LexiClear)