I build AI agents you can trust.
Every claim traces back to a source, and nothing leaves without a human approving it. Agentic AI, NLP, RAG and MLOps, shipped end to end: data, model, API, deployment, evaluation.
Rayen Zaghdoudi · AI engineering student, TEK-UP · Tunisia
Featured case study
LinkedIn Agent
An open-source assistant for a job search. It finds offers that match my profile, prepares a CV tailored to each one (LaTeX to PDF) and a draft email, and sends only after I have read and approved it.
Trust by design
Every number and claim must trace back to the master CV. The email's factual sentences are copied from the CV by code. The model only writes the subject, the opening and the closing.
Human in the loop
Dry-run is the default. To send, I retype the recipient address. Nothing is sent without an explicit approval.
Security mindset
Job pages and search results are treated as untrusted data, never as instructions to follow.
Engineering
Async runs with unguessable ids and restart recovery, SSE progress with single-use tickets, 12 database migrations, written architecture decisions, CI, and over 1,000 automated tests across backend, frontend and integration.
- Python
- FastAPI
- LangGraph
- PostgreSQL + pgvector
- React + TypeScript
- Vite
- Docker Compose
- Tectonic (LaTeX)
Projects
Engineering case studies
Grouped by how the work was done: alone, in a team, or during an internship. Open a card for the problem, approach, architecture and my own part. In the diagrams, select a block to see what it does and where the fact comes from.
Verified read in the repository Mine confirmed by me, code not shown here CV stated on my CV Plan designed, not built yet To confirm not verified
Individual projects
Individual project · Academic coursework
rag-invoices
Invoice question answering that combines LLM-extracted metadata with semantic search, so questions can mix meaning and exact conditions.
- Qdrant
- LangChain
- Groq LLM
- Pydantic
- sentence-transformers
Problem
Totals, customers and line items are locked inside PDF layouts. Semantic search over raw text cannot reliably answer questions that mix meaning with exact conditions such as a date range, a total or a customer.
Solution
Ingestion turns each PDF into chunks that carry structured invoice metadata in Qdrant. At query time the question becomes a metadata filter plus a semantic query, and the answer is written only from what was retrieved.
My part
Individual coursework: I implemented the complete RAG pipeline myself, from metadata extraction to ingestion and chat.
Technical approach
- Idempotent ingestion. Every file is hashed with SHA-256 and skipped if that hash is already in Qdrant. Work is saved every 20 invoices, an interrupted run saves what it has, and a Groq configuration error stops the run instead of silently skipping files.
- Structured extraction. A Groq-hosted LLM at temperature 0 fills a Pydantic schema: invoice code, bill to, ship to, date, shipping, discount, total and line items. The prompt says to return null for missing fields and never invent values. Only the first 12,000 characters are sent.
- Chunking and embeddings. Recursive splitting at 1,000 characters with 100 overlap. Each chunk keeps the invoice metadata. Embeddings come from all-MiniLM-L6-v2.
- Indexed metadata. Qdrant payload indexes by type: keyword (invoice code, file hash), full text (customer, ship to, item names), float (total, discount, shipping) and integer (date as a timestamp).
- Query planning. One LLM call extracts filters from the question (invoice code, customer, ship to, item, date range, total range, has discount), another rewrites it into a short search query.
- Retrieval and answer. Filtered similarity search, top 5. If the filter returns nothing, the search is repeated without it. The answer prompt requires the invoice code and allows "I don't know".
Architecture
Team projects
Team project · In progress
Olive-CAD
Olive leaf disease classification: one training pipeline, four architectures compared.
- ResNet50
- EfficientNetB0
- ConvNeXt-Tiny
- Swin Transformer-Tiny
Problem
Recognize diseases on olive leaves from photographs, and find out which kind of architecture suits the task best.
Team process
Team project, initiated by a teammate. I contributed the training work to the shared project.
My part
I implemented the training pipeline and trained ResNet50, EfficientNetB0, ConvNeXt-Tiny and Swin Transformer-Tiny.
Models compared
- ResNet50 · convolutional
- EfficientNetB0 · convolutional
- ConvNeXt-Tiny · modernized convolutional
- Swin Transformer-Tiny · transformer
Status: ongoing experimentation. Results are not published yet because evaluation is still in progress. A comparison table will be added when it is final.
Team project · collaborative
AdForgeX
An integrated AI platform for advertising: it researches the market, the audience and the product image before it writes a single line of copy.
- FastAPI
- 6-step LLM pipeline
- RAG · ChromaDB
- Vision LLM
- Playwright
- React + TypeScript
Problem
Ad copy written from a product name alone ignores what competitors say, what buyers struggle with and what the product looks like. AdForgeX treats ad creation as research first, generation second.
Solution
One full-stack application that runs six chained steps, each using the output of the previous ones: product analysis, competitor intelligence, image analysis, audience insights, ad strategy, ad generation. The result is a hook, a caption, a call to action and visual recommendations.
My part
- RAG-based automated replies to social media comments.
- Sentiment analysis of comments with a Hugging Face sentiment model.
- Automated comment management and response.
The rest of the platform (strategy selection, competitor analysis, content generation and the other components) is team work.
Technical approach
- Orchestration.
pipeline.pyruns the six steps. Progress is streamed to the React dashboard over Server-Sent Events, one update per step. - Retrieval (RAG). ChromaDB holds high-performing ad patterns, embedded with all-MiniLM-L6-v2 and retrieved top-5 by default. Each finished run saves the scraped ads and image descriptions back, so the knowledge base grows.
- Competitor intelligence. Playwright scrapes competitor product listings and reviews, with a configurable timeout (15 s by default).
- Vision. A multimodal model (Llama 4 Scout through Groq) extracts visual selling points. A validation step detects an image that does not match the product before the full pipeline runs.
- Text generation. Llama 3.3 70B through Groq. Prompt templates and step runners are kept in separate modules.
- Platform. JWT authentication with SQLite, Docker Compose with development and production profiles, Nginx reverse proxy.
Architecture
My modules (comment replies and sentiment analysis) are in a private repository and are not linked.
Team project · team of 4 · In progress
VishGuard
Real-time detection of vishing (voice phishing) from the call audio and its transcript, built by four people who each own one modality.
- Multimodal fusion
- XLM-R
- wav2vec2 / Whisper
- eGeMAPS
- DVC
Problem
Detect vishing calls as they happen, across English, French and Arabic, and check that a model trained on synthetic calls still works on data it has not seen.
Team process
Four people, one per modality: text, self-supervised audio, prosody, and fusion with robustness. Two-week sprints, the first from 8 November 2026. Everyone works on a separate git branch.
My part so far
Audio embedding extraction with a pretrained audio model. The downstream classification model and the evaluation are not done yet.
Technical approach (team blueprint)
- Data. VISHGUARD, a synthetic multilingual corpus of 3,059 calls in English, French and Arabic, versioned with DVC on S3. ASLC-448, an Arabic corpus, is kept as out-of-domain validation.
- Modalities. Text with XLM-R, audio with wav2vec2 or Whisper embeddings, prosody with eGeMAPS features.
- Fusion. Cross-attention between modalities, plus an audit of bias introduced by the text-to-speech used to make the synthetic calls.
Architecture: done and planned
Internship projects
Internship · Microedition · Jul – Aug 2026
LinkedIn Agent
The agent from the featured case study above: three LangGraph graphs, grounding checks and human approval.
- LangGraph
- FastAPI
- PostgreSQL + pgvector
The full case study, with its architecture diagram, is in the section above.
Internship · Microedition · Jun – Jul 2025
Waste detection and classification
An intelligent system that identifies and classifies waste from images, explored as part of an IoT solution.
- Computer vision
- Machine learning
- IoT
Problem
Recognize categories of waste from images so that an IoT application can use the result.
Approach (from my CV)
Image processing and machine learning classification models, and an exploration of how image analysis could be integrated into an IoT system.
My part
Individual internship work, per my CV.
Internship · AlchemyCode · Feb – Jun 2024
Doctor Skin
A Flutter mobile app that sends skin images to a fine-tuned CNN and ResNet model.
- Flutter
- Node.js + Express
- CNN
- ResNet
Problem
Bring skin image classification into a mobile application.
Approach (from my CV)
CNN and ResNet architectures, including fine-tuning a deep learning model for image classification, connected to the mobile app through backend services in Node.js and Express.
My part
Contributed to the app, the backend services and the model work, per my CV.
Path
Experience and education
Internships
- Jul – Aug 2026 · Mahdia
AI Engineering Intern, Microedition
Developed an AI-powered LinkedIn agent and worked on intelligent workflows with LLMs.
- Jun – Jul 2025 · Mahdia
IoT and Machine Learning Intern, Microedition
A waste detection and classification system using machine learning and computer vision.
- Feb – Jun 2024 · Sousse
AI and Software Development Intern, AlchemyCode
Doctor Skin: a Flutter mobile app with a Node.js and Express backend, and CNN and ResNet fine-tuning for skin image classification.
- Jun – Jul 2023 · Sousse
Data Science and NLP Intern, AlchemyCode
Collected social media posts and comments and ran sentiment analysis on them.
Education
- Sep 2025 – present · Ariana
Engineering degree, Computer Science (AI and Data Science), TEK-UP
NLP, deep learning, generative AI, LLMs, agentic AI, MLOps, cloud computing, model deployment.
- Sep 2024 – Jun 2025 · Mahdia
Internet of Things studies, ISET Mahdia
Embedded systems, networks, sensors, microcontrollers.
- Sep 2021 – Jun 2024 · Mahdia
Bachelor's degree, Computer Science (Software Engineering), ISIM Mahdia
Software engineering, OOP, databases, algorithms, operating systems.
Skills
What I work with
AI and ML
- LLMs
- RAG
- Agentic AI
- LangGraph
- LangChain
- NLP
- Prompt engineering
- Fine-tuning
- PyTorch
- TensorFlow
- Hugging Face
- ChromaDB
- OpenCV
Data
- Python
- Pandas
- NumPy
- scikit-learn
- SQL
- PostgreSQL + pgvector
MLOps and cloud
- Docker
- CI/CD
- AWS
- Azure
- Linux
Backend and web
- FastAPI
- Node.js
- Streamlit
- React
- TypeScript
Ways of working
- Git and GitHub
- Scrum
- Agile
- UML
Languages: Arabic (mother tongue), French, English.
Certifications
Verified credentials
AWS Certified Solutions Architect – Associate
Designing secure, resilient, high-performing and cost-optimized architectures on AWS.
Verify on CredlyPCAP – Certified Associate Python Programmer
Score 87%. Python, object-oriented programming, modules, exceptions.
Verify on CredlyLessons from building
Three things that broke, and what I changed
The model rewrote my CV
What happened: in the first real run, the model turned "built" into "designing and deploying" and merged two facts into one sentence. My word-level check let it through.
What I changed: factual sentences are now copied from the master CV by code. The model writes only the subject, the opening and the closing.
Research that invented companies
What happened: a research run returned companies that were not in any source.
What I changed: capitalized names and job titles must now appear in a cited source, and any link or address missing from the master CV is refused as an unknown source.
A profile page that returned 500
What happened: saving the master CV created a half-empty profile row, and reading it crashed on the empty fields.
What I changed: safe defaults for every base field, plus regression tests for that path.
Contact
Have an interesting problem to solve?
I am looking for a 6-month end-of-studies internship on agentic AI, NLP, RAG and MLOps. The fastest way to reach me is LinkedIn or email.