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."
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.97Evaluator 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
|
Real-time LLM safety middleware. Blocks prompt injections, redacts PII, flags hallucinations and toxicity. Drop-in FastAPI proxy for any LLM backend. |
AI-powered terminal-style learning platform with adaptive quizzes, real-time XP tracking, and minimalist B/W dashboard. |
|
Community hub for discovering, sharing, and voting on the best AI prompts โ interactive voting, Google OAuth, real-time updates. |
Reimplemented the NeurIPS 2023 Lion Optimizer with symbolic search engine. Achieved 88.26% accuracy on FashionMNIST โ outperforming AdamW. |
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.
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
CS @ Chinmaya Vishwavidyapeeth ยท Kerala, India ยท 2027





