Mehedi HasanSenior AI/ML EngineerBuilding AI that ships.

I'm Mehedi, a Senior AI/ML & LLM Engineer with 5+ years taking AI products from system design to production: Multi-Agent RAG pipelines, LangGraph DAGs, fault-tolerant LLM gateways, and high-throughput Python backends.

Md Mehedi Hasan — Senior LLM Engineer
Md Mehedi Hasan
Mehedi Hasan
Senior LLM Engineer · MYai Robotics
Multi-Agent DAGs
Hybrid RAG Mesh
LiteLLM Gateway
LangGraph Runtime
Ragas CI/CD
NeMo Guardrails
FastAPI Async
StyleBuzzBD
Qdrant HNSW
MYai Robotics
Distributed AI
OpenTelemetry
Multi-Agent DAGs
Hybrid RAG Mesh
LiteLLM Gateway
LangGraph Runtime
Ragas CI/CD
NeMo Guardrails
FastAPI Async
StyleBuzzBD
Qdrant HNSW
MYai Robotics
Distributed AI
OpenTelemetry
SEC // 01

At a glance

5+ years shipping production AI systems and distributed Python backends across startups, enterprises, and global teams.

0+
Years shipping
Since 2021
0+
Systems shipped
AI, RAG & full-stack
0
Roles & ventures
Senior LLM & Founder
0%
Client satisfaction
30+ global deliveries

ABOUT MEHEDI

Senior AI/LLM Engineer & Systems Architect

Based in Savar, Dhaka, Bangladesh, I hold both an M.Sc. and a B.Sc. in Computer Science & Engineering from Southwest Petroleum University and bring 5+ years of hands-on production AI and backend engineering experience.

My daily engineering focuses on LangGraph multi-agent orchestration, hybrid dense-and-lexical RAG retrieval, and provider-agnostic LLM gateways. Combining Pydantic V2 tool validation, NeMo Guardrails, Ragas CI evaluation gates, and OpenTelemetry tracing, I turn probabilistic language models into dependable enterprise systems.

“Turning probabilistic language models into deterministic, observable, and high-throughput production systems.”

DIRECT SNAPSHOT

Available
Location
Savar, Dhaka, BD
Venture
CEO, StyleBuzzBD
SEC // 02

Career Experience

5+ years of architectural ownership, AI systems delivery, and founder leadership across 6 roles and ventures—current roles highlighted first.

CAREER TIMELINE (2021 – PRESENT)

6 companies & ventures across AI, backend & founder roles

Active·Click any bar to inspect
202120232025Today ●
MYai Robotics · Mar 2026 – Present
Full-timeMar 2026 – Present· Remote · AI & Robotics

Senior LLM Engineer

Key Highlight
Human-AI Teammates

Role Overview & Ownership

Leading LLM and agentic systems engineering for Human-AI teammates that augment enterprise workforce operations. Architecting grounded search and multi-agent reasoning pipelines that deliver verifiable, real-time insights for executive strategy and policy analysis.

✦ Multi-Agent DAGs✦ Enterprise Search✦ LLM Infrastructure

KEY CONTRIBUTIONS & IMPACT

  • 01
    Human-AI Teammate Architecture: Designing stateful LangGraph agents that collaborate with domain teams to automate multi-step research and operational workflows.
  • 02
    Grounded Enterprise Search: Engineering hybrid vector and lexical search pipelines that surface authenticated, citation-backed insights with minimal hallucination.
  • 03
    Production Inference Reliability: Implementing structured Pydantic outputs, latency-aware model routing, and real-time FastAPI streaming endpoints.
  • 04
    Real-Time Intelligence Infrastructure: Contributing to scalable AI data pipelines supporting strategic analytics and public policy intelligence.
Production Stack
LLMsLangGraphLangChainHybrid RAGFastAPIPythonVector DBOpenAI
SEC // 03

System Architecture

Interactive 3D system blueprints and live execution traces across Distributed AI, Agentic DAGs, Hybrid RAG, and LLM Gateways.

3D Layer TopologyDrag to orbit
01 · Edge Ingress & Auth2ms
02 · Semantic Cache & Router12ms
03 · Async Worker Mesh180ms
04 · Sharded Storage & Telemetry9ms
99.99%
Availability
14ms
Cache Hit Latency
-38%
Cost Reduction
Distributed Architecture· Live Execution Trace

Fault-Tolerant 100K+ RPM AI Gateway & Async Pipeline

Multi-region edge load balancing, Redis Lua token-bucket rate limiting, semantic vector caching, and Celery + Redis Streams worker queues with circuit-breaker failover.

⚡ Live Production Trace
INPUT: POST /v1/chat/completions (12,400 concurrent tenants · EU/US/APAC)
  1. 1. Edge rate-limiter verifies tenant quota in Redis Lua (1.4ms)
  2. 2. Semantic cache checks 0.96 cosine similarity -> HIT bypassed upstream LLM
  3. 3. On miss: LiteLLM routes to primary Claude/GPT-4o; trips circuit breaker on 429/5xx to vLLM standby
OUTPUT: 200 OK · SSE Stream started in 14ms (cache) / 178ms (live) · Zero dropped requests
gateway_resilience.py
async def route_with_circuit_breaker(tenant_id: str, prompt: str):
    if not await redis_lua_allow(tenant_id, rps=250):
        raise HTTPException(429, "Rate limit exceeded")

    if cached := await semantic_cache.lookup(prompt, min_score=0.96):
        return StreamingResponse(cached.stream(), headers={"X-Cache": "HIT"})

    return await litellm_router.acompletion_with_fallbacks(
        model="primary-claude",
        fallbacks=["gpt-4o-backup", "vllm-private-gpu"],
        timeout=8.0,
    )
SEC // 04

Featured Projects

Production case studies spanning multi-agent orchestration, hybrid RAG retrieval, LLM gateways, and full-stack AI systems.

Enterprise Multi-Agent Orchestrator — Supervisor-Worker LangGraph DAG with Self-Healing ToolsAgentic AI2026

Enterprise Multi-Agent Orchestrator

Supervisor-Worker LangGraph DAG with Self-Healing Tools

Production multi-agent system orchestrating specialized research, SQL, and code-execution workers behind typed Pydantic V2 state checkpoints and human-in-the-loop approvals.

99.4%
Convergence
1.8s
P95 Latency
PythonLangGraphPydantic V2FastAPI+4
Distributed Hybrid RAG & Rerank Mesh — Dense Vector + BM25 RRF + Cross-Encoder Pipeline at 10M+ ScaleRAG & LLM2026

Distributed Hybrid RAG & Rerank Mesh

Dense Vector + BM25 RRF + Cross-Encoder Pipeline at 10M+ Scale

High-precision enterprise retrieval engine fusing Qdrant dense embeddings and BM25 lexical search with Reciprocal Rank Fusion, Cohere Rerank 3, and strict source citations.

97.4%
Recall@10
38ms
P95 Retrieval
PythonQdrantBM25Cohere Rerank+4
Distributed LLM Gateway & System Design — Fault-Tolerant Multi-Provider Router, Semantic Cache & GuardrailsSystem Design2026

Distributed LLM Gateway & System Design

Fault-Tolerant Multi-Provider Router, Semantic Cache & Guardrails

High-throughput distributed AI gateway featuring token-bucket rate limiting, Redis semantic caching, circuit breakers across OpenAI/Claude/vLLM, and NeMo Guardrails.

99.99%
Availability
10K+ RPM
Throughput
PythonFastAPILiteLLMvLLM+4
Brain Tumor Detection System — AI-powered medical imaging with 95%+ accuracyAI/ML2024

Brain Tumor Detection System

AI-powered medical imaging with 95%+ accuracy

A deep learning-powered medical image analysis system for detecting and classifying brain tumors from MRI scans. Uses state-of-the-art CNN architecture with advanced data augmentation and transfer learning.

95.4%
Accuracy
10K+
Dataset Size
PythonTensorFlowKerasOpenCV+4
AI-Powered E-Commerce Platform — Smart shopping with ML recommendation engineFull-Stack2024

AI-Powered E-Commerce Platform

Smart shopping with ML recommendation engine

Full-stack e-commerce solution featuring an AI recommendation engine, real-time inventory management, Stripe payment integration, and an admin analytics dashboard.

1K+
Concurrent Users
50K+
Products
DjangoReactPostgreSQLRedis+4
Smart Library Management System — Digital library with automated fine calculationFull-Stack2023

Smart Library Management System

Digital library with automated fine calculation

Comprehensive digital library management with book tracking, member management, automated fine calculations, barcode scanning, and an analytics dashboard.

20K+
Books Tracked
5K+
Members
PythonDjangoPostgreSQLBootstrap+3
Multilingual Sentiment Analysis API — Real-time NLP inference across 12 languagesAI/ML2024

Multilingual Sentiment Analysis API

Real-time NLP inference across 12 languages

Production REST API for real-time sentiment analysis and text classification using fine-tuned transformer models, supporting 12 languages with sub-100ms inference.

12
Languages
<100ms
Latency
PythonFastAPIHugging FacePyTorch+3
LLM Chatbot with RAG Pipeline — Context-aware AI assistant with custom knowledge baseAI/ML2024

LLM Chatbot with RAG Pipeline

Context-aware AI assistant with custom knowledge base

Intelligent chatbot using Retrieval-Augmented Generation with a custom vector knowledge base, multi-turn memory, and streaming responses.

10+
Doc Types
128K
Context Window
PythonLangChainOpenAIPinecone+3
Visual Workflow Automation Platform — No-code automation builder with 50+ integrationsBackend2023

Visual Workflow Automation Platform

No-code automation builder with 50+ integrations

Drag-and-drop workflow automation platform with a visual builder, scheduled tasks, webhook triggers, and real-time execution monitoring.

50+
Integrations
20+
Task Types
DjangoCeleryRedisWebSockets+3
SEC // 05

Tech Toolbox

Core engineering proficiencies, interactive 3D capability sphere, and the production stack I reach for every day.

PROFICIENCIES

Core architecture mastery

System Design & Distributed AI0%
LLM Engineering & Gateways0%
Agentic AI & Multi-Agent DAGs0%
Advanced Hybrid RAG & Search0%
Python, FastAPI & AsyncIO0%
AI Evals, Guardrails & MLOps0%

System Design

07
Distributed ArchitectureEvent-Driven QueuesRate Limiting & CachingCircuit BreakersRead/Write ShardingMulti-Region FailoverObservability & SLAs

Agentic AI

07
LangGraphMulti-Agent DAGSupervisor PatternTool CallingPydantic V2Self-Healing LoopsHITL Checkpoints

LLM & Inference

07
LiteLLM GatewayOpenAI / ClaudevLLM ServingSemantic CachingSSE Token StreamingStructured OutputsPrompt Engineering

RAG & Retrieval

07
Hybrid RetrievalBM25 + Dense RRFCohere RerankQdrant HNSWPineconeParent-Child RAGQuery Rewriting

Evals & Security

07
Ragas CI/CDLLM-as-a-JudgeNeMo GuardrailsPII RedactionPrompt Injection DefenseLangfuseOpenTelemetry

Backend & Infra

07
Python 3.12FastAPIDjango / DRFPostgreSQLRedis StreamsCeleryDocker & Nginx
SEC // 06

Engineering Writing

Technical playbooks covering Multi-Agent Systems, Hybrid RAG, Safe Tool Calling, Guardrails, and LLM Evaluation Frameworks.

Glowing neural network visualization representing production RAG architecture with LangChain and vector searchAdvanced RAGMar 20267 min read
#RAG#LangChain#ChromaDB

Building RAG Applications with LangChain: A Production-Ready Guide

Build a production RAG pipeline with LangChain, ChromaDB, and OpenAI. Covers mixed-format document loading, semantic chunking strategies, persistent vector storage, MMR and contextual compression retrieval patterns, conversational memory, and LLM-as-judge evaluation.

800–1000
Chunk Target
$0.02/1M
Embed Cost
Read Playbook→4 takeaways
Interconnected geometric nodes and edges illustrating stateful LangGraph workflowsMulti-Agent SystemsMar 20266 min read
#LangGraph#Agentic AI#StateGraph

Introduction to LangGraph: Building Stateful Graph-Based AI Workflows

A hands-on foundation guide to LangGraph: understand when to use LangGraph alongside LangChain, model workflows with Nodes, Edges, and shared State, set up your environment, and compile your first typed StateGraph customer support agent.

3 Pillars
Core Primitives
TypedDict
State Typing
Read Playbook→4 takeaways
Abstract futuristic visualization of interconnected autonomous agent networksMulti-Agent SystemsOct 20269 min read
#Multi-Agent#LangGraph#Agent Orchestration

Architecting Multi-Agent Systems in Production: Supervisor vs Peer-to-Peer Orchestration with LangGraph

Single LLM agents struggle with context window pollution and hallucination cascades when tasks exceed 5-10 reasoning steps. Here is how we architect production multi-agent systems using supervisor-worker patterns, typed shared state, and deterministic cyclic graphs.

94.2%
Task Success Rate
-60%
Context Reduction
Read Playbook→4 takeaways
High performance database server infrastructure and dense networking racksAdvanced RAGOct 202610 min read
#RAG#Hybrid Search#BM25

Beyond Naive RAG: Building Production Hybrid Retrieval with Dense Vectors, BM25, and Cross-Encoder Rerankers

Pure vector search fails when queries contain exact product SKUs, code identifiers, or acronyms. We dive deep into Reciprocal Rank Fusion (RRF), Cross-Encoder reranking, and chunking heuristics that achieve 96%+ context precision.

97.4%
Context Recall
91.8%
Context Precision
Read Playbook→4 takeaways
Matrix code and secure data terminal representing safe software executionTool Calling & AgentsSep 20268 min read
#Tool Calling#Pydantic V2#FastAPI

Building Fail-Safe Tool-Enabled Agents: Pydantic Schema Enforcement, Sandboxed Execution, and Error Recovery

LLM tool calling is fundamentally probabilistic. When an agent emits malformed arguments or calls destructive APIs in a blind loop, systems fail. Here is our blueprint for deterministic schema validation, self-correcting retries, and isolation.

99.1%
Tool Call Accuracy
88.5%
Self-Correction Rate
Read Playbook→4 takeaways
High-speed fiber optic networks and enterprise cloud routing backbonesLLM ArchitectureSep 20268 min read
#LiteLLM#Gateway Architecture#Fault Tolerance

Provider-Agnostic LLM Architecture: High-Availability Routing, Fallbacks, and Rate-Limit Resiliency

Hardcoding vendor SDKs creates single points of failure and vendor lock-in. We explain how to architect a production LLM gateway featuring automated model fallback, latency-based load balancing, and unified token telemetry.

99.99%
Uptime SLA
<180ms
Failover Latency
Read Playbook→4 takeaways
SEC // 07

Academic Education

Seven years of Computer Science & Engineering in China, graduate research in Applied NLP, and verified cloud & deep learning credentials.

UNIVERSITY FOUNDATION · 2017 — 2024

M.Sc. & B.Sc. in Computer Science & Engineering

Chengdu, China
7 YrsCSE DEGREE
M.Sc. Graduate2021 – 2024

Research thesis in Applied NLP & Deep Learning—directly powering my LLM & RAG systems.

B.Sc. Honors2017 – 2021

4-year core mastery in Algorithms, OS, Databases & backend architecture.

7 Yrs
University CSE
M.Sc.
Highest Degree
4
Certifications
Southwest Petroleum University campus in Chengdu, China
ALMA MATER · SWPUClass of 2024
Chengdu · Sichuan · China

Southwest Petroleum University

“Seven years of rigorous computer science theory, applied NLP research, and international software engineering discipline.”

Academic Progression Timeline
4 Milestones · Graduate to Secondary
Graduate DegreeChengdu, Sichuan, China
2021 – 2024

Master of Science (M.Sc.)

Computer Science & EngineeringSouthwest Petroleum University
Graduate Research Thesis in Applied NLP & Deep Learning

Completed a 3-year graduate program concentrating on Machine Learning, Deep Learning, and Advanced Algorithms. Conducted independent thesis research in Applied Natural Language Processing—exploring neural text representation and sequence modeling that directly underpin my production LLM and RAG engineering today.

Core Coursework & Focus
Applied NLPDeep LearningAdvanced AlgorithmsMachine LearningDistributed Systems
Undergraduate DegreeChengdu, Sichuan, China
2017 – 2021

Bachelor of Science (B.Sc.)

Computer Science & EngineeringSouthwest Petroleum University
4-Year International Engineering Program

Built rigorous computer science fundamentals across algorithms, operating systems, relational database internals, and software architecture. Applied theory through hands-on team projects in Python, backend web engineering, and early machine learning prototypes.

Core Coursework & Focus
Data Structures & AlgorithmsOperating SystemsDatabase SystemsSoftware EngineeringComputer Networks
Higher SecondarySavar, Dhaka, Bangladesh
2013 – 2015

Higher Secondary Certificate (HSC)

Science DivisionJahangirnagar University School & College
Quantitative STEM Preparation

Completed higher secondary education in the Science track with an emphasis on calculus, linear algebra foundations, mechanics, and analytical problem-solving—building the quantitative discipline needed for international CSE studies.

Core Coursework & Focus
Higher MathematicsPhysicsChemistryICT
Secondary EducationSavar, Dhaka, Bangladesh
2003 – 2013

Secondary School Certificate (SSC)

Science DivisionRadio Colony Model School & College
Graduated with Distinction

Graduated with academic distinction in Science, establishing strong core fluency in Mathematics, scientific reasoning, and written communication.

Core Coursework & Focus
General ScienceMathematicsPhysics & ChemistryEnglish & Literature
Verified Industry Credentials
4 Specializations & Certificates
01

Machine Learning Specialization

Stanford University / Coursera
2023

Supervised learning, gradient optimization, decision trees, regularization, and recommender systems.

02

Deep Learning Specialization

DeepLearning.AI
2023

Neural network optimization, CNNs, sequence models, attention mechanisms, and Transformer foundations.

03

Python for Data Science

IBM / Coursera
2022

Data ingestion, NumPy & Pandas analytics pipelines, visualization, and reproducible scientific Python.

04

AWS Cloud Fundamentals

Amazon Web Services
2022

Cloud-native architecture, IAM security principles, elastic compute, storage, and resilient deployments.

SEC // 08

Get in Touch

Building an ambitious Multi-Agent, Hybrid RAG, or distributed AI platform? Let's architect it together.

DIRECT CHANNELS

GMT+6 · Active
Phone (Primary)
+8801339-388329
Phone (Alt)
+8801521-333362
Location
99/1, Noyabari, Radio Colony, BPATC, Savar, Dhaka

DIRECT INQUIRY

Send a message

Share your system design challenge, AI roadmap, or engineering role.

Reply SLA · < 24h
GET IN TOUCH

Have an AI system in mind?Let's build it.

Open to high-impact roles and technical advisory in multi-agent AI, hybrid RAG, and distributed systems.

© 2026 Md Mehedi Hasan. All rights reserved.

Admin