Your Coding Agent Should Do AI System Engineering — Ben Burtenshaw, Hugging Face
Summary
Ben Burtenshaw from Hugging Face proposes that coding agents can tackle complex AI systems engineering problems, moving beyond basic coding tasks. The talk outlines three progressively autonomous applications: interactively writing optimized CUDA kernels, zero-shot fine-tuning of large language models (LLMs) on Hugging Face, and establishing multi-agent auto research labs. For CUDA kernels, agents can generate valid and optimized code, with Hugging Face's "kernels" library facilitating distribution and compatibility. An example showed a 94% speedup for a Qwen 3 8B kernel on an H100 GPU. Agents can also fine-tune models like Qwen 3 6B on specific datasets. The most advanced application, AutoLab, involves a distributed multi-agent system (researcher, planner, workers, reporter) for automated AI research, integrating with GitHub, HF jobs, and the "Trackio" dashboard for metrics.
Key takeaway
For AI Engineers seeking to optimize model performance and automate research, you should integrate coding agents into your workflow. Agents can generate custom CUDA kernels for significant speedups, like the 94% observed for Qwen 3 8B on H100, and fine-tune LLMs efficiently. Explore Hugging Face's "kernels" library and "AutoLab" multi-agent framework to scale your engineering efforts and tackle complex system-level challenges, leveraging open primitives for greater control and adaptability.
Key insights
Coding agents can perform complex AI systems engineering tasks, from kernel optimization to automated research.
Principles
- Agents can write valid, optimized CUDA kernels.
- Memory, not compute, is often the GPU bottleneck.
- Open primitives and tools enhance agent control.
Method
The AutoLab multi-agent research setup involves a researcher finding hypotheses, a planner queuing jobs, workers implementing training scripts, and a reporter monitoring progress via Trackio.
In practice
- Use Hugging Face "kernels" for custom kernel distribution.
- Employ "upskill" to evaluate agent performance with open models.
- Try AutoLab for automated AI research experiments.
Topics
- Coding Agents
- AI Systems Engineering
- CUDA Kernels
- LLM Fine-tuning
- Multi-Agent Research
- GPU Optimization
Best for: AI Engineer, Machine Learning Engineer, AI Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by AI Engineer.