Lahore, Pakistan · Open to remote · UTC+5
Osama Ansar
AI / RAG Engineer
Senior Software Engineer, 7+ years. I build TypeScript retrieval-augmented generation systems, agentic pipelines, and LLM evaluation infrastructure — each one shipped with real tests and a live demo.
About Me

I'm a Senior Software Engineer with 7+ years of experience delivering scalable, maintainable, and high-performance web applications across Angular, React, Vue, and Node.js — and I'm currently focused on TypeScript-based RAG systems, agentic pipelines, and LLM evaluation infrastructure.
I'm known for cross-functional collaboration, UI/UX insight, and mentoring junior developers. My experience spans across various industries including K-12 school nutrition, trucking, marketing, digital signage, food delivery, fintech, and job matching platforms — and I now contribute to open-source AI infrastructure (see the Weaviate TypeScript client below).
I hold a BS in Software Engineering from the University of Gujrat (2015-2019) with a CGPA of 3.7/4.0, where I received multiple awards and recognitions for academic excellence.
Skills & Technologies
AI / RAG Engineering
An engineering lab plus a set of focused independent projects and open-source contributions, all built to go deep on retrieval, agentic systems, and LLM evaluation — TypeScript, from-scratch algorithms, real tests, and demos you can run.
Drape PK
One AI fitting room. Every brand.
A multi-brand fitting room for Pakistani menswear — 75 real listings from five labels. Local CLIP visual search from a garment photo, a language-model stylist that returns a cross-brand three-piece look from a plain-English brief, virtual try-on, and a wardrobe-aware digital-twin profile. Search images are never stored; wardrobe photos never reach the LLM.
Retrieval Playground
Lexical vs neural vs fused, scored in-browser
Paste a document, ask a question, mark the relevant chunks, and watch BM25, dense embeddings and Reciprocal Rank Fusion each rank the results — with recall@k, precision@k, MRR, hit@k and nDCG@k for all three. BM25, RRF and the metrics are hand-written; the embeddings run all-MiniLM-L6-v2 in your browser via Transformers.js. No backend, no API key.
Refract
Hybrid RAG that shows its work
BM25 (lexical) and HNSW (vector) retrieval run in parallel and get fused with Reciprocal Rank Fusion, with multi-hop agentic decomposition for genuinely cross-topic questions. The UI visualizes every retrieval score, fusion rank, and sub-question live as it runs.
DevSignal
A quieter way to read the developer internet
Collects public signals from ~10 developer sources — Hacker News, GitHub Trending, npm, arXiv, Stack Overflow, YouTube and more — and turns them into an editorial dashboard: topic momentum, trending languages, and cross-source clusters on an interactive radar. Ships on-device AI via Transformers.js: "Ask DevSignal" answers natural-language questions with ranked, clickable evidence, entirely in the browser.
generative-ui-chat
Chat that streams back real React components
Ask about revenue and get a live animated chart; ask to compare plans and get a real comparison table; ask to book a demo and get a working confirmation card. Built on the Vercel AI SDK tool-calling pattern, with the exact same streamText pipeline as a real deployment.
doc-chat-citations
Every claim cited, every citation clickable
A documentation chat assistant where clicking a citation jumps straight to the exact retrieved passage. From-scratch BM25 retrieval (no vector DB), a two-pane UI with a live-updating source panel, and streamed answers grounded in a demo knowledge base.
Professional Experience

A SaaS platform for K-12 school nutrition programs: real-time profit/loss per menu item, labor and overhead analytics, and recipe/menu management for school districts.

A comprehensive fertility services marketplace using AI to transform unstructured agency data into searchable, structured profiles.
Builds tailored live-streaming experiences and white-label platforms for brands across entertainment, sports, and iGaming — including LiveArena, a pay-per-view combat-sports streaming platform, and Studio, a live broadcast-control app.

A leading platform providing comprehensive solutions for the trucking industry, including fleet management, logistics optimization, and real-time data analytics.

Canada-based digital signage company (since 1993) with franchises in USA, Norway, and Mexico. Specializes in real-time digital signage solutions with flagship products Ink and Moxie.

A software development company specializing in custom web and mobile applications, enterprise solutions, and digital transformation services for businesses across various industries.

A software development company specializing in custom web and mobile applications, enterprise solutions, and digital transformation services for businesses across various industries.

A software development company specializing in custom web and mobile applications, enterprise solutions, and digital transformation services for businesses across various industries.

A software development company based in Pakistan that provides web and mobile application development services, specializing in custom solutions for startups and enterprises.
Get In Touch
Feel free to reach out to me directly: