Hedi Amine Chaabani

Senior AI Engineer specializing in Agentic AI and RAG pipelines.

Based in: Schlüchtern, Hesse, GermanyCurrently: Senior AI Engineer, InkyLab TechnologiesExperience: 8 years

Hire me

Senior AI Engineer with over 8 years of experience architecting autonomous AI agents and production-ready RAG systems that significantly accelerate data retrieval. He has a proven track record of leading technical teams and deploying scalable machine learning solutions across diverse industries including real estate, legal intelligence, and social media analytics.

Experience

Senior AI Engineer

InkyLab TechnologiesTunisiaworkJul 2023 – Present

Summary

Built an agentic investigation platform detecting coordinated social media campaigns, bot networks and targeted attacks on public figures and political opinion. Designed agent workflows extracting structured data from articles and social media posts, fed by distributed Scrapy pipelines on Apache Airflow. Matched news articles to social media posts to trace how narratives spread. Developed mention tracking, domain reputation scoring and media analytics features. Engineered RAG pipelines and AI agents on Django backends, cutting manual retrieval time by 40% and latency by 30%.

What I did

  • Built an agentic structured data extraction system with scraping where agents navigate sources, extract information into validated schemas, and match articles to social media posts.
  • Designed agents that decide which leads to follow based on evidence found, using step limits and verification steps to bound autonomy.
  • Orchestrated external sources and tools for agentic workflows, including search, crawling, scraping, and LLM extraction tools.
  • Built error handling for tool orchestration including retries with backoff, fallbacks between sources, and caching.
  • Implemented tool error messaging to allow agents to reason about failures like rate limits or structural changes.
ScrapyApache AirflowDjangoRAGAI AgentsMulti-agent architecture

Lead AI Engineer (Full Stack)

AIREMunich, Germanywork2026 – Aug 2026

Summary

Led the technical design of an AI real estate platform combining an agentic AI chat with an advanced RAG pipeline over 10,000+ documents (contracts, floor plans, real estate law). Developed the React and TypeScript frontend, including the conversational chat, document search and information extraction views. Designed agentic workflows for semantic search, question answering and structured information extraction across contracts, plans and legal texts. Built the Python APIs connecting the frontend to the agent and RAG services, and drove architecture decisions and code reviews for the development team.

What I did

  • Used LLM-as-a-judge and manual spot checks to verify groundedness of claims.
  • Utilized user feedback to guide platform improvements.
  • Built eight specialized agents within an Azure-based multi-agent system.
  • Modeled a contract compliance workflow in LangGraph as a stateful graph with a planner node for step decomposition and tool routing.
  • Implemented a hybrid search tool to locate contracts among 10,000+ documents.
  • Developed an extraction tool to pull relevant clauses into a validated schema.
  • Created a legal retrieval tool to search applicable laws.
  • Built a reasoning agent to compare clauses against laws and return answers with citations.
  • Defined extraction targets like contract parties, dates, clauses, and prices as Pydantic models.
  • Used Pydantic models with Azure OpenAI native structured output and function calling to constrain generation to a schema.
  • Implemented Pydantic validation to catch business rules, date consistency, and range errors for feedback into retry loops.
  • Applied typed models for all tool inputs and outputs within LangGraph.

Results

  • Built self-correction loops where the agent retries extraction with error feedback if schema validation fails.
  • Implemented a grounding check that triggers re-retrieval and rewriting if an agent's claim is not supported by a cited source.
  • Maintained fast chat performance across 10,000+ documents.
  • Measured success through retrieval quality using recall and ranking metrics on a test set of real user questions.
  • Tracked extraction accuracy by comparing fields like parties, dates, prices, and clauses against a manually validated sample.
  • Monitored schema validation pass rates on first-try outputs.
  • Evaluated answer quality through groundedness, ensuring every claim was backed by a cited source.
  • Monitored end-to-end latency and cost per query.
ReactTypeScriptPythonRAGAgentic AIAzureLangGraphCrewAISelf-correction loopsPydanticFunction calling

Senior Machine Learning Engineer (Contract)

ProptexxFrance (Remote)contractAug 2024 – Aug 2025

Summary

Designed a Stable Diffusion powered furniture asset generation pipeline, integrating inpainting, upscaling, and iterative fine tuning for rapid style creation. Orchestrated FastAPI backends and computer vision inpainting workflows for seamless image modification. Established DevOps CI/CD pipelines, ensuring zero downtime production integration.

What I did

  • Built a pipeline on Stable Diffusion 1.5 and SDXL with LoRA adapters for inpainting and upscaling workflows.
  • Developed a FastAPI backend to expose image generation as a service.
  • Built a FastAPI backend to expose a Stable Diffusion generation pipeline including inpainting, upscaling, and style generation.
  • Implemented an asynchronous job pattern using Pydantic for input validation and Redis-backed queues for GPU workers.
  • Structured the API to return immediate job IDs and provide status endpoints or callbacks for long-running tasks.
Stable DiffusionFastAPIComputer VisionDevOpsCI/CDSDXLLoRA adaptersPydanticRedis

Skills

Technical

PythonPython
RAG
Qdrant
PyTorchPyTorch
FastAPIFastAPI
Scikit Learn
OpenCVOpenCV
NumPy
LangChain
Hugging Face
Scrapy
DjangoDjango
Amazon Bedrock
LangGraph
TensorFlowTensorFlow
Crew AI
FlaskFlask
ReactReact
Airflow
TypeScriptTypeScript
BeautifulSoup
PostgreSQLPostgreSQL
SupabaseSupabase
DockerDocker
CI/CD Pipelines
AWS
Amazon Textract
Selenium
Playwright
KubernetesKubernetes
Google ADK
Trafilatura
Kafka
SQL ServerSQL Server
TerraformTerraform
Next.jsNext.js
Apache Spark
MLflow
Kubeflow
Raspberry PiRaspberry Pi
C/C++C/C++
dbt
Flink
Delta Lake
Hadoop
ArduinoArduino
STM32
Matlab
Azure
Stable Diffusion 1.5
SDXL
LoRA adapters
Multi-agent architecture
Structured data extraction
CrewAI
Pydantic
RedisRedis
Self-correction loops
Autonomous agent behavior
Constrained decoding
Structured outputs
Tool Use Orchestration

Areas of expertise

Collaboration
Creative Thinking
Technical Mentorship
Leadership
Strategic Communication

Languages

Arabic
French
English
German

Projects

Agentic Structured Data Extraction System

Developerpersonal
A system where agents navigate sources and extract information into validated schemas while matching articles to related social media posts, designed to handle messy and adversarial input data.
search toolscrawling toolsscrapersLLM extraction toolsmatching tools

Agentic Investigation Platform

Lead Designer/Architectpersonal
A multi-agent system for detecting coordinated social media campaigns. It uses specialized agents for data collection, signal analysis of posting behavior and content similarity, and a coordinator to build structured investigation reports linked to source posts.
social media data collection toolsaccount analysis toolscontent analysis toolsdomain reputation scoring

Education

Computer Science Engineering

National School of Computer Science (ENSI)Computer Science

Societies & activities

ENSI Robotics Association (Technical Staff, Competition Manager)
Hire HediReach out about a role, a contract or a conversation.For recruiters

Hedi's twin is AI, it can make mistakes.