Search projects

Find a project by name, or by a skill it uses.

Avatar with sketch style in light mode

Talha Khalil

Full-stack engineer shipping web, mobile, and AI products.

Social links

Overview

Software Engineer, Full Stack @Aali.com

Software Engineer, Full Stack @TOGR

GitHub contributions

About

  • I’m Talha Khalil — a full-stack engineer shipping production web and mobile products end-to-end across Ruby on Rails, Node.js, React, and React Native.
  • Hands-on with AI- and LLM-powered features (RAG, agents, structured outputs), and a fast learner who ramps quickly on unfamiliar codebases.
  • Use AI-assisted development (Claude Code, Cursor) to ship higher-quality code faster.

Stack

Experience

Aali.com

Location
Lahore, Pakistan
Location type
(Remote)

Luxury e-commerce platform — full-stack and AI feature development on a team of 6.

  • Shipped a production RAG customer-support agent (OpenAI API, Postgres + pgvector, n8n, webhooks) answering WhatsApp product queries against live inventory via semantic search across 1,200 SKUs, auto-resolving 61% of inbound questions and cutting median first-response time from 15 minutes to 24 seconds at roughly $0.90 per 1,000 queries.
  • Built and deployed a Python/FastAPI computer-vision microservice that segments jewelry and watch products and removes backgrounds, cutting per-image editing from 4 minutes to 6 seconds and eliminating ~20 hours/week of manual retouching across 9,000+ catalog images; containerized and shipped it to AWS (Docker → ECR → EC2) as an async REST API handling 400+ images/day at 1.8s p95.
  • Led full-stack development of the storefront, owning architecture and feature decisions across backend, web, and mobile while mentoring 2–3 junior engineers through code review.
  • Engineered a real-time chat and notification system on GraphQL subscriptions (AWS AppSync) with Sidekiq-backed async delivery and OneSignal push, adding Slack-style threads and @mentions now used daily by 20+ internal staff.
  • Built an end-to-end internal invoicing system (creation, ledger-based dues tracking, S3-backed PDF generation), replacing manual workflows and cutting invoice processing time by ~40%.
  • Drove two solo, incremental Rails 5→8 upgrades (5→6→7→8), modernizing the asset pipeline and removing deprecated gems with zero downtime.
  • Migrated native SwiftUI client and broker apps to React Native, collapsing two codebases into one shared mobile codebase the team maintains today.
  • Ruby on Rails
  • React
  • React Native
  • Python
  • FastAPI
  • OpenAI API
  • PostgreSQL
  • pgvector
  • n8n
  • AWS
  • Docker
  • GraphQL
  • Sidekiq
  • OneSignal

TOGR

Location
Lahore, Pakistan
Location type
(Remote)

On-demand photography marketplace.

  • Architected and shipped the end-to-end Stripe Connect payment flow, including platform-fee-vs-partner-payout split logic and automated partner disbursements.
  • Migrated real-time session matching from Firebase Realtime DB to Rails ActionCable, cutting p95 match latency from 2,400ms to 640ms and dropped connections by 72%.
  • Ruby on Rails
  • Stripe Connect
  • ActionCable
  • Firebase
  • PostgreSQL

Education

  • Computer Science
  • Software Engineering
  • Databases
  • Algorithms

Projects(4)

  • Period
    2026—

    Event-driven audio and video to bilingual English/French subtitles on AWS.

    • Built a serverless pipeline where an S3 upload triggers Lambda validation (magic bytes plus ffprobe), Amazon Transcribe with language identification, and an EventBridge-driven Amazon Translate step that keeps translated .srt/.vtt cue counts and timestamps identical to the source; a 14.4 s clip goes from upload to subtitles in about 8 s for roughly $0.009 per run.
    • Added an arm64 container Lambda on ECR with a pinned static ffmpeg to extract audio from .mov, .mkv and .avi, plus idempotent job names, DLQs with retries, and S3-as-database outputs with no separate datastore.
    • Shipped a Cognito-protected React player behind CloudFront (CSP, HSTS) and a JWT-authorized API Gateway + FastAPI Lambda, all least-privilege IAM, deployed and torn down with one Terraform command at about $1.1 per month idle.
    • AWS
    • Terraform
    • Lambda
    • Amazon Transcribe
    • Amazon Translate
    • EventBridge
    • Cognito
    • CloudFront
    • FastAPI
    • React
    • Docker
    • ffmpeg
  • Period
    2026—

    Final year project: AI-driven virtual internships for students, with mentor review.

    • Built skill assessment across 5 domains where a scikit-learn LogisticRegression classifier turns per-domain MCQ accuracy into a recommended track, then matched students to a 60-task bank with per-domain FAISS indices (all-MiniLM-L6-v2 embeddings) re-ranked by a local Ollama LLM, falling back to FAISS order on malformed output.
    • Graded every submission with a JSON-constrained LLM rubric (score bands, feedback, 3–5 criteria) and flagged plagiarism through a per-task FAISS index written incrementally at a 0.9 cosine-similarity threshold, feeding a mentor desk with a flag-first queue, side-by-side match review and score overrides.
    • Shipped a token-streamed career-guidance chatbot over SSE grounded in each student's scores and open tasks, plus progress reports and an auto-generated portfolio with achievements, a revocable public share link and PDF export, on a Django + Inertia.js + React monolith backed by MongoDB.
    • Python
    • Django
    • React
    • Inertia.js
    • MongoDB
    • Ollama
    • FAISS
    • Sentence Transformers
    • scikit-learn
    • spaCy
    • Tailwind CSS
    • shadcn/ui
  • Period
    2025—

    RAG exam generation grounded in source textbooks.

    • Built a RAG pipeline grounding every generated exam question in the educator's own uploaded textbook, using recursive character chunking (1000 chars / 200 overlap), Gemini embedding-001 vectors in ChromaDB, and top-k=5 similarity retrieval to produce a 40-question paper in 90 seconds at roughly $0.12 per paper.
    • Designed Bloom's Taxonomy-mapped prompt templates giving teachers control over difficulty tier and question type (MCQ, short, long), carrying retrieval metadata (page, chapter) through so every question cites its source.
    • Python
    • FastAPI
    • LangChain
    • ChromaDB
    • Google Gemini
    • Streamlit
    • LaTeX
    • RAG
  • Period
    2025—

    Multi-agent ingestion and ranking pipeline.

    • Built a 5-stage daily ingestion and LLM pipeline across 3 sources (YouTube transcripts, OpenAI and Anthropic RSS), processing roughly 25 items per day with dedup-on-insert and per-stage failure isolation so one failing source never halts the run.
    • Implemented a two-agent LLM layer with model-tiered routing for cost, pairing a digest agent (gpt-4o-mini) that summarizes each item with a curator agent (gpt-4.1) that scores 0–10 relevance against a structured user profile via Pydantic structured outputs, running the full pipeline at roughly $5 per month.
    • Python
    • PostgreSQL
    • SQLAlchemy
    • OpenAI API
    • Pydantic
    • Docker Compose
    • LLM Agents
Search projects

Find a project by name, or by a skill it uses.