AI Engineer

Tristan J. Legg

Engineer building AI systems and agents.

About

Building toward AI worth scaling.

I'm an AI engineer with a research background in deep reinforcement learning. My Master's thesis at Stellenbosch was on environment discovery in unknown 3D worlds: RL agents that learn how to explore on their own.

A few hands-on projects: a complete DQN in pure C with no dependencies, diffusion models I fine-tuned from a base checkpoint, and smaller training experiments where I wanted to see the internals up close.

What I'm pulling toward is frontier research and engineering at AI labs, in areas like model training, alignment, agents, and RL. I want to build AI that's effective, safe, and worth scaling, on problems that have a real shot at mattering.

Selected Work

Projects.

DQN agent playing CartPole
Open Source

DQN from Scratch

A complete Deep Q-Network reinforcement learning algorithm built from scratch in pure C. CartPole environment, neural networks, matrix ops, and visualisation — no external dependencies.

C Neural Networks Reinforcement Learning
Experience & Education

Background.

  1. Nov 2025 — Present

    Applied AI Engineer

    Jem

    Lead the agentic finance automation stack. Build production agents with structured tooling and knowledge bases to automate finance workflows like reconciliations. Cover backend architecture, security design, and CI/CD around them.

  2. Feb 2023 — Dec 2024

    Master's in Electronic Engineering (MEng)

    Stellenbosch University

    Thesis: Maximising Environment Discovery in Expansive 3D Worlds. Developed reinforcement learning systems and implemented multiple neural network architectures including custom transformer models with attention mechanisms. Supervisor: Prof. Herman Engelbrecht.

  3. Jul 2022 — Jun 2024

    Learning Assistant

    Stellenbosch University

    Tutored students through tutorials and practicals for the university's computer systems and computer programming modules.

  4. Dec 2020 — Feb 2021

    Software Developer Intern

    DataBalk.nu, The Netherlands

    Bootstrapped the front-end of an Enterprise Resource Planning system. Worked on modularity and reusability with an international team and on-boarded new recruits.

  5. Feb 2019 — Dec 2022

    Bachelor's in Electrical and Electronic Engineering (Honours)

    Stellenbosch University

    Honours Thesis: Parallelising Inference in Probabilistic Graphical Models. Achieved 2.21x speed-up on an 8-core system through efficient parallel implementation.

Skills

What I work with.

Machine Learning
Deep Reinforcement Learning Generative AI PyTorch LangChain LangGraph Pydantic Anthropic SDK Parallel Processing
Programming
Python TypeScript C/C++ Node.js SQL LaTeX HTML/CSS
Backend & Infrastructure
Supabase PostgreSQL React GitHub Actions Google Cloud Run Railway Docker
3D Development
Unity OpenGL
Engineering Approach
Systems Architecture Security-First Design Agentic System Design Production Reliability
Contact

Get in touch.

Always open to interesting conversations around research, engineering, and AI systems.