Projects

AI agents, AI safety research and medical deep learning first, followed by the software I've shipped.

AI & Machine Learning

Agents, AI safety, medical deep learning and generative models.

11 projects

Agentic AI · RAG

Live

Agentic Twin

A production AI agent with tool access to my resume, repositories, research and coursework, available by text chat or real-time voice.

  • Retrieval-augmented generation over 8,300+ chunks in Neon pgvector, with on-function bge-small embeddings so search runs at zero API cost.
  • Tool-calling agent built with the Vercel AI SDK: Gemini as the primary model with automatic fallback to Groq-hosted open models.
  • Real-time voice through a LiveKit agent on Gemini Live that calls the same retrieval tools mid-conversation.
  • Every tool is exposed in the chat as a / command, so visitors can query the knowledge base directly.
TypeScriptNext.jsAI SDKGeminiRAGpgvectorTransformers.jsLiveKitPython

AI Safety · Agent Evaluation

Private research

SSRP Safety Oracle

A benchmark that grades autonomous coding agents on safety as well as correctness, built on top of SWE-bench style tasks.

  • Passive safety telemetry for DeepSWE agents running on mini-swe-agent: agents run unrestricted while oracles observe silently.
  • Two orthogonal grades per trial: the functional test result and an independent safety report.
  • Detects honeytoken leakage, out-of-scope actions, test tampering, integrity violations and deceptive reporting.
PythonSWE-benchLLM AgentsDockerShell
Code available on request

AI Safety · Interpretability

Research

AI-SWE Safety Lab

Activation-steering experiments that locate the "refusal direction" inside open-weight LLMs and inject it at inference time.

  • Extracts refusal-vs-compliance directions from hidden states of TinyLlama-1.1B and Qwen2.5-Coder-3B across layers 10–25.
  • Steers generation with forward hooks and measures over-refusal on harmless coding prompts.
  • Visualizes how steered prompts move between refusal and compliance clusters with PCA.
PythonPyTorchHugging FaceInterpretabilityPCA

Medical AI · Deep Learning

Research

Cardiovascular Age from ECG & VCG

Research at Houston Methodist estimating cardiovascular age from 12-lead ECGs and 3D vectorcardiograms.

  • Trained ResNet50 models on MIMIC-IV and PTB-XL to estimate cardiovascular age and structural cardiac health.
  • Found the VCG-derived age gap to be a stronger ICU mortality biomarker than standard ECG (HR = 1.22, Cox proportional hazards).
  • Explained predictions with Captum feature attribution, and built CardioVectorLib for ECG-to-VCG reconstruction.
PythonPyTorchResNetCaptumSurvival AnalysisSignal Processing

Medical AI · Mobile ML

ElectroVector

An iOS app that digitizes photographed 12-lead ECG scans and converts them into vectorcardiograms.

  • Captures ECG printouts with the camera and digitizes the waveforms with ML models served from a Flask backend.
  • Transforms digitized signals into 3D vectorcardiogram representations for cardiac analysis.
SwiftSwiftUIPythonPyTorchFlaskAWS

Computer Vision · Healthcare

AI Medical Labeler

SAM2-powered pre-labeling for Label Studio that makes medical image annotation faster and cheaper.

  • Cut manual image annotation time by 60% by pre-labeling images with a Medical SAM2 backend.
  • Click-prompted interactive segmentation, with full-image auto-segmentation when no prompts are given.
  • Fully Dockerized so clinics and labs can deploy it without ML expertise.
PythonPyTorchSAM2Label StudioDocker

Computer Vision · Full Stack

MedAnnotate

A locally hosted annotation platform for healthcare teams with SAM2 and SAM3 assisted labeling.

  • FastAPI backend with JWT auth, projects and multipart dataset uploads; React and TypeScript annotation UI.
  • Optional local SAM2/SAM3 service for point- and text-prompted pre-labeling, so patient data never leaves the machine.
PythonFastAPIReactTypeScriptSAM2SAM3

Generative Models · Research

Research

Diffusion Models as Markov Chains

Denoising diffusion models built from scratch, studied through the lens of Markov chains and stochastic processes.

  • Implements forward noising and learned reverse processes for 1D and 2D distributions.
  • Verifies reconstructions statistically and with interactive step-by-step visualizations.
PythonPyTorchDiffusionProbability

Generative Models

Bayesian Variational Autoencoder

A Bayesian VAE that models uncertainty in both latent variables and network weights.

  • Encodes inputs as distributions regularized toward a Gaussian prior, with Bayesian priors on the weights.
  • Trained and evaluated on MNIST with reconstruction and latent-space visualizations.
PythonPyTorchVAEBayesian Inference

NLP · AI Safety

Agent Issue Safety Classifier

Classifies and clusters GitHub issues from AI coding tools to surface safety failures.

  • Regex taxonomy for privacy leaks, destructive actions, crashes, hangs and resource exhaustion.
  • Unsupervised TF-IDF + K-Means clustering, compared against an LLM-based classifier.
Pythonscikit-learnNLPLLMs

Statistical ML

Expectation-Maximization from Scratch

Educational implementations of EM for latent-variable models, with an accompanying blog post.

  • Covers the classic two-coin problem and Gaussian mixture model clustering.
PythonNumPyGaussian Mixtures

Software Engineering

Full-stack products and developer infrastructure.

4 projects

Agent Infrastructure

Team project

Dispatch

Manage local coding agents (Claude Code, Cursor) from a phone call or a web dashboard.

  • Voice commands flow through Twilio into an orchestrator that runs them on your machine via a local helper daemon.
  • Streams stdout and stderr back to a dashboard with per-project history, secured with Supabase JWTs and scoped agent tokens.
TypeScriptNext.jsFastAPISupabaseTauriTwilio

Full Stack

This Portfolio

The site you are on: a Next.js app with a blog, a headless CMS on Vercel Blob, and the Agentic Twin.

  • Password-protected admin panel for editing posts, projects and the about page.
  • Serverless API routes, including the RAG chat, voice token and knowledge-base endpoints.
TypeScriptNext.jsReactTailwindVercel

Full Stack

Clinic Management System

A clinic dashboard for patient check-in, scheduling and custom medical forms.

  • Dynamic form builder, appointment scheduling and patient profiles on a Flask API with Firebase auth.
JavaScriptReactMaterial UIFlaskFirebase

Full Stack

Team project

Genetic Metadata Sharing Platform

A secure platform for researchers to share and analyze patient genetic metadata.

  • Authenticated uploads and configurable processing such as genetic similarity analysis.
JavaScriptReactNode.js

Want the full picture, including industry work?