Collin Hargreaves

Collin
Hargreaves

UC Berkeley

interests→machine learning, inference, compilers, systems, infra, cloud, startups
hobbies→djing, cars, reading, sports, traveling

I'm a senior studying data science at UC Berkeley, most of my interests are in systems, inference, infrastructure, and deep learning.

I'm currently a machine learning engineer intern at Git Machine.

Previously I was at AWS on SageMaker HyperPod's inference and dataplane teams, and I did research at Lawrence Berkeley National Lab.

Aside from work I like to DJ, and I'm a big house music fan. Some of my favorite artists are KETTAMA and Calvin Harris. I also like to read, cook, and play sports with friends.

I'm also a Sponsorship Director at Cal Hacks. If you want to sponsor our next event or collaborate, reach out at collin@hackberkeley.org.

For anything else, email me at collin_hargreaves@berkeley.edu.

USAF Veteran, Aerospace Propulsion

Experience

Extending our GPU inference optimization loop to support SGLang alongside vLLM

SDE Intern, HyperPod DataplaneMay 2026 – Aug 2026

Built a full CI/CD pipeline for a binary artifact distribution system and shipped it to production. For our team specifically it lets us ship our agent binaries straight to a customer cluster node, without requiring them to stop training jobs.

SDE Intern, HyperPod InferenceMay 2025 – Aug 2025

Built intelligent routing for the load balancer in our inference operator. I started with sticky-session routing, pinning each conversation to a single pod so follow-up requests could reuse the KV cache already sitting there, and used it to measure how much prefill work cache reuse actually saves. That work fed into prefix-aware routing, where the router tracks which prefixes are cached on which endpoint and sends each request to the pod with the best match, weighed against its current load.

Co-authored a paper accepted to the ICML 2026 AI for Science Workshop. Built a multi-agent system that orchestrates expert decision trees with vision-language models for automated bias labeling in forestry remote sensing, outperforming supervised ML baselines while keeping it interpretable.

Leading sponsor outreach and partnerships for Cal Hacks 13.0, after helping run Cal Hacks 12.0 and AI Hackathon 2026 with 2,000+ attendees and 30+ sponsors.

Projects

prefix-x

Testing whether injecting live X data ahead of requests can optimize inference through KV cache reuse. Built a Rust gateway that proxies to xAI and injects shared context prefixes, with a Python benchmark suite to measure it.

Rust, Python, Inference, KV CacheGitHub

mainstacks

Like a producer reusing loops they have made before, mainstacks lets you extract patterns from past projects and drop them into new ones. Your agents get context on how you build things, so they stop guessing and start building the way you would

Go, TUI, HomebrewGitHub

Keel

Wrap your LLM client with one line of Python and every call, token, cost, and source location shows up in your dashboard in real time. Built to make agentic AI costs visible per agent, per function, and per line of code before they surprise you.

Python, FastAPI, MongoDB, SDK Development, APIGitHub

TreeAgent - Accepted to ICML 2026

Co-authored a paper accepted to ICML 2026 AI for Science Workshop: developed a multi-agent system (MAS) that orchestrates expert decision trees with Vision-Language Models (VLMs) for automated bias labeling in forestry remote sensing, outperforming supervised ML baselines while preserving interpretability

Python, LangChain, LangGraph, Multi-Agent Systems, VLMsPaper

Recepta

Automates medical referral intake, OCR to structured extraction to EMR auto-fill. Taught me more about customer discovery and what people actually pay for in the context of building a startup.

React, FastAPI, OCR, BrowserUseGitHub

NoBias

One of my first projects, built with some friends at the first AI Hackathon from UC Berkeley. Analyzes news article bias with GPT-4 scoring and Hume AI sentiment, then rewrites the piece from three perspectives.

React, Python, FastAPI, GPT-4, Hume AI

Readings

4.6, amazing worldbuilding, and ideas of politics, religion, control, etc

3.9, great, but definitely not as good as the first

4.0, Again, but good

4.9, probably my favorite book

3.2, fun story, nothing too crazy

3.5, remember it being decent

4.1/5 Loved this book, there were some moments where the science dragged on a bit, but overall amazing

1st book 4.3/5, 2nd 3.9, 3rd 3.3, great series though

My childhood

WaldenHenry David Thoreau
Civil DisobedienceHenry David Thoreau
Self-RelianceRalph Waldo Emerson