↓ Skip to main content

Curriculum vitae

Senior AI Engineer building secure, scalable AI platforms and tools that make complex engineering work simpler.

Edinburgh, UK · GitHub · LinkedIn

Experience
#

  1. Senior AI Engineer

    Apr 2025 – Present

    Leonardo · Edinburgh

    Own the internal AI platform and lead its delivery across engineering teams. Work alongside engineers to understand their workflows. Release early versions, then interview both frequent and infrequent users to understand what usage figures alone cannot explain. Guide architecture decisions and mentor engineers through deployment.

    • Model access and permissions. Built a Go gateway that routes requests to self-hosted models and Azure AI Foundry. It authenticates users, enforces rate limits and controls which tools each user and agent may call, adding less than a millisecond of gateway overhead.
    • Agent tools. Developed multi-agent systems and built tool-using agents with Pydantic AI, handling tool calls through the OpenAI Responses API. Wrote three multi-user Model Context Protocol (MCP) servers in Go and Python to connect agents to CloudBees and Bitbucket.
    • Retrieval and evaluation. Led delivery of a self-hosted GraphRAG chatbot that combines semantic retrieval with graph context for sensitive documents. Measured how highly the retriever ranked relevant documents using Haystack’s NDCG metric. Used DeepEval regression tests and custom evaluations to check agent behaviour as prompts changed.
    • Inference. Served language, vision-language, embedding, entity extraction and decision models using vLLM and Text Embeddings Inference (TEI). Extended vLLM and tuned serving configurations, including speculative decoding and parallel inference.
    • Production operations. Instrumented the gateway and AI services with Prometheus and Grafana; used GlitchTip to trace requests and investigate application errors. Introduced fortnightly releases across Azure and on-premises Kubernetes, with automated checks in CloudBees and rolling, zero-downtime updates through Argo CD.
    • Engineering workflows. Built pipelines to extract, clean and join data, increasing synthetic-data generation speed by approximately 30×. Consolidated signal reading and processing into one installable tool that ran faster than real time and approximately 15× faster than the previous workflow.
  2. AI Engineer

    Sep 2024 – Mar 2025

    Leonardo · Edinburgh

    Led the rollout of AI applications to hundreds of internal engineers. The applications served tens of thousands of requests a day with no downtime during working hours.

    • Served as technical lead for full-stack engineering applications. Built FastAPI services backed by Elasticsearch, MongoDB and PostgreSQL, and improved testing and performance as the applications scaled.
    • Wrote high-performance readers for complex proprietary formats so engineers could process existing datasets. Developed synthetic-data generators for AI training.
    • Owned and administered the AI/ML team’s Azure infrastructure and the developer workstations used by engineers across the business.
  3. Graduate Systems Engineer

    Sep 2023 – Aug 2024

    Leonardo · Edinburgh

    Completed Leonardo’s accelerated 12-month graduate programme within the Global Combat Air Programme Data & AI/ML team.

    • Led development of a system for querying, processing and serving large engineering datasets. This technical leadership earned a nomination for Leonardo’s 2024 innovation award.
    • Wrote readers and processors for legacy formats and built extraction, transformation and loading (ETL) pipelines. Combined optical, radar and GPS records so engineers could analyse the sources together.
    • Supported the team’s AI/ML infrastructure, maintaining and upgrading the systems used for engineering work.
  4. Mathematical Physics Research Intern

    Jul 2022

    Lancaster University · Lancaster

    Co-developed a purely functional language for symbolic mathematics in Haskell, working on its parser and built-in functions.

    • Implemented the parser that translated text into the Haskell data types used to represent expressions. Implemented arithmetic on both numbers and symbols, including exponentiation.
    • Implemented built-in functions including Type, Subs and Print, and added support for user-defined mathematical functions. Used Git to collaborate on the language and Stack to automate builds and tests.

Selected work
#

Haystack (deepset)
#

Contributed GraphRAG and FalkorDB text-to-Cypher retrieval, SPLADE sparse embedders and gRPC support for Hugging Face TEI. Built the Gotenberg document converter and improved asynchronous document-store operations and embedding throughput.

GLiNER model serving
#

Built vLLM plugins to serve GLiNER on CPUs and GPUs, with a DeBERTa encoder and fused Triton attention. Added GLiNER2.5 Decide endpoints and Haystack components for entity extraction.

Code Executor MCP
#

Built a Go MCP server for stateful Python execution in isolated Docker sandboxes, with session-scoped packages, automatic cleanup and optional gVisor isolation.

splintr-go
#

Created Go bindings for Splintr tokenisation, including parallel batch processing, bundled vocabularies and explicit native-resource cleanup.

Technical skills
#

Languages
#

Python
Go
TypeScript
Bash
C
Haskell

AI and retrieval
#

vLLM
SGLang
Pydantic AI
Docling
Haystack
GraphRAG
DeepEval
Azure AI Foundry
MCP

Infrastructure
#

Azure
Linux
Docker
Kubernetes
Argo CD
CI/CD
CloudBees
Jenkins
GitHub Actions
Prometheus
Grafana
GlitchTip / Sentry

Data and APIs
#

FastAPI
gRPC
PostgreSQL
MongoDB
Elasticsearch
Graph databases

Education
#

  1. MPhys (Hons) — Theoretical Physics

    Oct 2019 – Jul 2023

    Lancaster University · Lancaster

    Grade: First Class Honours.

    Master’s project: Programmed a Metropolis–Hastings Markov chain Monte Carlo algorithm in C to sample the Boltzmann distribution, generating a classical distribution of hundreds of interacting dipolar atoms in a quadratic trapping potential. Combined this with CASINO variational and diffusion Monte Carlo algorithms to investigate supersolidity in dipolar atomic systems confined to traps.

    Modules included:

    • Advanced Electrodynamics and Gravity
    • Advanced Relativity and Gravity
    • Computer Modelling
    • Gauge Theories
    • Quantum information processing
    • Semiconductor Device Physics