From Human Guidance to Autonomy: Agent Skill System for End-to-End LLM Deployment on Spatial NPUs
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Spatial neural processing units (NPUs) provide an energy-efficient platform for edge LLM inference, but efficiently deploying an LLM end-to-end on such hardware remains labor-intensive. Although AI coding agents have begun to lower this cost, existing studies have largely focused on single-kernel optimization rather than end-to-end LLM deployment on resource-constrained spatial NPUs. We present a two-stage methodology, instantiated on the AMD XDNA 2 NPU, that progresses from human-guided development to agent autonomy. In the first stage, we develop a reference deployment of Llama-3.2-1B through human-guided agent assistance. The resulting implementation achieves a speedup of 2.2x on prefill and 4.0x on decode over the hand-optimized baseline, with the optimization trajectory and its lessons recorded as structured documentation throughout. In the second stage, we distill the documentation into an agent skill system consisting of eight phases, orchestrating the optimization and debugging skill sets, with numerical correctness strictly enforced at each phase. Using our agent skill system, we autonomously deploy eight additional decoder-only LLMs (Llama-3.2-3B, SmolLM2-1.7B, Qwen2.5-{0.5B, 1.5B, 3B}, Qwen3-{0.6B, 1.7B, 4B}) end-to-end on the AMD XDNA 2 NPU using the open-source compiler stack. To our knowledge, these models have not previously been deployed on AMD NPUs via any open-source software stack. Each deployment completes in 0.5-4 hours of agent wall time with almost no human guidance, and passes the numerical-correctness gates, demonstrating functional generalization to previously unencountered LLMs. Three of the eight match or exceed the sustained performance of our Llama-3.2-1B reference deployment, suggesting that the resulting implementations can be competitive without additional model-specific human engineering.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 9 of its 23 references that are in the map. First posted on arXiv 27 May 2026.
Builds on
9 of 23 references.
References · 9
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 51
- 2025Geak: Introducing Triton Kernel AI Agent & Evaluation Benchmarkscited by 32
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 23
- 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Acceleratorscited by 13
- 2025Efficiency, Expressivity, and Extensibility in a Close-to-Metal NPU Programming Interfacecited by 9
- 2025NPUEval: Optimizing NPU Kernels with LLMs and Open Source Compilerscited by 6
- 2025Dato: A Task-Based Programming Model for Dataflow Acceleratorscited by 5
- 2025From Loop Nests to Silicon: Mapping AI Workloads onto AMD NPUs with MLIR-AIRcited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026PostTrainBench: Can LLM Agents Automate LLM Post-Training?
- 2025COALESCE: Economic and Security Dynamics of Skill-Based Task Outsourcing Among Team of Autonomous LLM Agents
- 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
- 2026InferenceBench: A Benchmark for Open-Ended LLM Inference Optimization by AI Agents
- 2026AlphaLab: Autonomous Multi-Agent Research Across Optimization Domains with Frontier LLMs
- 2026AgentPerfBench: A Benchmarking and Evaluation Suite for Inference Performance of Agentic LLMs
- 2024Can LLMs Generate Human-Like Wayfinding Instructions? Towards Platform-Agnostic Embodied Instruction Synthesis
- 2026AgentHPOBench: A Benchmark For Evaluating LLM Agents as Sequential Hyperparameter Optimizers