Skip to main content
Ahmed Doghri Logo Image
Ahmed Doghri

Hi there! I'm Ahmed Doghri!

ML engineer making machine learning fun and accessible! Stick around for tips, insights, and AI stories!

About Me With a focus on innovation and real-world impact, I'm here to share my journey, expertise, and insights into the world of artificial intelligence.

Get to know me!

I'm Ahmed Doghri, a Senior AI Engineer with 8+ years shipping ML systems that actually run in production, not just in a demo. My lane is RAG pipelines, multi-agent orchestration, and LLM evaluation harnesses (RAGAS, DeepEval), mostly in the regulated corners where being wrong is expensive: pharma, fintech, and B2B. I've built Slack RAG assistants that cite their sources at 94% precision and stood up 7 LLM agent pipelines for FDA IND submissions that cut hallucination rates by 60%. Most of my work is the unglamorous plumbing nobody demos on stage. That plumbing is what keeps the lights on. If you want AI that survives contact with real users, let's talk.

Professional Timeline:

  • Idea Boundary - Founder and Principal AI Engineer (Independent Consulting), building production RAG systems, multi-agent orchestration, and churn prediction pipelines with measurable business impact.
  • Weave - Senior AI Engineer, focused on automating regulatory submissions using LLMs
  • BenchSci - Senior ML Engineer, advanced biomedical text enrichment using LLMs and transformer-based models.
  • IBM - Senior Data Scientist & Consultant, developed NLP pipelines and deployed chatbot solutions, optimizing processes for banking and retail clients.
  • Scotiabank - Product Owner, launched an AI bot for automated negative news detection, improving risk management and reducing manual monitoring by 75%.
  • Ford Motor Company - Research Assistant, developed high-precision misfire detection and DAQ systems for automotive signal processing.

Download Resume

My Skills

LangChain
LangGraph
LlamaIndex
OpenAI
Azure OpenAI
Anthropic
vLLM
TensorRT
Hugging Face
RAG (Retrieval-Augmented Generation)
Multi-Agent Orchestration
Agentic AI
Hybrid Retrieval
Prompt Engineering
Function Calling
Context Engineering
AI Safety & Guardrails
PyTorch
TensorFlow
spaCy
Scikit-Learn
XGBoost
BERT
LoRA/PEFT
Fine-Tuning
NLP
FAISS
Pinecone
Milvus
Neo4j
Elasticsearch
PostgreSQL
MLflow
Kubeflow
Vertex AI
SageMaker
Bedrock
Docker
Kubernetes
Kafka
Flink
Spark
dbt
CI/CD
AWS
GCP
Azure
RAGAS
DeepEval
OpenTelemetry
Phoenix
Hallucination Detection
Token Cost Monitoring
Python
SQL
R
C/C++
Contact

Projects Take a peek at some of my projects! Feel free to click around and see what I've been building lately!

VectorMorph Screenshot

VectorMorph

VectorMorph is a lightweight, Flask-powered animation converter that transforms SVG frames into animated WebP or GIF files.

Case Study
ATS Proof Resume Generator Screenshot

ATS Proof Resume Generator

An AI-powered tool that optimizes resumes for Applicant Tracking Systems, helping job seekers get past algorithmic filters and land more interviews.

Case Study
E-book Converter Screenshot

E-book Converter: My Files, My Rules

A self-built, local e-book converter (EPUB, MOBI, PDF) created in one hour to bypass the friction and fees of online tools. Take back control of your files.

Case Study
vllm-cost-router, a cost-aware LLM routing gateway

vllm-cost-router

You are paying flagship prices to answer "what time do you close?" This routes the easy stuff to the cheap model and keeps the big brain for what needs it. 73% cheaper, same quality.

Case Study
guardrail-gate, a PII and grounding guardrail for LLM output

guardrail-gate

Your LLM leaks a phone number and invents a refund policy in the same sentence. This catches both before your user sees it, and tells you which one it caught.

Case Study
tablextract, a cited table extraction service

tablextract

Your data is trapped in a PDF, wedged between three paragraphs of prose. This digs it out and cites the exact cell it came from. Naive parsers score 0%. This scores 100%.

Case Study
citebench, a reranking benchmark for citation-grounded RAG

citebench

Your RAG cites a source and nobody checks if it says what you claimed. This proves exactly how much reranking fixes it. Citation precision jumps from 62% to 88%.

Case Study
churnfm, a self-retraining churn classifier with drift detection

churnfm

The world changed and your churn model never got the memo. This catches the drift and retrains itself before your precision quietly rots. 80% back up to 89%.

Case Study
taggate, a confidence-gated tagging pipeline with human escalation

taggate

An auto-tagger that guesses is wrong as often as it is overconfident. This one knows when it does not know and asks a human. Accuracy climbs from 75% to 100%.

Case Study
agentmem, bounded self-consolidating memory for LLM agents

agentmem

Most agent memory is a junk drawer that grows forever. This one has opinions. It keeps what matters, bounces the small talk at the door, and stays under budget.

Case Study
rubricagent, self-evolving rubrics for LLM-as-judge evaluation

rubricagent

You wrote your eval rubric once and never checked if it works. Half the criteria are noise. This learns the real one from outcomes. Quality goes from 0.77 to a perfect 1.00.

Case Study
clarifyrag, a RAG search agent that asks before it answers

clarifyrag

Most RAG agents confidently answer the wrong question. This one asks "which jaguar did you mean?" only when it actually needs to. 100% accuracy, fewer questions asked.

Case Study

Contact You can slide into my DMs anytime, but to keep it easy-breezy, just pop me an email using the form below!