MaxKernel: Agentic Kernel Generation for TPUs
Shangkun WangShengnan CaiCharles HongJulian WalkerGerson KroizGeorge VanicaALEXANDRU GAVRILESCUHassan SipraDeepak PatilSethuraman Sankaran
Shangkun Wang
Shengnan Cai
Charles Hong
Julian Walker
Gerson Kroiz
George Vanica
ALEXANDRU GAVRILESCU
Hassan Sipra
Deepak Patil
Sethuraman Sankaran
+10
MaxKernel is a multi-agent system for generating high-performance TPU kernels, implemented through three paradigms: a Human-in-the-Loop agent for collaborative, step-by-step design, an Autonomous agent running a fully automated metric- and trace-driven optimization loop, and a Graph-Based Autonomous Search that scales this autonomous agent to global design-space exploration. All three draw on a shared pool of specialized sub-agents for planning, implementation, self-debugging, testing, and hardware profiling. Evaluated on JaxBench, a 50-task TPU kernel suite, plus complex workloads from state-of-the-art open-source models, MaxKernel consistently matches expert hand-tuned baselines and delivers significant performance improvements.

OpenReview ·
· August 27, 2026