Portfolio
ML & Backend Engineer

Hamza Mughal

Systems and AI Engineer specializing in autonomous agentic systems, local inference pipelines, and high-concurrency backends. Creator of AIBA, an open-source autonomous internet browsing agent driven by parallel swarms and spatial visual reasoning. Focused on bridging raw LLM capabilities with deterministic system design — architecting type-safe state machines and building strictly tested infrastructure for enterprise scale.

P_01

First-Principles Thinking

I'm driven by a fundamental need to understand how systems work internally. I deconstruct technologies to their core mechanics — "Why this design? What's the underlying math?"

This approach allows me to reason about complex architectures, optimize for performance, and build robust, scalable solutions from the ground up.

P_02

Scalable and SOLID Thinking

I design systems with maintainability, extensibility, and scalability in mind, applying SOLID principles to ensure clean, robust architectures.

This allows me to scale and refactor things easily on Friday when production is on fire ;), especially I love the plug-n-play design.

P_03

Do Not Go for Over-Engineering

I focus on solving the problem at hand efficiently, avoiding unnecessary complexity while keeping the system flexible for future needs.

This ensures I can actually ship solutions instead of getting lost in over-engineering.

P_04

First Learn the Business Requirements

I prioritize understanding the real business goals before writing code, ensuring that the solutions I build deliver meaningful impact.

This allows me to think through the lens of the system's users.

Project_Nexus
Swipe to Browse // Tap to Visit
Apr 2026 — Present

Systems Engineer // KuwaitNET (Remote)

  • Led production database migration from legacy architectures to modernized infrastructure, ensuring data integrity across enterprise environments.
  • Architected and deployed production-grade administrative control panels with authentication flows and session management for internal enterprise operations.
Jun 2025 — Apr 2026

Senior AI Engineer // Metaklouds (Remote)

  • Engineered end-to-end agentic workflow backend with relational data models and dynamic agent skills, provisioning multi-channel operators (email and real-time voice).
  • Built multi-agent pipelines using PydanticAI with dynamic state-machine routing, HITL tool approvals, token limits, and sandboxed file access.
  • Reduced LLM response latency by migrating inference to Groq, overriding internal PydanticAI tool schemas to align with specific model training.
Mar 2025 — Jun 2025

Backend & AI Systems Engineer // Asani (Contract)

  • Engineered centralized telemetry and logging infrastructure using Logfire, Grafana, and TimescaleDB/InfluxDB with automated Slack alert triggers.
  • Refactored core legacy APIs by implementing granular RBAC, hardening system security and reducing overall API error rates.
  • Architected cross-service data pipelines and protocol conversion bridges (MQTT, Modbus TCP, BACnet, CoAP) across distributed hardware networks.
Jul 2024 — Mar 2025

Backend & AI Engineer // Devpii (Remote)

  • Integrated conversational natural language AI agents into Odoo ERP enterprise workflows, enabling automated database querying.
  • Developed high-concurrency RESTful microservices for core business logic, backed by comprehensive test suites for system stability.
Jan 2023 — Jul 2024

Backend & ML Engineer // Gtechnosoft

  • Managed containerized microservice deployments across AWS (Lambda edge functions, core VMs) and GCP with GitHub Actions CI/CD automation.
  • Developed high-concurrency conversational sales engines using FastAPI and Flask under peak traffic loads.
Jul 2021 — Jan 2023

Independent AI & Systems Consultant // Freelance

  • Built a real-time voice AI platform on Twilio/Plivo, cutting end-to-end response latency from ~3.0s down to sub-1500ms via local VAD and continuous async data streaming.
Languages & AI Frameworks

Python, FastAPI, PydanticAI, LangChain, MCP, A2A, TensorFlow, PyTorch, vLLM, GLINER, PySBD

Agentic & LLM Systems

Multi-agent orchestration, RAG pipelines, hybrid vector + sparse search, HITL guardrails, state-machine routing, Groq inference, Gemma, knowledge graphs

Databases & Storage

PostgreSQL (pgvector/HNSW), MongoDB, MySQL, Redis, TimescaleDB, InfluxDB

DevOps & Cloud

Docker, AWS, GCP, CI/CD (GitHub Actions), Grafana, Logfire, Pyright, Ruff, Pytest

Protocols & Integrations

MQTT, Modbus TCP, BACnet/IP, CoAP, Twilio, Plivo