Work

A collection of projects I've built.

Nordlys Labs

Nordlys Labs

Intelligent LLM routing system that selects the best model for each task. Outperformed frontier models on SWE-bench benchmarks, reduced inference costs by 50–60%, and scaled to 500+ users.

AI
Business
Python
FastAPI
LangChain
Redis
PostgreSQL
Docker
ZeroToDiffusion

ZeroToDiffusion

From-scratch implementation of diffusion models: derived the probability theory, built a VAE, then implemented DDPM step by step to understand image generation from first principles.

AI
Research
Python
PyTorch
Jupyter
KV-cache optimization

KV-cache optimization

Empirical comparison of MHA, MQA, and GQA attention mechanisms, measuring perplexity vs KV-cache size trade-offs on TinyStories. GQA achieved 4x cache reduction with minimal quality loss.

AI
Research
Python
PyTorch
NumPy
Transformer From Stones

Transformer From Stones

From-scratch implementation of the original Transformer architecture from 'Attention is All You Need', building multi-head attention, positional encoding, and training pipelines.

AI
Research
Python
PyTorch
NumPy
Cyber Attack Detection

Cyber Attack Detection

Machine learning-based threat detection system that identifies and classifies cyber attacks using network traffic analysis.

AI
Research
Python
scikit-learn
Pandas
NumPy
Mixture of Models Framework

Mixture of Models Framework

Research paper on the Mixture of Models (MoM) framework for intelligent LLM routing and model selection strategies.

AI
Research
Python
PyTorch
LangChain
Git-RLMs

Git-RLMs

Framework that lets LLMs analyze git repositories through an iterative REPL loop, exploring code incrementally instead of loading entire codebases into context.

AI
SWE
Python
LangChain
CrossGen

CrossGen

Cross-domain idea generator that solves problems by mapping structural relationships across unrelated fields using analogical reasoning, not surface-level keyword matching.

AI
Research
Python
FastAPI
Typer
Claude API

Vantage

AI investment assessment tool that evaluates whether an AI project is worth building, with three-year cost projections and industry benchmarks.

AI
Business
Python
LangGraph
ChromaDB
Sentence Transformers

Get Me Clients

AI-powered lead generation tool for pharmaceutical sales teams. Discovers medical professionals across Algeria's 58 wilayas using Google Maps API, with LLM-driven search refinement and quality scoring.

AI
Business
Python
FastAPI
Streamlit
Google Maps API
DeepSeek

MedVoice Assistant

Voice-enabled AI assistant for medical sales reps. Features push-to-talk, real-time transcription, and PubMed integration for citing studies during conversations.

AI
Business
TypeScript
Next.js
React
Mistral AI
AI SDK
NextAuth
Claude with Ads

Claude with Ads

Ad-supported AI chat application offering free access to Claude-level AI, funded by contextual advertising via Thrad's network.

AI
SWE
TypeScript
Next.js
React
Django
Redis

Altair

Interactive 3D data visualization platform that turns CSV datasets into particle clouds, controlled by hand gestures via webcam using MediaPipe.

SWE
TypeScript
React
Vite
Three.js
React Three Fiber
MediaPipe
Zustand

Prompt Repetition Experiment

Research replication testing whether prompt repetition improves small language models' accuracy, achieving near-doubling on ARC-Challenge benchmarks.

AI
Research
Python
PyTorch
Jupyter
LSTM from Scratch

LSTM from Scratch

From-scratch implementation of LSTM networks, building every gate and cell state mechanism from first principles with backpropagation through time.

AI
Research
Python
NumPy

Mini Compiler

Lexical analyzer and parser for Mini3ADR, a simple language with variables, arithmetic, and control flow, built with Lex/Flex for a compiler construction course.

SWE
Lex
C
Flex
Yacc/Bison
Harry Potter Text Generator

Harry Potter Text Generator

Character-level text generator using vanilla RNNs trained on Harry Potter, exploring sequence modeling and the vanishing gradient problem in recurrent architectures.

AI
Python
PyTorch
Jupyter