Nelson Elhage


I'm currently an engineer and researcher at Anthropic. I currently work on our pretraining team; before that I worked on reverse-engineering large language models. You can read that team's research .

Previously, I've worked at:


As a personal project, I've put together, a site which allows for realtime regex searching of the Linux kernel as-you-type, using Russ Cox's RE2 regex library, and a custom indexing backend.

It's open-source and you can deploy it for your own source code! It's also one of the backends for Mozilla's SearchFox.


I write at a number of online venues. You can find stuff I've written at:



I've previously done some security work for various open-source projects, including the Linux kernel and KVM. I presented at Black Hat USA 2011 about some work I have done on KVM. My slides and code for that talk are now available online.