Open source

My projects

Code from my research and side quests: crack detection, UAV inspection, embedded sensors, and machine learning for the built world. Pulled live from GitHub.

Featured work

Things I've built and studied

  • Stage 1, before the site visit: pulls and cross-checks property records from several live sources, designs three renovation options with scaled CAD plans and interactive 3D models, prices each one, and produces a client proposal PDF.
  • Hybrid by design: LLM agents write design direction and read site photos and plans through Pydantic-validated structured outputs; any rewrite that changes a number is rejected, so every quantity, price, and hour comes from deterministic Python.
  • Stage 2, in progress: a LangGraph takeoff and budget critic feed a CP-SAT crew scheduler with task precedence, crew-size limits, skill matching, and room-occupancy constraints.
  • Runs offline without API keys, with an offline test suite that blocks every real network call.
  • Agent loop: a LangGraph state graph on local Ollama models (Qwen 2.5 for chat, DeepSeek-R1 for deep reasoning) picks among about 50 Pydantic-validated tools: documents, files, calendar, mail drafts, web, reminders, maps, and daily briefings.
  • Memory and search: conversations and facts persist in SQLite; documents are searched by meaning (ChromaDB) and by exact words (SQLite FTS5), with the source named in every answer.
  • Voice on the CPU: a custom-trained wake word, a speaker voiceprint so only the owner can wake it, faster-whisper speech-to-text, and Piper text-to-speech, leaving the GPU free for the model.
  • Safety in code, not prompts: every tool has a permission tier, risky actions pause with LangGraph interrupt() until a yes, outside text is treated as untrusted, and a prompt-injection eval plants instructions in pages, mail, and files.
  • Over 1,700 offline tests; 62/62 on the tool-choice eval against the local model.
  • Eye-tracking studies with expert building inspectors across facade and disaster case studies, published in Scientific Reports, Buildings, and the Journal of Building Engineering.
  • Benchmarked saliency-map algorithms against expert visual priorities; used gaze to guide CNN attention, improving generalization to unseen structures.
  • Optimized architectures for edge deployment: 20% lower inference latency at 85% detection accuracy.
  • A Unity package spawns 30 parameterized inspector agents (novice, intermediate, expert) across procedural bridge, building, and tunnel scenes with randomized defects, logging 3D raycast fixations, scanpaths, and saliency ground truth.
  • A Sim2Real gate compares synthetic and real expert gaze (MMD², Wasserstein, KLD, NSS) before any training data is accepted.
  • A multimodal ViT teacher (RGB + gaze, 89.7M parameters) is distilled into an RGB-only student (11.6M, 7.7× smaller): 11.5 MB as INT8 ONNX, 3.9 ms per frame on a desktop CPU, with no eye tracker needed at deployment.
  • Built the end-to-end acquisition pipeline: flight planning, image capture with geo-tagging, and custom image stitching over high-resolution geospatial data.
  • Data from 50+ inspection flights; real-time deep CNNs on edge devices improved dynamic risk-detection speed by 25%.
  • Published in Structural Health Monitoring (2021), one of my most-cited papers.
  • Shipped the MVP to production in 3.5 months: a multi-horizon Transformer ensemble on AWS SageMaker with 86% empirical coverage of 80% prediction intervals over a 3-month horizon.
  • Phase 2 (Q2) against the Q1 vanilla-Transformer baseline: the improved Transformer cut MASE by 6.5% and a Temporal Fusion Transformer variant by 11%; LSTM and LightGBM were also benchmarked.
  • Owned the full lifecycle (Snowflake-to-S3 ETL, MLflow tracking, automated batch inference, Power BI delivery), alongside an on-premise Document AI proof of concept: LayoutLMv3 fine-tuned on 1,800 pages and benchmarked against Qwen-VL and Florence-2 across 50,000+ documents.
Open source

From my GitHub

Loading repositories…