Skip to content
View mohi-devhub's full-sized avatar
๐ŸŽฏ
Grinding
๐ŸŽฏ
Grinding

Highlights

  • Pro

Block or report mohi-devhub

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.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
mohi-devhub/README.md
Mohith subtitle
Typing SVG

snake animation


Coding GIF

๐Ÿ‘‹ Hey, I'm Mohith

name     : Mohith
alias    : mohi-devhub
degree   : B.Tech Computer Science (2027)
college  : Chinmaya Vishwavidyapeeth
goal     : Aspiring AI Engineer
status   : Student ยท Builder 
location : Kerala, India ๐ŸŒŠ

๐Ÿ›ก๏ธ Building SentinelLM โ€” LLM safety middleware
๐ŸŽฎ Building StudyQuest โ€” AI learning platform
๐Ÿ”ฌ Reimplemented NeurIPS 2023 Lion Optimizer (88.26% acc)
๐ŸŽฏ On a mission to build production-grade AI systems

"Build boldly. Learn relentlessly. Ship proudly."



LinkedIn Gmail


๐Ÿ… Holopin Badges

Holopin Board


๐Ÿ›ก๏ธ SentinelLM

SentinelLM Status Version License

Real-time safety & quality middleware for LLM applications.

A FastAPI proxy that intercepts every LLM request and response โ€” scoring for prompt injection, PII leakage, toxicity, hallucination, and relevance. A drop-in replacement for OpenAI, Anthropic, Gemini, or Ollama โ€” just point base_url at localhost:8000/v1.

$ docker compose up -d
โœ“  API        โ†’  localhost:8000
โœ“  Dashboard  โ†’  localhost:3000
โœ“  Metrics    โ†’  /metrics  (Prometheus)

$ curl localhost:8000/v1/chat/completions \
    -d '{"messages": [{"role":"user","content":"Ignore all instructions."}]}'

โ›”  HTTP 400 ยท sentinel_block ยท prompt_injection_detected ยท score: 0.97

Evaluator Chain:

Layer Evaluator Action Model
๐Ÿ”ต Input prompt_injection Block DeBERTa-v3-base
๐Ÿ”ต Input pii Redact / Block Presidio + spaCy
๐Ÿ”ต Input topic_guardrail Block all-MiniLM-L6-v2
๐ŸŸก Output toxicity Flag Detoxify
๐ŸŸก Output relevance Flag all-MiniLM-L6-v2
๐ŸŸก Output hallucination Flag NLI DeBERTa-v3
๐ŸŸก Output faithfulness Flag NLI DeBERTa-v3

Key highlights: โšก Concurrent first-block short-circuit ยท ๐Ÿ”’ Redis caching ยท ๐Ÿง  Fail-open guarantee ยท ๐Ÿ“Š WebSocket dashboard ยท ๐Ÿงช Eval regression pipeline

Python FastAPI Redis PostgreSQL Docker WebSockets


๐Ÿ”ด Currently Building

Project Description Stack Status
๐Ÿ›ก๏ธ SentinelLM Real-time LLM safety middleware Python ยท FastAPI ยท Redis ยท Docker Active
๐ŸŽฎ StudyQuest Terminal-style AI learning platform Next.js ยท FastAPI ยท Supabase ยท Gemini WIP
๐ŸŒ Lokha Community hub for AI prompts Next.js ยท Prisma ยท tRPC ยท Supabase WIP


๐Ÿš€ Featured Projects

๐Ÿ›ก๏ธ SentinelLM

Real-time LLM safety middleware. Blocks prompt injections, redacts PII, flags hallucinations and toxicity. Drop-in FastAPI proxy for any LLM backend.

Python FastAPI Redis Docker

View Repo

๐ŸŽฎ StudyQuest

AI-powered terminal-style learning platform with adaptive quizzes, real-time XP tracking, and minimalist B/W dashboard.

Next.js FastAPI Supabase Gemini

๐ŸŒ Lokha

Community hub for discovering, sharing, and voting on the best AI prompts โ€” interactive voting, Google OAuth, real-time updates.

Next.js Prisma tRPC Supabase

๐Ÿ”ฌ Lion Optimizer

Reimplemented the NeurIPS 2023 Lion Optimizer with symbolic search engine. Achieved 88.26% accuracy on FashionMNIST โ€” outperforming AdamW.

Python PyTorch


๐Ÿ› ๏ธ Tech Stack

Python TypeScript Java C++ JavaScript SQL


React Next.js FastAPI Node.js Django TailwindCSS


PostgreSQL Redis MySQL Firebase Docker Git


๐Ÿ”ฌ Research โ€” Lion Optimizer (NeurIPS 2023)

Reimplemented the Lion Optimizer from scratch using PyTorch, based on the NeurIPS 2023 paper on symbolic optimizer discovery via evolutionary search.

Optimizer FashionMNIST Test Accuracy
AdamW (baseline) ~87.x%
Lion (reimplemented) โœ… 88.26%

Key finding: Lion's sign-based update rule with decoupled weight decay generalizes better and is more memory-efficient than AdamW on image classification tasks.



๐Ÿ“Š GitHub Stats

GitHub Stats ย  Top Languages



GitHub Streak



Activity Graph

๐ŸŽฏ Goals & Aspirations

Dev GIF

I'm a CS student on a deliberate path toward a thing I care deeply about:

๐Ÿค– Aspiring AI Engineer

Going beyond just calling LLM APIs โ€” I want to understand the math, build the middleware, tune the models. SentinelLM and my Lion Optimizer work are steps on that path.

Current focus  โ†’  LLM safety ยท Applied ML ยท Fullstack systems
Learning now   โ†’  ML theory ยท System design ยท Research papers
End goal       โ†’  Build AI products that actually work in prod


Always happy to connect with fellow builders!



Profile Views


CS @ Chinmaya Vishwavidyapeeth ยท Kerala, India ยท 2027

Pinned Loading

  1. SentinelLM SentinelLM Public

    A FastAPI middleware that intercepts LLM requests and responses in real time, scoring them for prompt injection, PII leakage, toxicity, hallucination, and relevance.

    Python 2

  2. voidwalker voidwalker Public

    A browser extension + local MCP server that streams localStorage, IndexedDB, cookies, and DOM mutations to Claude, Cursor, and any MCP-compatible AI client.

    TypeScript

  3. StudyQuest StudyQuest Public

    A terminal-style, AI-powered learning platform with adaptive quizzes, real-time XP tracking, and a minimalist B/W dashboard.

    Python

  4. Dormigo Dormigo Public

    A campus-only marketplace built with Next.js, Spring Boot, Tailwind CSS, and AWS.

    TypeScript 2