🇬🇧 English🇫🇷 FrançaisDOCX

Amine MNASSRI

Senior AI Engineer — Agentic Systems & GenAI | PHP/Symfony Expert

16 years of production web development · 1+ year of agentic systems and GenAI in production

Profile

Senior AI Engineer & Lead Developer with 16 years of experience in web design and development. At TotalEnergies, I lead the generative AI initiative of the B2C Web division: designing multi-agent systems, AI agents, agentic workflows and RAG solutions with LangChain and LangGraph, continuously traced and evaluated with LangSmith. Context engineering is at the core of my approach to making agent behavior reliable.

My background as a full-stack developer (PHP, Symfony, Laravel, Python, React.js, Next.js) and in cloud environments (AWS, GCP) lets me take AI all the way to production, with continuous evaluation and cost control.

Technical skills

GenAI & Agents

Generative AIAgent orchestration (LangGraph, LlamaIndex, LangChain)Multi-agent systemsTool callingPrompt engineering

RAG & Search

Advanced RAGHybrid search (vector + BM25)RerankingVector databasesElasticsearchNeo4j

LLMs & Inference

OpenAI APIVertex AIHugging Face TransformersvLLMOllama

Deep Learning & Fine-tuning

PyTorchPEFT/LoRA fine-tuning

MLOps & LLMOps

MLflow (tracing, continuous evaluation, cost tracking)Vertex AIHallucination detectionDockerCI/CD

Backend

PHP 8Symfony 2→7Laravel 8→11PythonFastAPIDjangoNode.jsAPI PlatformRESTGraphQLKafka

Frontend

React 16→19Next.js 15/16TypeScriptVue.js / Nuxt

Cloud & DevOps

AWS (ECS, ECR, S3, EC2, VPC, IAM)GCP (Vertex AI)AzureDevOpsGitHub ActionsJenkinsGrafanaKibanaDynatraceNewRelic

Data

PostgreSQLMySQLMongoDBNeo4jElasticsearch

Quality & Methods

TDDPHPUnitJestCypressPHPStanSonarQubeScrum / KanbanJiraConfluence

AI Coding Tools

GitHub CopilotClaude CodeQwen and Kimi models

Other

Typo3WordPressMagentoAngularSOAP

AI projects

Mana Studio

Multi-model AI creative platform (video, image, audio)
Design & development
2026

Platform aggregating generative models (video, image, voice), with online payments and an internal token billing system, built end to end: architecture, backend, frontend and deployment.

  • Multi-provider orchestrator (OpenRouter, fal, RunPod) with a circuit breaker and a fallback provider per modality.
  • Append-only token ledger on PostgreSQL (SECURITY DEFINER functions, restricted application role): debit before submission and automatic reversal on provider failure, fully decoupled from AI providers’ billing.
  • Proprietary prompt engine (RAG + LLM, pgvector) enriching requests with cultural and sector context.
  • Voice and video studios: Tunisian-dialect voice-overs, talking avatars, video editing with smart chunking of long videos and resumable chunked uploads, dictation (Whisper / Vosk), content moderation.
  • ClicToPay and Stripe payments with automatic reconciliation, invoicing, and a Next.js frontend in 5 languages (FR, EN, AR, ES, IT).
  • Async FastAPI backend, Celery/Redis task queues, Alembic migrations, Docker deployment.
Stack: Python, FastAPI, PostgreSQL, pgvector, Alembic, Redis, Celery, Next.js, React, TypeScript, Docker, OpenRouter, fal, RunPod, Stripe, ClicToPay, RAG, GenAI.

ManaBot

Multi-agent AI chatbot for SMBs · website, WhatsApp, Messenger, Instagram
Design & development
2026

Multi-agent chatbot with a strict RAG architecture: no answer is ever generated outside the customer’s own knowledge base.

  • Multi-agent pipeline orchestrated with LangGraph: intent router, FAQ/RAG agent and a grounding-check agent; when grounding fails, an explicit fallback message and hand-off to a human.
  • Strict RAG on Qdrant (sentence-transformers embeddings) with the Claude API; audit log of every answer with the source passages used.
  • Strict multi-tenant isolation: one vector collection per customer, queries and logs scoped per customer.
  • Multilingual support (French, Tunisian Arabic dialect, English) with language detection.
  • FastAPI / PostgreSQL / Docker backend; automated tests (pytest) on grounding, intent routing and multi-tenant isolation.
Stack: Python, FastAPI, LangGraph, Claude API (Anthropic), Qdrant, sentence-transformers, PostgreSQL, SQLAlchemy, Pydantic, Docker, pytest, RAG, Multi-agent.

Professional experience

Senior AI Engineer / Senior PHP-Symfony Developer

TotalEnergies (via Symdrik)
Paris, B2C Web division
Sept. 2021 – Present

Dual role: leading the division’s generative AI initiative and modernizing the business-critical backend stack.

  • Designed and deployed multi-agent systems (LangGraph, LlamaIndex) automating business workflows (customer support, document analysis, content generation).
  • Built an internal RAG-as-a-Service platform: hybrid chunking, multi-model embeddings, hybrid vector + BM25 search and reranking.
  • Set up GenAI observability with MLflow: prompt tracing, continuous evaluation, hallucination detection and cost-per-request monitoring.
  • Deployed open-source LLMs for on-premise inference (vLLM, Ollama, AWQ/GPTQ quantization, batch inference): sensitive data kept in-house and inference cost reduced.
  • Exposed agents and RAG through FastAPI microservices (async, streaming, Pydantic validation).
  • Fine-tuned models with PyTorch and PEFT/LoRA.
  • Standardized GitHub Copilot across the team.
  • Migrated the critical stack: PHP 7 → 8.3, Symfony 4.4 → 6.4, React 16 → 19, with a full redesign of the core architecture.
  • Raised test coverage from 0 to 88% (PHPUnit, Jest, Cypress) and PHPStan to level 8, the strictest.
  • Migrated CI/CD from Bitbucket/Azure to AWS and GitHub Actions.
  • Maintained the B2C ecosystem (Typo3 website, customer portal, Laravel APIs, Symfony/React payment app) under level-3 support; ran Scrum sprints and mentored developers.
Stack: LangGraph, LlamaIndex, LangChain, MLflow, vLLM, Ollama, Hugging Face, PyTorch, TensorFlow, FastAPI, Vertex AI, OpenAI API, PHP 8, Symfony, Laravel, Python, Django, React, Next.js, Kafka, AWS, GCP, DevOps, GitHub Actions, Docker.

Senior PHP/Symfony Developer

Audi France (via Micropole)
Paris
Feb. 2020 – Aug. 2021
  • Developed and migrated the Audi Global Contacts ecosystem: 10 APIs, admin dashboards, Node.js microservices and gateways.
  • Designed the Lead Management, Lead Scoring, Audi OnDemand, DataPlug, IDKIT and Bloctel modules and the Salesforce migration.
  • Upgraded PHP 5.6 → 7.4 and Symfony 3.4 → 4.4; optimized API performance (NewRelic, Grafana, Kibana).
Stack: PHP 7, Symfony 3/4, API Platform, PostgreSQL, MongoDB, Node.js, Docker, Codeception, REST/SOAP, Camunda, Tyk, GitLab, Grafana, Elasticsearch, Kibana, NewRelic, Jira, Confluence.

Senior Developer — E-commerce Checkout

Maisons du Monde
Paris
Mar. 2018 – Jan. 2020
  • Rebuilt the cart-delivery-payment checkout (11 Symfony applications) into an order-taking API and a Nuxt/Vue.js front end.
  • Integrated new payment methods and improved conversion UX.
Stack: PHP 7, Symfony 1/2/3/4, Vue.js, Nuxt, PostgreSQL, GraphQL, Traefik, Google Pub/Sub, Docker, PHPUnit, GitLab, Grafana, Rundeck, Kibana, NewRelic.

Lead Full-Stack Developer

Groupe Revue Fiduciaire (LTO Group)
Paris
Mar. 2017 – Mar. 2018
  • Designed the architecture and built a PWA digitizing collective agreements and legal codes (Symfony, Polymer, MongoDB, Neo4j); managed dev and production servers.
Stack: PHP 7, Symfony 2/3, Node.js, MongoDB, Neo4j, Polymer 2, PWA, Firebase, PHPUnit, Jira.

Project Manager & Lead Full-Stack Developer

Techno-Compétence
Tunisia / France
Jan. 2014 – Feb. 2017
  • Led and built a real-estate CRM (KOMAXIS), a B2B AdWords platform (MadisonAds) and client websites (Symfony, AngularJS, WordPress).
Stack: PHP 5, Symfony 2.8, MySQL, MongoDB, AngularJS, WordPress, jQuery, Bootstrap, REST APIs, PHPUnit, Apache.

Backend Developer

HappyStreet (Techno-Compétence)
Tunisia
Aug. 2010 – Dec. 2013
  • Developed the e-commerce CMS and CRM of Tunisia’s leading e-commerce platform, including payment gateway integrations.
Stack: PHP 5, CodeIgniter, MySQL, Apache, jQuery, Bootstrap, PHPUnit, XML.

Education, languages & interests

Education

2010 — Master’s degree in Computer Science
Software Engineering

Languages

French: bilingual
English: professional

Interests

AI & agentic systemsBlockchainMountain sportsTravel