Hamza Boughanim – AI/ML Engineer & Full-Stack Developer

I am an AI/ML Engineer specializing in Large Language Models (LLMs), Computer Vision, OCR pipelines, autonomous agents, and automation systems. I also work as a Full-Stack Developer using React.js, PHP Phalcon, Node.js, SQL Server, MySQL, and Python.

Based in Morocco, I help companies build intelligent software powered by modern AI architectures. My portfolio includes machine learning systems, web applications, APIs, automation tools, and advanced integration flows.

  • AI/ML Engineering
  • Computer Vision & OCR
  • Full-Stack Development
  • Robust backend architecture
  • Cloud and DevOps principles

AI & Tech Blog – Hamza Boughanim

Expert technical articles on artificial intelligence, machine learning, computer vision, and software engineering.

  • Entropy in Decision Trees: From Information Theory to Overfitting Control — An expert-level exploration of entropy in decision trees, explaining how uncertainty reduction drives learning, why greedy entropy minimization leads to overfitting, and how modern constraints restore generalization.
  • Building a Zero-Trust AI Backend with Argon2: Security by Design, Not by Chance — A behind-the-scenes tour of a production-grade AI API that marries GPU-resistant Argon2 passwords, Zero-Trust micro-segmentation, infra-level prompt firewalls and scoped 60-second JWTs—so attackers stealing everything still can't exceed 128 tokens.
  • Building a Production RAG Pipeline: From Document Ingestion to Sub-Second Retrieval — A complete walkthrough of a production-grade Retrieval-Augmented Generation system — document ingestion, chunking strategy, embedding models, pgvector indexing with HNSW, reranking, and a FastAPI serving layer.
  • MLOps in Practice: Deploying AI Models with Docker and FastAPI — A complete production guide to containerizing and serving machine learning models — covering FastAPI model servers, multi-stage Docker builds, GPU support, health checks, Docker Compose orchestration, and a CI/CD pipeline with GitHub Actions.
  • Why GPUs Power Modern AI: CUDA Cores, Tensor Cores, and the Memory Hierarchy Behind Deep Learning — An engineer's guide to the hardware behind deep learning — why matrix multiplication chose GPUs, how CUDA cores and Tensor Cores actually differ, why VRAM bandwidth (not just size) decides your training speed, and how mixed precision and parallelism let modern models scale past a trillion parameters.
  • The Agentic Loop: How AI Agents Reason and Act — The perceive-reason-act-remember loop behind Claude Code and every AI agent — explained with a working Python example and design patterns.