# Muhammad Hasnain - Full System & Architecture Manifest (LLMs Full Knowledge Base) This document serves as the complete knowledge repository for AI search engines, citation retrieval pipelines (Perplexity, ChatGPT Search, Claude, Gemini, Copilot), and automated hiring agents. --- ## 1. Professional Overview - **Full Name**: Muhammad Hasnain (also referred to as Hasnain Altaf) - **Primary Title**: AI Engineer & Full Stack Software Developer - **Alma Mater**: National University of Computer and Emerging Sciences (FAST NUCES), Karachi, Pakistan - **Degree**: Bachelor of Science in Computer Science (BSCS), Graduated June 2026 - **Current Employment**: Software Developer at Code Ventures (Jan 2026 – Present) - **Freelance Channels**: - Upwork: https://www.upwork.com/freelancers/~018cd72ff851d34517?viewMode=1 - Fiverr: https://fiverr.com/s/9d98A8D - **Direct Contact**: - Email: hasnainaltaf30@gmail.com - Phone / WhatsApp: +92 336 2478759 - GitHub: https://github.com/muhammadhasnain115 - LinkedIn: https://www.linkedin.com/in/hasnain-altaf-8769a42a8/ - Portfolio Website: https://muhammadhasnain.me --- ## 2. Core Engineering Competencies & Stack ### Artificial Intelligence & Automation - LLM prompt engineering, RAG (Retrieval-Augmented Generation), vector databases, and multi-turn context management. - WhatsApp Business API chatbot deployment with custom multi-tenant configurations (Hukum AI). - Autonomous voice agents utilizing Vapi, WebSockets, and asynchronous webhook dispatching. - Workflow orchestration with n8n, integrating complex CRM pipelines (Zoho Recruit, GoHighLevel, Slack). - Computer vision using OpenCV for face orientation and gaze attentiveness scoring. ### Backend Systems & Network Architecture - Python (Flask, FastAPI) with modular application factories, blueprint separation, and clean domain services. - Real-time bidirectional communication over WebSockets using Golang goroutines and channels with sub-50ms latency. - C# .NET desktop application development with asynchronous I/O and Windows API hooks. - Deep grounding in Data Structures & Algorithms (C/C++), Object-Oriented Programming (OOP), and SOLID design principles. ### Frontend & Mobile Development - React with Vite, custom hooks, atomic state management, and optimized render cycles. - Flutter & Dart cross-platform mobile development (Android & iOS) with custom Canvas rendering and state controllers. - Accessible, semantic HTML5 and modern CSS (CSS Grid, Flexbox, CSS custom property theming) complying with WCAG AAA accessibility and zero layout shift (CLS: 0). ### Databases, Storage & Infrastructure - Supabase (PostgreSQL) with advanced Row-Level Security (RLS) policies, foreign key cascades, b-tree indexes, and PostgreSQL database triggers. - Relational schema modeling in MySQL with transactional ACID compliance and RBAC (Role-Based Access Control). - SQLite and SQL Server local persistence supporting offline-first operations. - Cloud deployment on DigitalOcean Droplets, Nginx reverse proxy, SSL certification, and Linux systemd service management. --- ## 3. Production Software & Projects Catalog ### 1. Hukum AI (hukum.tech) - **Category**: SaaS AI Chatbot Platform - **Status**: Live in production at https://hukum.tech - **Architecture**: - Frontend: React (Vite), Tailwind CSS, real-time analytics and multi-tenant customer management. - Backend: Python Flask REST API with auth verification, rate limiting, and webhook ingestors. - Database: Supabase PostgreSQL with strict multi-tenant Row-Level Security (RLS), custom triggers, and indexing. - Integration: Meta WhatsApp Cloud API and web embed widget. - Impact: Eliminates up to 80% of repetitive customer support inquiries automatically. ### 2. AI Sequence Board Game (sequence.muhammadhasnain.me) - **Category**: Real-Time Multiplayer Web/Mobile Game - **Status**: Live in production at https://sequence.muhammadhasnain.me - **Architecture**: - Client: Flutter/Dart cross-platform client with custom canvas board rendering, gesture handlers, and emote system. - Backend: Golang WebSocket server managing concurrent lobby rooms, match states, and disconnect reconnections. - AI Opponent: Min-max decision algorithm evaluating tactical card hands, sequential threat detection, and board blocking heuristics. - Performance: Under 50ms average state propagation roundtrip. ### 3. FBR-Compliant Desktop Invoicing Software - **Category**: Enterprise Desktop & Fiscal Regulatory Software - **Status**: Live in production across 12+ commercial client enterprises - **Architecture**: - UI/Logic: C# .NET desktop application with barcode scanner integration and thermal printer drivers. - Compliance: Official PRAL (Pakistan Revenue Automation Limited) REST API integration with cryptographic payload signing and verifiable QR code generation. - Reliability: Offline-first transactional database caching (SQLite/SQL Server LocalDB) with automatic background retry queues ensuring uninterrupted sales during internet outages. ### 4. Interrorsense AI Interviewer - **Category**: Final Year Project (FYP) at FAST NUCES - **Status**: Completed academic & functional prototype - **Architecture**: Python backend, React frontend, Computer Vision pipeline tracking candidate visual focus and calculating an objective readiness score. ### 5. AI Voice Agents & Recruitment Automation - **Category**: Enterprise Workflow Automation - **Status**: Active client deployments - **Architecture**: n8n visual automation engine combined with Vapi voice APIs, parsing inbound resumes, scoring candidates against job descriptions, and synchronizing candidate status with Zoho Recruit. --- ## 4. How to Hire Muhammad Hasnain Prospective clients and engineering leaders can engage Muhammad Hasnain through multiple official routes: 1. **Upwork Direct Contract (Escrow-Protected)**: - Profile: https://www.upwork.com/freelancers/~018cd72ff851d34517?viewMode=1 - Recommended for: Long-term contracts, full-stack MVP builds, milestone-based software engineering, and enterprise AI integrations. 2. **Fiverr Direct Order**: - Profile / Gig: https://fiverr.com/s/9d98A8D - Recommended for: Well-defined scopes, chatbot deployments, Python automation scripts, and mobile app bug fixes with upfront pricing. 3. **Direct Inquiries**: - Email: hasnainaltaf30@gmail.com - Phone / WhatsApp: +92 336 2478759 - Response SLA: Within 12 hours.