AI Engineer · Bengaluru · Multi-Agent Systems & Production RAG
Production RAG, stateful agent systems, and evaluated LLM backends.
Ahad Ahmad Khan — AI Engineer at Capgemini. I build event-driven multi-agent platforms, FastMCP tool ecosystems, and hybrid retrieval pipelines across Google Cloud and Azure.

01 / Featured System
meridian.ahad.worksMeridian: Agentic Orchestration & Corrective RAG Server
Self-contained FastAPI and LangGraph 1.2 agent server with Corrective RAG (CRAG) query rewriting, hybrid PostgreSQL tsvector BM25 + pgvector RRF retrieval, <15ms cosine semantic caching, FastMCP tool discovery, Postgres-checkpointed HITL resume flows, guardrails, and automated RAGAS evaluation.
02 / Selected Work
All systemsMiA-RAG: Mindscape-Aware Retrieval-Augmented Generation
Local reproduction of Mindscape-Aware RAG (arXiv:2512.17220) improving retrieval accuracy by +25% over standard RAG on NarrativeQA using INT4-quantized LoRA-adapted MiA-Emb-8B, Qwen2.5-14B-Instruct via Ollama, 3-channel ChromaDB + BM25 + RRF search, and a Streamlit LLM-as-a-judge evaluation UI.
Document Intelligence RAG
Hybrid enterprise RAG pipeline on Azure AI Search (BM25 + dense vector + RRF + semantic reranking) with Cosmos DB session state over 5,000+ documents (10K+ pages) and an async FastAPI service handling 1,000+ daily requests with page-grounded citations.
Docsmelt: Client-Side WebAssembly Document Converter
100% client-side document-to-Markdown converter running directly in the browser via WebAssembly—transforming PDF, DOCX, PPTX, and XLSX files into clean Markdown for LLM ingestion with zero server uploads.
IT Access Provisioning Automation
Reference LangGraph StateGraph pipeline for automated IT access ticket triage and provisioning. Features a dual-mode classifier (LLM + Regex fallback), human-in-the-loop approval via interrupt/resume, real-time SSE streaming, FastMCP tool execution, and PostgresSaver checkpointing for audit trails.
03 / Core Stack
Agentic & Protocols
- Google ADK
- LangGraph
- AutoGen (AG2)
- FastMCP / MCP
- HITL Interrupts
- Structured Outputs
Retrieval & Ingestion
- Hybrid BM25 + RRF
- Corrective RAG
- pgvector & ChromaDB
- Vertex AI Search
- Azure AI Search
- Document AI OCR
Evals & Security
- DeepEval & RAGAS
- Golden-Set CI Gates
- OAuth2 / OIDC (JWKS)
- PostgreSQL RBAC / RLS
- Prompt & PII Guardrails
- OpenTelemetry
Backend, Cloud & Serving
- Python (AsyncIO / Pydantic v2)
- FastAPI & SSE Replay
- Cloud Run & Pub/Sub
- Firestore & Cloud SQL
- Docker & Terraform
- Ollama & vLLM (INT4 LoRA)
04 / Latest Writing
All essaysInside Meridian: Corrective RAG, pgvector RRF, and <15ms Semantic Caching
How Meridian pairs a LangGraph 1.2 Corrective RAG loop with PostgreSQL tsvector + pgvector RRF fusion, cosine semantic caching, FastMCP tool discovery, guardrails, and automated RAGAS evaluation.
Streaming LangGraph state updates to the browser in real time
WebSockets add complexity you don't need for agent telemetry. An async FastAPI generator and the browser's native EventSource API is 30 lines of code that actually works.
We stopped writing custom tool schemas. We use MCP now.
Every AI agent team eventually writes the same glue code: a tool registry, a schema validator, a context injector. Model Context Protocol replaces all of it with a standard your agent runtime already speaks.