Hedi Amine Chaabani
Based in: Schlüchtern, Hesse, GermanyCurrently: Senior AI Engineer, InkyLab TechnologiesExperience: 8 years
Experience
Senior AI Engineer
Summary
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.
Lead AI Engineer (Full Stack)
Summary
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.
Senior Machine Learning Engineer (Contract)
Summary
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.
Skills
Technical
Areas of expertise
Languages
Projects
Agentic Structured Data Extraction System
Agentic Investigation Platform
Education
Computer Science Engineering
Societies & activities
Hedi's twin is AI, it can make mistakes.
More people on Kanvis
Aleena masood
Lahore
Artificial Intelligence Student & Software Intern specializing in RAG pipelines and Generative AI.
Urdu · English · LLM Integration · RAG
kanvis.me/aleena-masood
Bilal Ahmed
Senior AI Engineer specializing in Agentic AI, LLM Orchestration, and Real-Time Voice Systems.
Python · English · Urdu · DSP
kanvis.me/bilal-ahmed1
Hafiz Arham
Lahore
AI Engineer specializing in Agentic AI, LLM Applications, and Deep Learning.
Python · WhatsApp Business API · Prompt Engineering · Multi-agent systems
kanvis.me/hafiz-arham
Muhammad Noman
Dammam
Python Backend & AI Engineer specializing in Scalable Systems and Generative AI
Urdu · Django REST Framework (DRF) · Django · Python
kanvis.me/muhammad-noman



