<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration-pytorch-zmflo0kme" -->

---
title: KernelAgent: Hardware-Guided GPU Kernel Optimization via...
description: KernelAgent is an open-source multi-agent system from the PyTorch team that automates GPU kernel optimization by integrating real hardware profiling signals...
canonical: https://daily.dev/posts/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration-pytorch-zmflo0kme
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: KernelAgent: Hardware-Guided GPU Kernel Optimization via Multi-Agent Orchestration – PyTorch | daily.dev
og:description: KernelAgent is an open-source multi-agent system from the PyTorch team that automates GPU kernel optimization by integrating real hardware profiling signals...
og:url: https://daily.dev/posts/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration-pytorch-zmflo0kme
og:image: https://api.daily.dev/og/posts/ZMFlO0kme.png
og:image:alt: KernelAgent: Hardware-Guided GPU Kernel Optimization via Multi-Agent Orchestration – PyTorch
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# KernelAgent: Hardware-Guided GPU Kernel Optimization via Multi-Agent Orchestration – PyTorch

**[PyTorch](https://daily.dev/sources/pytorch)** · 16 min read · 1 upvotes · 0 comments

## Summary

KernelAgent is an open-source multi-agent system from the PyTorch team that automates GPU kernel optimization by integrating real hardware profiling signals into a closed-loop workflow. The system decomposes the optimization process into specialized agents: a Profiler (using NVIDIA Nsight Compute), a Diagnose Agent (roofline analysis), a Prescriber, an Orchestrator, parallel Optimization Workers, and a Benchmarking Agent. Across 100 KernelBench L1 tasks on H100, it achieves 1.56x speedup over default torch.compile and 89% of hardware roofline efficiency. A detailed matrix-vector multiplication case study shows how the system iteratively discovers architectural changes—like switching to one-row-per-program with scalar accumulators—that LLM-only approaches without hardware feedback miss. Key design principles include grounding decisions in real hardware metrics, parallel exploration with beam search, and shared reflective memory across rounds.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://pytorch.org/blog/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration/>

## Similar posts on daily.dev

- [KernelFalcon: Autonomous GPU Kernel Generation via Deep Agents – PyTorch](https://daily.dev/posts/kernelfalcon-autonomous-gpu-kernel-generation-via-deep-agents-pytorch-irumnkigd) · PyTorch · 0 upvotes · 0 comments
- [KernelEvolve: How Meta’s Ranking Engineer Agent Optimizes AI Infrastructure](https://daily.dev/posts/kernelevolve-how-meta-s-ranking-engineer-agent-optimizes-ai-infrastructure-zmjnb3zdm) · Facebook Engineering
 · 0 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#pytorch](https://daily.dev/tags/pytorch)

[View this post on daily.dev](https://daily.dev/posts/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration-pytorch-zmflo0kme)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"KernelAgent: Hardware-Guided GPU Kernel Optimization via Multi-Agent Orchestration – PyTorch","url":"https://daily.dev/posts/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration-pytorch-zmflo0kme","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration-pytorch-zmflo0kme"},"datePublished":"2026-03-06T20:03:40.339Z","dateModified":"2026-03-06T20:04:01.291Z","description":"KernelAgent is an open-source multi-agent system from the PyTorch team that automates GPU kernel optimization by integrating real hardware profiling signals...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"PyTorch","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"PyTorch","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/5fdab3d75a834a97a52d433d9c7e5ff9","url":"https://daily.dev/sources/pytorch"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/kernelagent-hardware-guided-gpu-kernel-optimization-via-multi-agent-orchestration-pytorch-zmflo0kme","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,pytorch","timeRequired":"PT16M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PyTorch","item":"https://daily.dev/sources/pytorch"},{"@type":"ListItem","position":3,"name":"KernelAgent: Hardware-Guided GPU Kernel Optimization via Multi-Agent Orchestration – PyTorch"}]}
```

