Akshay Agrawal

A picture of Akshay.

Ph.D. Candidate in Electrical Engineering, Stanford University
M.S., B.S. in Computer Science, Stanford University
[email protected]

Github / Google Scholar / LinkedIn / Resume / Blog


I am a second-year Ph.D. student at Stanford University, where I am advised by Professor Stephen Boyd; I am supported by a Stanford Graduate Fellowship. I conduct research in optimization and machine learning, along with their applications. I am one of the principal developers of CVXPY 1.0, a domain-specific language for convex optimization that is used by many universities and companies. Previously, I was a full-time software engineer on the Google Brain team, where I worked on TensorFlow 2.0 and the core TensorFlow runtime.

I graduated from Stanford in 2017 with a B.S. and M.S. in computer science and a minor in mathematics. I focused my studies in computer systems, artificial intelligence, and theory. During my undergraduate and Master's career, I published research in convex optimization and applied machine learning with Professor Boyd and Dr. Andreas Paepcke. Throughout my time at Stanford, I have been fortunate to have Professor Mehran Sahami as a mentor.

If computer science is my first passion, then writing is my second: I served as a writer, news desk editor, and investigative news editor for The Stanford Daily, and I blog at debugmind.com.



I am available for consulting related to CVXPY and TensorFlow, as well as mathematical programming and machine learning more broadly. Contact me to schedule an initial consultation.

I have industry experience in designing and building software for machine learning (TensorFlow 2.0), motion planning and control for autonomous vehicles, and performance analysis of Google-scale software systems.

From 2017-2018, I worked on TensorFlow as an engineer on Google Brain team. Specifically, I developed a multi-stage programming model that lets users enjoy eager (imperative) execution while providing them the option to optimize blocks of TensorFlow operations via just-in-time compilation.

I honed my technical infrastructure skills over the course of four summer internships at Google, where I:


I spent seven quarters as a teaching assistant for the following Stanford courses:


Technical Reports