Florence, Italy · Available for select engagements
Muhammad Sohail
Senior Software Engineer: AI Agents, Automation & Full-Stack Systems
6+ years designing production systems in Java/Quarkus, Node.js/TypeScript, and event-driven cloud architectures. Lately I've been pointing that same rigor at AI, building RAG pipelines, tuning and evaluating LLMs, and shipping agentic workflows that hold up outside a demo.
About
I'm a full-stack engineer based in Florence, Tuscany, who has spent the last six-plus years designing scalable, cloud-native systems: Java/Quarkus microservices with Kafka event pipelines, Node.js/TypeScript APIs, and React/Angular front ends, deployed on AWS and Kubernetes.
I currently lead engineering at Trident Marketing, where I architect the systems that run the business's real-time booking and sales pipeline. My focus now is applied AI: building and tuning LLM pipelines (prompt and retrieval design, model evaluation, and fine-tuning) behind production RAG and document-automation agents, held to the same testing discipline (TDD, mutation testing, CI/CD) as any other production service. Python and Flutter round out the toolkit.
Featured work
AI systems, full-stack platforms, and healthcare tooling I've designed and shipped end to end. Click a card for the full story.
AI Agent · RAG
SigenStor AI Agent
A RAG-driven energy consultant: session-aware conversation state, a
vector-embedding pipeline over technical manuals and pricing data for zero-hallucination
answers, and automated residential battery sizing from live HomeWizard telemetry.
n8n · PostgreSQL · Vector embeddings · HomeWizard API
Read the story
The agent needed to hold context across a multi-turn sales conversation while staying grounded in real technical documentation: no room for hallucinated specs on a home battery install. I built session state in PostgreSQL so the agent could reference earlier turns, and layered a RAG pipeline over ingested manuals and pricing sheets so every answer traced back to source text. On sizing, it pulls live 3-phase load data from HomeWizard telemetry and runs it through hard-coded installation constraints: 5×4mm² cable cross-section requirements, 70kg-per-unit floor loading limits, so a recommendation is only ever one the install can actually support.
AI Agent · Healthcare
Telehealth WhatsApp Triage Bot
Built during COVID-19 for Code for Pakistan: a WhatsApp bot that runs
patient surveys, then identifies and randomly assigns high-risk patients to volunteer
doctors for remote medical support.
React · Node.js · PostgreSQL
Read the story
Built during the early months of COVID-19, when clinics were overwhelmed and many patients couldn't safely see a doctor in person. Patients complete a WhatsApp-based survey; the system scores it for risk and randomly assigns high-risk cases to one of a rotating pool of volunteer doctors for remote follow-up, spreading the caseload fairly instead of funneling everyone to the same few volunteers.
AI Agent · OCR
Document Intelligence & Form Automation
An OCR + LLM pipeline that digitized 50k+ handwritten campaign
pamphlets, extracted entities and KPIs with OpenAI, and pre-filled digital records for
single-operator review.
Google Cloud Vision · OpenAI · Python
Read the story
The original workflow was fully manual: someone reading a scanned pamphlet and retyping it into a form. I replaced that with a dual-view interface, the pamphlet image on one side, the OCR- and OpenAI-extracted fields pre-filled on the other, so an operator's job became confirm-and-submit instead of transcribe-from-scratch. That cut per-record handling time dramatically across a backlog of 50k+ pamphlets.
AI Agent · Voice
Voice Intelligence & Real-Time Transcription
A WebSocket microservice streaming live call audio to Watson
Speech-to-Text for real-time transcription, with a security layer that flags unintended
requests for passcodes or restricted data mid-call.
WebSockets · IBM Watson STT · REST
Read the story
Streaming live call audio to Watson STT over WebSockets meant transcription had to keep pace with the call in real time, not batch-process it afterward. On top of the transcript stream, I added a lightweight rule layer that flags moments where a caller requests a passcode or other restricted data mid-call: useful for a compliance team to review, on calls worth a second look rather than buried in a full transcript archive.
Healthcare · Flutter
HCAI: Post-Surgical Infection Tracking
A Flutter mobile app and Vue.js dashboard tracking
healthcare-associated infections after surgery, built with WHO and NIH collaborators to
improve healthcare protocols.
Flutter · Vue.js · Node.js · MongoDB
Read the story
Post-surgical infection tracking was being done without a shared system between hospitals. HCAI gave clinicians a Flutter app to log LAARC-standard lab evaluations directly from the ward, feeding a Vue.js dashboard that WHO and NIH collaborators used for performance reporting. I worked as solutions engineer on the architecture: a microservices split between the mobile intake app and the reporting backend, with the data model designed specifically around the surveillance protocols the WHO/NIH team needed, not a generic form builder retrofitted to fit.
Node.js · Real-Time
Lead & Booking Platform (TRA)
Co-architected the TRA API and TRADB schema powering real-time
lead-to-member conversion across Trident's booking and sales systems, handling 50k+ daily
calls.
Node.js · TypeScript · MongoDB · Kafka · Elasticsearch
Read the story
TRA needed one real-time data layer under a handful of separate apps and external booking systems, all touching the same household and lead records. I co-architected the TRA API (Node.js/TypeScript, REST) and designed the TRADB MongoDB schema to hold that data at scale, then built the Manifest System on top to track bookings, agent performance, commissions, and where each lead sits in the sales lifecycle.
The hardest part wasn't the API, it was the data-merging logic: households and leads get created independently across systems and have to be reconciled without losing history, so I wrote extensive Mocha/Chai test suites covering 20+ edge cases (duplicate resolution, membership inheritance, primary vs. secondary contact filtering on meeting payloads) before any of it touched production. A message broker absorbs the high-volume call traffic into TRADB, WebSockets push real-time reservation updates, Elastic indices stay in sync for search, and re-tuning the MongoDB cluster configuration saved roughly $12,000/year in infra cost without touching performance.
Java · Event-Driven
SWAM: Incident Management Platform
A Quarkus 3 backend built with hexagonal architecture, publishing
Kafka events to a separate analyzer microservice for Postgres-trigram duplicate
detection, with JWT-based auth and a Kubernetes deployment.
Java 17 · Quarkus 3 · Kafka · Kubernetes
Read the story
The system needed duplicate-incident detection without slowing down the main API, so I split it into two Quarkus services: the core API stays synchronous (CRUD, JWT auth, hexagonal ports/adapters so persistence and messaging never leak into the domain layer), while an incident-created Kafka event triggers a separate analyzer service that runs Postgres pg_trgm similarity matching asynchronously and reports back over Kafka. Everything ships in Docker Compose locally and a Kubernetes manifest for the cluster.
Security · Data Viz
Honeypot Analysis & Visualization Tool
Final-year research project analyzing live attack data from Dionaea,
Suricata, and Kippo honeypots, centralizing it in MongoDB and visualizing attack intensity
on geographic maps.
MongoDB · Dionaea · Suricata · Kippo
Read the story
For my final-year project I stood up Dionaea, Suricata, and Kippo honeypots to capture live attack traffic, then centralized everything in MongoDB so it could be queried and visualized as a single dataset rather than three disconnected log formats. The output maps attack intensity geographically, letting you see attack sourcing patterns at a glance instead of scrolling raw logs.
More projects
-
Encrypted Document Vault Go · RabbitMQ · Angular · Docker
A distributed, horizontally-scalable document-sharing platform: AES-256 encryption with user-specific keys, time-limited or burn-once links, and RabbitMQ-based state consistency across instances so revoking access is instant everywhere. A WebSocket-based "eye tracking" system notifies the owner in real time when someone views their document, tracked by IP and browser fingerprint. Watch the demo ↗
-
Incident Reporting System Java 8 · Hibernate/JPA · Testcontainers · PIT
A layered Java desktop application (Swing → Controller → Repository → Hibernate/JPA → PostgreSQL) built strict outside-in TDD, with Testcontainers integration tests against real Postgres, PIT mutation testing, and SonarCloud gating a GitHub Actions pipeline.
-
CI/CD & Kubernetes Infrastructure Kubernetes · Jenkins · GitHub Actions · IaC
Led Kubernetes-based deployments and CI/CD pipeline improvements (Jenkins, GitHub Actions) at Trident Marketing, incorporating Infrastructure as Code practices, and re-tuned MongoDB cluster configuration for roughly $12,000/year in cost savings without a performance hit.
-
Manifest System Angular · Node.js
Tracks bookings, agent performance, commissions, and the overall sales lifecycle for Trident's sales teams, indexing booking-to-sales conversions as leads become members.
-
Engage App Angular · TypeScript
Lets agents track customer data (demographics, call history) and manage bookings in one platform, streamlining campaign workflows and improving agent productivity.
Experience
-
Sep 2018 – Present
Trident Marketing Tech Lead / Software Engineering Manager
Lead a cross-functional team delivering the company's real-time booking and sales platform: Node.js/TypeScript microservices, Angular front ends, MongoDB, Elasticsearch, and the CI/CD and testing practices (Mocha/Chai, Cypress, Selenium, Jenkins) that keep it shippable.
-
Mar 2021 – Present
Code For Pakistan Full Stack Developer / Speaker & Mentor (Volunteer)
Built a telehealth WhatsApp bot during COVID-19 for remote medical triage, and contributed to HCAI, a WHO/NIH-backed application tracking healthcare-associated infection spread in surgical patients. Speaker and mentor for the KP Government Innovation Fellowship and the KP Women Civic Digital Internship Program, training cohorts on Git/GitHub for collaborative project management. Full profile ↗
-
Sep 2018 – Dec 2018
Jeddah Soft MERN Stack Developer (Remote, Part-Time)
Built a React/Bootstrap appointment dashboard and an open-source Express + WebSockets commerce API (ShopAPI).
-
Oct 2016 – Feb 2017
xFlow Research Inc. Intern
Built a VR basketball game for HTC Vive.
Education
-
MSc, Software, Science and Technology
Università degli Studi di Firenze
-
BS, Software Engineering
Riphah International University, 2018
-
AWS Certified
Leadership & Volunteering
-
Student Representative 2025 – Present
Università degli Studi di Firenze: bridges the student body and faculty on the Commissione Paritetica Docenti-Studenti, improving teaching quality for the Software, Science and Technology program.
-
Education Mentor 2023 – Present
WomenInTechPK: leads hands-on sessions and mentoring programs on modern tech tools and workflows.
-
Alumni Relations Manager 2017 – 2018
TEN (Technology · Entrepreneurship · Networking)
Book a call
15 minutes to talk architecture, an AI-agent build, or a role, whatever's on your mind.