About

I study information technology. I’m interested in how machines interpret images and language. Most of my projects start with something I’ve been reading about and want to try for myself.

I write about what I learn along the way. Sometimes that’s a short note, and sometimes it turns into a blog post. I also enjoy contributing to open source. Working on a shared codebase gives me a chance to learn from other developers and improve tools that people use.

For a little about me beyond engineering, see my personal notes.

Computer vision
I’m interested in how computers learn from images and video and make sense of the visual world.
Language models
My interests range from how language models are built and trained to how they find and use information.
Open source and writing
Open source gives me a chance to build with others and share what I learn through code and writing.

Selected projects

Molecule

Molecule

Python · FastMCP · SQLite · Sentence-Transformers

Molecule gives AI agents persistent memory and retrieves individual sections of long documents. Returning only the relevant section reduced context token use by about 78% in this project.

How memory and retrieval work

The server splits Markdown by heading and ranks sections using embeddings, BM25 and heading matches. Agent feedback informs subsequent rankings. A separate pipeline extracts facts from transcripts without a language-model call, removes duplicates, flags conflicts and expires stale records.

CREO for Retail

CREO for Retail

Python · FastAPI · React · OpenCV · Docker · Kubernetes

CREO checks retail advertisements against brand rules before generating the artwork. Catching prohibited claims and layout violations early reduced rejections by about 60%. The project placed among the top 40 of more than 8,000 teams at the Tesco Retail Hackathon.

How an advertisement is checked

An OpenCV pipeline detects people and alcohol so the validator can apply the relevant restrictions. A geometric layout solver then fits the approved elements to each output format, keeping them clear of reserved areas and one another.

Logos

Logos

Azure AI Foundry · Python · FastAPI · MCP · Docker

Logos turns a research brief into an industry report. Six specialised agents on Azure AI Foundry pass their findings from planning and research through competitive analysis and writing.

How research carries across stages

Each agent receives the context accumulated by earlier stages. Tavily and Bing provide live web search through the Model Context Protocol. Separate memory layers track entities, user profiles and context across sessions for financial and technical research.

DEPTH

DEPTH

Python · OpenCV · AWS Graviton

DEPTH helps reviewers find lost fishing gear in side-scan sonar surveys. A CPU-only OpenCV detector flags derelict crab pots and wreck debris for review before a recovery plan is approved. The project received a $150 implementation award at the OpenCV AI Competition with AWS.

How detections reach a reviewer

A calibration step estimates, at 95% confidence, how many pots will reach review and checks whether the estimate applies to the recording under inspection. The detection pipeline runs on AWS Graviton.

ICL

ICL In progress

Qwen3-4B · vLLM · Python · BM25

This ongoing FlagOS challenge project studies how examples in a prompt affect automatic data annotation. The task requires Qwen3-4B to label eight test sets using at least 30,000 tokens of demonstrations per prompt, without fine-tuning.

What the experiments compare

The experiments vary demonstration selection, ordering and context length. Prefix caching supports repeated prompts, constrained decoding keeps outputs parseable, and calibration addresses uneven label frequencies. Other trials derive guidelines and programs from the demonstrations.

Open Source

PyTorch ExecuTorch

PyTorch ExecuTorch

pytorch/executorch · pull request #19508 · merged

Unified the Android developer documentation for ExecuTorch: added the Java API reference to the main site, restructured the Android SDK sidebar, and fixed CI failures in link checking and Google-style Java formatting, so Android developers get a single, consistent onboarding path.

sktime

sktime

sktime/sktime · pull request #9546 · GitHub Actions

A GitHub Actions workflow that posts step-by-step guidance when code-quality checks fail on a pull request, replacing opaque CI errors with instructions for fixing formatting locally with pre-commit. Aimed at first-time contributors.

Cyclops

Cyclops

cyclops-ui/cyclops · issue #885 · documentation

A documentation contribution to Cyclops, an open-source Kubernetes deployment UI, improving clarity for people setting it up for the first time.

Weekend projects

BaseLine

BaseLine

JavaScript · VS Code Extension API · MDN compatibility data

A VS Code extension that performs static analysis on HTML, CSS and JavaScript against live MDN browser-compatibility data and flags features that are not yet Baseline with inline hover diagnostics. The extension follows redirects and caches compatibility data for 24 hours.

LLM Loves Internals

LLM Loves Internals

PyTorch · Python · FastAPI

An educational roadmap and codebase that implements core transformer mechanisms from scratch in PyTorch. It builds a complete GPT-style model step by step: tokeniser, embeddings, self-attention and multi-head attention, residual connections and the training loop, ending in a FastAPI backend with a simple chat interface.

RAG From Scratch

RAG From Scratch

Python · NumPy

A modular, wrapper-free retrieval-augmented generation system in plain Python and NumPy. Every stage is written by hand: text loaders, chunking, local embeddings, dense vector search, hybrid retrieval with reciprocal rank fusion, and cross-encoder re-ranking, so the mathematics of semantic search stays visible.

Web Scraper and Crawler

Web Scraper & Crawler

Python · asyncio · BeautifulSoup · Playwright · MCP

An asynchronous crawling system exposed as an MCP server. Dual engines handle static HTML with BeautifulSoup and JavaScript-rendered pages with Playwright; a breadth-first crawler respects robots.txt and rate limits; and both stdio and remote SSE transports are supported.

Recognition

  1. 2026
    OpenCV AI Competition 2026 with AWS, $150 implementation award for DEPTH, the marine debris detection project.
  2. 2026
    Elastic Blogathon 2026, top 100, for the essay "RAG: Building Reliable AI Pipelines".
  3. Jan 2026
    QIE Blockchain Hackathon, winner, with SafeMint, a trust-first token launch platform.
  4. Dec 2025
    Tesco Retail Hackathon, finalist, top 40 of more than 8,000 teams, with the CREO creative generator.
  5. Nov 2025
    Cardano IBW 2025 Asia Hackathon, finalist, with a DeFi application using zero-knowledge proofs built in 30 hours.

Selected writing

RAG: Building Reliable AI Pipelines

Feb 2026 · Medium · Elastic Blogathon 2026, top 100

How to design, evaluate and deploy retrieval-augmented generation pipelines that hold up in production.

All posts on Medium

· View source