HR & IT Helpdesk Agent (LangGraph + MCP + RAG) by Ayush Kumar SinghHR & IT Helpdesk Agent (LangGraph + MCP + RAG) by Ayush Kumar Singh

HR & IT Helpdesk Agent (LangGraph + MCP + RAG)

Portfolio project
Ayush Kumar Singh
An internal helpdesk agent that answers employees' HR and IT questions in plain English. Policy questions are answered from company documents with citations (RAG over pgvector). Employee-specific data such as leave balances, laptops and IT tickets comes from Postgres through an MCP server with four read-only tools, so the model never writes SQL. Guardrails block prompt injection (pattern check plus an LLM router), detect system-prompt leaks with a canary token, remove citations that weren't retrieved, fall back instead of guessing, and mask phone numbers, PAN and Aadhaar. Passes all 10 evaluation questions, including injection attempts and an unanswerable question. Stack: Python, LangGraph, MCP, pgvector, Gemini (switchable to Claude or OpenAI), pytest. Code: github.com/Ayush102005/helpdesk-agent

0 likes · 0 views · Nov 22, 2026

HR/IT helpdesk agent: RAG with citations, MCP tools over Postgres, injection and PII guardrails. 10/10 evals.

Tags