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
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.
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.
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.
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
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.
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.
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.
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
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.
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.
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.
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
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.
Educational institutions struggle with one-size-fits-all platforms that fail to adapt to individual learning patterns, leading to disengagement and poor outcomes.
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.
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
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.
Executives face information overload and lack tools that combine real-time data with AI-generated strategic scenarios and natural language interaction.
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.
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

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.

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
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.

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.




