📡 MCP Radar

Nikhil-creat/modelroute

Agentic LLM router that sends each request to a LoRA-tuned small model or a larger one by confidence, cutting cost and latency without losing quality. LangGraph, RAG, CNN, Groq and Gemini, with PII an

⭐ 3 stars
⑂ 0 forks
Python
momentum ▲ 5.0
created 2026-10-21
on radar since 2026-10-24
agentic-aiananthacharysriramojucnnfastapifine-tuninggeminigroqlanggraphllm-routerllmopsloramcpmodel-routingnikhilcharysriramojuprompt-injectionpytorchqdrantqloraragsemantic-cache
View on GitHub ↗

About modelroute

ModelRoute: Smaller Models. Bigger Impact. AI Project 5 by Nikhil Chary Sriramoju (GitHub · LinkedIn)

A working LLM routing system. A trained classifier predicts whether a support request needs a large model; easy requests go to a small, cheap model and hard ones to a larger one. Answers are grounded with RAG, near-duplicates are cached, PII and prompt injection are guarded, weak answers escalate, and every request is logged so cost, latency and fallback rate are measured, not guessed.

Quick start (about 2 minutes, no API keys needed)

Open http://localhost:8000 for the site wired to the live API, or /docs for the OpenAPI page. For real answers, copy .env.example to .env, add free Groq and Gemini keys and drop LLMMODE=mock. Without keys the responses are labelled provider: mock (extractive answers from the knowledge base).

How a request flows guard (injection block, PII redaction) → semantic cache → RAG (TF-IDF over kb/) → router (p(small is enough) vs per-mode threshold) → LLM (Groq 8B or Gemini, with failover and circuit breaker) → judge (weak answer escalates to the large model) → human review queue for uncertain cases → SQLite log. Each response includes a trace of these steps.

API Endpoint Purpose ------ POST /route {text, mode: fastcostquality, visualcomplexity?} returns answer, model, provider, cost, trace GET /stats Real request count, cost saving vs always-large, latency, fallback and cache rates GET /review, POST /feedback Human-in-the-loop queue and ratings GET /health, GET /config Status, modes and prices

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/Nikhil-creat--modelroute.html)

Related MCP servers

Nikhil-creat/cloudpulse-ai

Agentic multi-cloud FinOps, security auto-remediation and AI observability platform. FastAPI + LangGraph agent swarm, corrective RAG (Qdrant), PyTorch CNN anomaly detection, Groq + Gemini LLM gateway,

⭐ 3Python
Nikhil-creat/deepoptima

Autonomous neural architecture search (NAS) platform: NSGA-II evolution of CNN/ViT designs, distributed GPU worker mesh, agentic Groq + Gemini swarm, MCP server, Wasm sandbox, mTLS. FastAPI + PyTorch

⭐ 3TypeScript
Nikhil-creat/cloudpuls

AI workspace on Cloudflare Workers: build and publish apps from a prompt, generate and edit images, research with sources, compare Groq and Gemini with live streaming, end-to-end encrypted sync, tasks

⭐ 3JavaScript
SujalXplores/Agent-K

Code-enforced incident-response agent that investigates SigNoz alerts, publishes evidence-backed root-cause claims, and gates every action behind a safety policy. Built for Agents of SigNoz hackathon.

⭐ 3Python
burhan-mujahid/precedent

Turn how your team already works into rules your AI agents follow - mined from team chat, approved by a person, enforced by deterministic gates, kept true by evals and drift checks.

⭐ 3Python
java-ai-in-action/framework-compare

Spring AI vs LangChain4j vs SAA 三框架同台对比(配套篇2)

⭐ 4Java

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.