Portfolio

Case studies in
intelligent engineering

Each project represents a real problem solved with AI. I document the full journey — from identifying the gap to measuring the impact.

Presentation Generation Agent
Multi-AgentLLM OrchestrationVision ReviewFastAPI

Presentation Generation Agent

From a Conversation to a Designed, Quality-Checked Deck

A multi-agent system that turns a short description, a JSON document or a spreadsheet into a finished PowerPoint on a chosen template. The agent asks only for what's missing, builds editable slides, then inspects its own output before handing the file back.

Problem

Producing consistent, on-brand decks is slow manual work, and one-shot LLM generation tends to invent facts, overflow text boxes and ignore the template's design.

Solution

Orchestrated a pipeline of specialized agents: a router that detects the presentation type, a planner that decides what to ask and how to structure the story, a content mapper, a copy editor that rewrites text to fit measured space, and a vision-based design reviewer. Deterministic guards remove invented figures and dates, a layout linter measures text with real font metrics, and slides are rendered and scored. The behavior of each presentation type lives in an editable skill (rules, templates, instructions) rather than in code.

Impact

Delivers editable native slides with a design-quality score and a list of missing information. Hybrid design (rules first, LLM for the rest) keeps outputs trustworthy, and new presentation types are added from a settings screen with no code changes.

Flowbite Agent
Agentic AIRAGMCPTool Calling

Flowbite Agent

A Conversational UI Design Agent Grounded in Documentation

A chat-based agent that builds UI components from the Flowbite documentation. Ask for a component and get a live preview next to copy-ready code, then keep refining colors, layout and variants in plain language until the design is right.

Problem

Developers lose time hopping between documentation pages and trial-and-error edits, while generic LLMs hallucinate class names and APIs that don't exist in the library.

Solution

Designed a tool-calling agent loop (FastAPI, bounded iterations) with three tools: semantic search over a ChromaDB index of the scraped docs (sentence-transformer embeddings), live page scraping, and a widget builder. The builder validates and sanitizes generated HTML and normalizes design props before the Next.js frontend renders it as a live preview + code card. Progress is streamed to the UI over SSE, and the same tools are also exposed through an MCP server. Everything ships as a four-service Docker Compose stack.

Impact

Answers are grounded in cited documentation instead of model memory, and generated components are safe to render and ready to paste. Exposing the tools via MCP makes them reusable from any MCP-compatible client.

TextPilot
LLM AgentsPrompt EngineeringNode.jsGroq

TextPilot

A Writing Copilot Living Inside WhatsApp

A conversational AI agent that plugs into your own WhatsApp after a single QR scan. Type @correct, @translate, @formal or @reply right in a chat and the agent fixes your language mistakes, adjusts tone, translates or drafts replies — in the language you wrote in.

Problem

Writing quickly in a second language means typos, awkward phrasing and constant copy-pasting between WhatsApp and a separate AI app, which breaks the flow of a conversation.

Solution

Built a Node.js agent on top of WhatsApp Web with a message parser, a router over 10 prompt-defined agents, and low-latency Llama 3.3 70B inference through an OpenAI-compatible API. The trigger message is rewritten in place with the clean result, or the output is sent to a chosen contact from a private self-chat, so the other person never sees any AI mechanics. Strict guards process only your own messages, and the session persists so the QR is scanned once.

Impact

Turned the AI assistant into an invisible layer of the messaging app itself: one prefix, no context switch, and polished messages in a second. Adding a new capability takes a single prompt entry.

LearNia
GenAIAngularFlaskFirebase

LearNia

AI-Powered SaaS Learning Management System

An enterprise-grade LMS that leverages generative AI to create personalized learning experiences. Features multimodal content generation, adaptive AI tutoring, immersive VR classrooms, and predictive student analytics.

Problem

Educational institutions struggle with one-size-fits-all platforms that fail to adapt to individual learning patterns, leading to disengagement and poor outcomes.

Solution

Architected a full-stack AI-native LMS using Angular, Flask, and Firebase. Integrated LLMs for content generation, built adaptive tutoring algorithms, and deployed VR classroom modules for immersive learning.

Impact

Streamlined content creation by 70%, increased student engagement metrics, and provided educators with real-time predictive analytics to intervene before at-risk students fall behind.

Strategic Insight Pro
NLPRAGPythonPower BI

Strategic Insight Pro

Executive Decision Intelligence Platform

A real-time analytics and AI-driven scenario planning platform designed for C-suite executives. Features an NLP-powered strategic chatbot with Retrieval-Augmented Generation for contextual decision support.

Problem

Executives face information overload and lack tools that combine real-time data with AI-generated strategic scenarios and natural language interaction.

Solution

Built an end-to-end platform with Python backend, Power BI dashboards, and a RAG-based chatbot using vector databases and custom embedding pipelines for enterprise document retrieval.

Impact

Reduced strategic decision cycle time by 40% and provided executives with instant access to contextual insights from years of internal reports and market data.

More work

EchoSign
Computer VisionTensorFlowPython

EchoSign

Moroccan Sign Language Translation App

A computer vision-powered mobile and web application that translates Moroccan Sign Language into text and audio in real-time, bridging communication gaps for the deaf community.

Alma Whispers
LLMRAGEmotion AI

Alma Whispers

A Soulful Connection Through Technology

A multi-platform AI doctor that detects emotional state from text, voice, and facial expressions, then generates empathetic responses via LLM + RAG and animates a 3D avatar with real-time TTS.

CryptMyData
BlockchainAICybersecurity

CryptMyData

Blockchain for Student Admissions

A blockchain-based platform that streamlines student applications for higher education in Morocco with secure, verifiable records and privacy-first workflows.

N7 Guard
AICybersecurityOCR

N7 Guard

AI Gatekeeper Against Phishing

An AI-powered cybersecurity system that detects phishing attempts in real-time using OCR, NLP, and browser extension integration to protect users from malicious websites and emails.

Brain Tumor Segmentation
Deep LearningMedical ImagingTensorFlow

Brain Tumor Segmentation

Deep Learning for Medical Imaging

A medical imaging pipeline using the NaSNET architecture to perform automatic brain tumor segmentation on MRI scans, trained on the BraTS dataset for clinical-grade accuracy.

Lung Disease Detection
CNNLeNet5Medical Imaging

Lung Disease Detection

CNN Classification With LeNet5 Improvements

A medical imaging classification project exploring improved LeNet5 and a deeper CNN with dropout to detect lung diseases from X-ray images.

Banking Data Analysis
Data AnalysisMachine LearningPower BI

Banking Data Analysis

ML-Powered Financial Insights

A comprehensive banking data analysis project leveraging machine learning models and Power BI to extract actionable insights from customer transaction data.

Safe Guide
GeolocationInteractive ChatWeb Development

Safe Guide

Transparent Travel Companion

An innovative travel application providing real-time pricing information on Moroccan products with geolocation and interactive chat to ensure transparency and trust for tourists.

Real-Time Object Detection
OpenCVSSD MobileNetComputer Vision

Real-Time Object Detection

Security & Surveillance AI

A real-time object detection system using OpenCV and SSD MobileNet for security and surveillance applications, capable of running on edge devices.