a little corner of the internet
EGCairo, Egypt
Pull down and release to write a note, or press Enter.

.

AI & Machine Learning Engineer · Cairo, Egypt

I build AI agents that use tools, RAG that finds the right context, and the backends that bring it all together. Python is my home base. Born and building in Egypt.

A little obsessed with the engineering between a promising model and a useful system. Information Systems graduate, Port Said University. Arabic & English.

From the workbench

01Teaching a RAG assistant to check its own answersClinical RAG · project notes ↗02One retrieval framework. Different model providers.AdvancedRAG · project notes ↗

GitHub activity

Check PRs ↗

Little commits. A longer story. @YACIINE105

Fresh off GitHub

Connecting…

    Fetching my latest public commits…

    Recent public interactions

    Connecting…

      Fetching recent GitHub interactions…

      A closer look at my work 05 projects · experience · toolkit

      Selected work

      05 projects · open to explore

      Clinical Guidelines AI Assistant

      A clinical assistant that retrieves, reasons, and acts.

      AGENTIC RAG

      A self-improving clinical RAG assistant built for a hackathon. A LangGraph supervisor coordinates doctor and patient workflows, bilingual symptom checks, and answers grounded in clinical guidelines.

      ↳ RETRIEVAL PIPELINE
      Hybrid search→Rerank→Grade→Answer
      92.5%precision@1
      100%source-document retrieval
      Top 3of 20 hackathon teams

      Retrieval metrics measured on a 40-question clinical evaluation set.

      Beyond the chat window

      FastAPI with streaming responses and session management, Telegram text and voice access, and appointment scheduling through n8n. Voice is a prototype using Colab and Cloudflare Tunnel.

      LangGraphFastAPIHybrid searchCross-encodern8n

      Hotel Agent

      From a guest’s question to a confirmed booking.

      AI AGENTS

      A hotel front-desk and travel-shopping prototype with a guest widget, staff inbox, multilingual text, streaming English voice, and human handoff.

      Making actions recoverable

      • A recoverable quote → guest confirmation → submit → reconcile booking workflow, with idempotency and price-change reconfirmation.
      • Property-scoped retrieval with BM25, Arabic normalization, and optional embeddings.
      • Streaming voice, staff takeover, and supplier search through MCP.
      ↳ BOOKING WORKFLOW
      Quote→Confirm→Submit→Reconcile

      Prototype: the hotel connector is simulated. External travel search and sandbox booking require configuration; live payments are not enabled.

      PythonTool callingPostgreSQLWebSocketsMCP

      AdvancedRAG

      One retrieval framework. Interchangeable providers.

      GRADUATION PROJECT

      My graduation project: a modular retrieval framework designed to keep the application independent of any single model provider or vector store.

      The engineering underneath

      • A provider factory for OpenAI, Cohere, and Google LLMs, with Qdrant or pgvector storage.
      • Token-aware chunking, semantic boundary detection, and hybrid vector, keyword, and metadata search.
      • Semantic caching, SQLAlchemy/Alembic migrations, and reproducible Docker deployment.
      FastAPIQdrantpgvectorDockerSQLAlchemy

      Customer Support Platform

      The backend behind a support conversation.

      BACKEND

      An asynchronous support backend managing customers, conversations, assignments, escalations, and call records through separate service and persistence layers.

      Keeping the workflow consistent

      • JWT authentication, role-based access, conversation ownership, and validated lifecycle transitions.
      • Assignment and escalation workflows, including a single unresolved escalation per conversation.
      • Provider-independent call metadata and tests for service, API, and database rules.

      Backend foundation. The frontend, LLM/RAG agents, and live telephony are planned extensions; call records do not place calls.

      FastAPIPostgreSQLJWTAlembicDocker

      Credit Card Fraud Detection

      Finding the signal in highly imbalanced data.

      MACHINE LEARNING

      Compared resampling strategies and five model families on transaction data with 305 minority and 170,579 majority instances. Random Forest gave the strongest evaluation results.

      0.88F1 score
      0.92precision
      0.84recall

      Project evaluation results. A separate threshold analysis at 0.56 achieved 92.6% precision while maintaining at least 80% recall.

      Scikit-learnRandom ForestSMOTEPandas

      Have something interesting in mind?

      A project, an opportunity, or a good conversation. My inbox is open.

      A little note, a big hello.

      Tell me what you're working on. I'd love to hear about it.

      Open email

      Opens a draft in your email app. You choose when to send it.