KDA: Kernel Design Agents for High-Performance CUDA Kernel Development
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Kernel Design Agents (KDA) offers an agent-centric workflow designed to streamline the research, implementation, verification, and iteration of performance-sensitive CUDA kernel tasks. This innovative approach leverages coding agents to accelerate the development of high-performance kernels. It is an early research prototype from NVlabs, welcoming community feedback and contributions.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Kernel Design Agents (KDA) is an agent-centric workflow developed by NVlabs, designed to leverage coding agents for researching, implementing, verifying, and iterating on performance-sensitive CUDA kernel tasks. This repository presents an early research prototype that is under active development, welcoming community feedback and contributions to further its evolution.
Why Use KDA and Its Benefits
KDA offers a structured and agent-driven approach to a traditionally complex area: high-performance CUDA kernel development. Its key benefits include:
- Agent-Centric Workflow: Automates and streamlines various stages of kernel development, from initial research to final verification, using intelligent coding agents.
- Performance Focus: Specifically tailored for tasks where performance is critical, helping developers achieve optimized CUDA kernels.
- Community Kernel Wishlist: Provides a unique platform for users to submit requests for kernel optimizations, currently supporting NVIDIA B200 and B300 GPUs, fostering collaborative improvement.
- Flexible and Independent: The workflow is designed to be independent of any single benchmark harness or hardware target, allowing for broad applicability.
- Structured Development: Promotes a recommended workspace layout that ensures comprehensive documentation of the agent's work, including drafts, plans, runs, outputs, and benchmarks, making the development process transparent and reproducible.
Installation
To get started with Kernel Design Agents, follow these steps to clone the repository and set up the necessary skills:
git clone --recurse-submodules https://github.com/mit-han-lab/kernel-design-agents.git
cd kernel-design-agents
# Link skills
mkdir -p ~/.claude/skills
ln -s "$(pwd)/skills/ncu-report-skill" ~/.claude/skills/ncu-report-skill
ln -s "$(pwd)/skills/KernelWiki" ~/.claude/skills/KernelWiki
Alternatively, you can clone the independently licensed ncu-report-skill directly:
mkdir -p ~/.claude/skills && cd ~/.claude/skills
git clone https://github.com/mit-han-lab/ncu-report-skill.git
Additionally, install the humanize Claude Code plugin from the Claude Code plugin UI:
/plugin marketplace add PolyArch/humanize
/plugin install humanize@PolyArch
Examples
KDA provides a clear "Minimal Flow" and a "Recommended Workspace Layout" to guide users in leveraging the agent-centric approach effectively.
Minimal Flow
- Create a separate implementation workspace for your target task.
- Define the task contract: objective, constraints, validation command, and promotion criteria.
- Start an agent session in the implementation workspace.
- Provide the agent with
prompts/basic-flow.md, filled with task-specific details. - Ask the agent to draft a short plan to
docs/draft.mdin the implementation workspace. - Convert the draft into an executable plan, either manually or using a planning tool like Humanize.
- Implement in small iterations, verifying after each meaningful change.
- Record candidates, benchmark or evaluation results, profiling evidence, and final promotion decisions.
Recommended Workspace Layout
For optimal organization and reproducibility, it is recommended to use a workspace layout similar to this, keeping implementation work separate from the KDA reference material:
task-workspace/
docs/
draft.md
plan.md
runs/
outputs/
profile/
benchmark.csv
candidates.jsonl
This layout ensures that enough context is recorded for another engineer to understand the process, validated outcomes, and the rationale behind the final candidate selection.
Links
- GitHub Repository: https://github.com/NVlabs/kda
- Project Website: https://nvlabs.github.io/kda/
- Contributing Guide: https://github.com/NVlabs/kda/blob/main/CONTRIBUTING.md
Related repositories
Similar repositories that may be relevant next.

ds4: A Fast Local Inference Engine for DeepSeek V4 Flash and PRO on Metal, CUDA, ROCm
August 26, 2026
ds4 is a highly optimized, native inference engine designed for DeepSeek V4 Flash and PRO models. It provides efficient local inference across various hardware platforms, including Apple Silicon (Metal), NVIDIA GPUs (CUDA), and AMD ROCm. This project focuses on delivering high performance for large language models on consumer-grade machines.

TensorRT-LLM: Optimizing Large Language Model Inference on NVIDIA GPUs
July 3, 2026
TensorRT-LLM is an open-source library by NVIDIA designed to optimize inference for Large Language Models (LLMs) and Visual Generation models. It offers a user-friendly Python API, state-of-the-art optimizations, and specialized kernels to ensure efficient performance on NVIDIA GPUs. This powerful tool enables developers to deploy LLMs with high throughput and low latency, from single-GPU setups to multi-node deployments.

Numba: A Just-In-Time Compiler for Numerical Python Functions
October 28, 2025
Numba is an open-source, NumPy-aware optimizing compiler for Python, leveraging the LLVM project to generate machine code. It significantly accelerates numerical functions, offering support for automatic parallelization, GPU-accelerated code, and ufuncs. This tool is essential for Python developers seeking high-performance computing capabilities.
Source repository
Open the original repository on GitHub.