Skip to main content
ahad.works
Ahad Ahmad Khan — AI Engineer

Bengaluru, India · AI Engineer

Ahad Ahmad Khan

AI Engineer with 2+ years of experience shipping production multi-agent platforms, MCP tool ecosystems, and hybrid RAG systems over 5,000+ enterprise documents across Google Cloud and Azure.

01 / Experience

Capgemini

AI Engineer

Dec 2024 – Present

Bengaluru, India

  • Event-Driven Multi-Agent Platform: Co-designed an enterprise document and review automation platform (20+ workflows) using Python, Google ADK, and Vertex AI (Gemini, Claude), cutting manual review time by ~35% by decoupling FastAPI on Cloud Run from Cloud Run Job workers via versioned Firestore contracts (leases, fencing, checkpoints, idempotency) and Cloud Pub/Sub.
  • Streaming API & Observability: Engineered an async FastAPI and Pydantic v2 orchestrator (Hexagonal architecture) with Server-Sent Events (SSE) Last-Event-ID replay and a Firestore + Pub/Sub relay cutting open-stream polling reads by 95% (4 to 0.2 reads/sec), instrumented with OpenTelemetry (Cloud Logging & Cloud Trace) and Pytest/OpenAPI CI gates.
  • Multi-Cloud RAG & Document AI: Built stateless document extraction microservices (PDF, DOCX, PPTX, XLSX OCR, Markdown tables, GCS spill) feeding Vertex AI Search and Document AI; delivered Azure AI Search hybrid RAG (BM25 + dense vector + Cosmos DB sessions) over 5,000+ documents, serving 1,000+ daily FastAPI requests.
  • Enterprise Security & MCP Tooling: Implemented enterprise OAuth2/OIDC authentication (JWKS + RFC 7662 introspection), API gateway policies, and async PostgreSQL-backed RBAC across 22 tested routes; integrated MCP servers for dynamic multi-agent tool discovery, cutting manual data gathering effort by ~50%.
  • Parallel Review Agents & Evals: Shipped a parallel multi-domain document review pipeline pairing Google ADK agents with deterministic Python guardrails and page-verified citations, gated in CI/CD (Docker, GitHub Actions) via DeepEval and RAGAS golden-set evaluations.

02 / Selected Open-Source Systems

Meridian

Visit

Self-contained LangGraph 1.2 Corrective RAG server with PostgreSQL tsvector BM25 + pgvector RRF, <15ms semantic caching, FastMCP tool discovery, Postgres-checkpointed HITL, guardrails, and RAGAS evals.

Read architecture write-up →

MiA-RAG

Visit

Local reproduction of Mindscape-Aware RAG (arXiv:2512.17220) achieving +25% on NarrativeQA with INT4-quantized LoRA MiA-Emb-8B, Qwen2.5-14B-Instruct via Ollama, and 3-channel ChromaDB + BM25 + RRF search.

Read architecture write-up →

Docsmelt

Visit

100% client-side document-to-Markdown converter running directly in the browser via WebAssembly for PDF, DOCX, PPTX, and XLSX with zero server uploads.

Read architecture write-up →

Workspace Mirror Skill

Visit

Local SQLite and JSONL session mirror plus standalone offline HTML viewer for Google Antigravity IDE transcripts and artifacts.

03 / Technical Stack

Languages & Backend

Python (AsyncIO, Pydantic v2, Type Hints)SQLFastAPIREST APIsMicroservicesServer-Sent Events (SSE)WebSocketsRedisHexagonal Architecture

Agentic AI & LLMs

Multi-Agent SystemsGoogle ADKLangGraphLangChainAutoGen (AG2)Model Context Protocol (MCP)FastMCPTool / Function CallingStructured OutputsGuardrailsHuman-in-the-Loop (HITL)LoRA / PEFTINT4 QuantizationOllama

RAG & Search

Hybrid Search (BM25 + Dense Vector + RRF)Corrective / Adaptive RAGSemantic RerankingEmbeddingsVertex AI SearchAzure AI SearchPostgreSQL (pgvector)ChromaDBDocument AI (OCR & Table Extraction)Semantic Caching

Cloud, Data & DevOps

Google Cloud (Cloud Run, Cloud Run Jobs, Pub/Sub, Firestore, Cloud SQL PostgreSQL, GCS, Vertex AI)Microsoft Azure (Azure OpenAI, Cosmos DB, Blob Storage)DockerGitHub Actions CI/CDTerraform

Evals, Security & Observability

DeepEvalRAGASLLM-as-a-JudgeGolden-Set CI GatesOpenTelemetryCloud Trace & Cloud LoggingOAuth2 / OIDC (JWKS, RFC 7662)PostgreSQL RBACPrompt-Injection & PII GuardrailsPytest

04 / Education

B.Tech in Information Technology

GL Bajaj Institute of Technology & Management

2020 – 2024 · Greater Noida, Uttar Pradesh