neuron-training-mxfp8-kernel-tuning-agent

neuron-training-mxfp8-kernel-tuning-agent is an agent for Claude Code from aws-neuron/neuron-agentic-development. It costs 345 tokens per session (1,354 once invoked), scanned A, original, Apache-2.0.

An agent that tunes MXFP8 matrix-multiplication and mixture-of-experts kernels for AWS Trainium, a cloud chip used for machine-learning workloads. It uses an existing training command and recipe without changing the source code, then returns tuned configuration overrides.

In plain words
What is it for?
Use it to tune dense matrix operations or mixture-of-experts operations and obtain a training command with the selected configuration.
Why use it?
It helps improve a training run's kernel settings without editing the model or training code. Measurements are made in the same Trainium environment used for training.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; names the TodoWrite tool.

Good fit Use it to tune dense matrix operations or mixture-of-experts operations and obtain a training command with the selected configuration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aws-neuron/neuron-agentic-development/neuron-training-mxfp8-kernel-tuning-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/aws-neuron/neuron-agentic-development

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for neuron-training-mxfp8-kernel-tuning-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/aws-neuron/neuron-agentic-development/neuron-training-mxfp8-kernel-tuning-agent/github.svg)](https://agentmods.dev/agents/aws-neuron/neuron-agentic-development/neuron-training-mxfp8-kernel-tuning-agent)
Your own site
<a href="https://agentmods.dev/agents/aws-neuron/neuron-agentic-development/neuron-training-mxfp8-kernel-tuning-agent"><img src="https://agentmods.dev/badge/agents/aws-neuron/neuron-agentic-development/neuron-training-mxfp8-kernel-tuning-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for neuron-training-mxfp8-kernel-tuning-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/aws-neuron/neuron-agentic-development/neuron-training-mxfp8-kernel-tuning-agent"><img src="https://agentmods.dev/badge/agents/aws-neuron/neuron-agentic-development/neuron-training-mxfp8-kernel-tuning-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 345 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00345 $0.01354
Opus 5.5 $0.00138 $0.00542
Sonnet 5.5 $0.00069 $0.00271
Haiku 4.5 $0.00034 $0.00135

Measured today against content hash 9b92ae857fd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

neuron-training-mxfp8-kernel-tuning-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/neuron-training-mxfp8-kernel-tuning-agent.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MXFP8 Kernel Tuning Agent

You tune the Neuron MXFP8 matmul and MoE kernels for one or more torchtitan training runs, with no code change, and hand back each training command with its tuned-config override.

The procedure is the skill chosen in section 0 (/neuron-nki-mxfp8-matmul-config-tuning for dense linears, /neuron-nki-mxfp8-moe-config-tuning for MoE experts). Load it first and follow it end to end: its gates, budgets and stop rules apply. This prompt adds only what the skill leaves to the caller: what to collect from the user, how to treat the machine, and what to report.

Load the skill before you name any variable, flag, file or command, even in a short answer: take names from the skill, never from memory. Every campaign starts the same way, in the environment that trains (same compiler as training): check dependencies and compiler parity with scripts/setup_env.sh --dry-run and kct.py doctor, install only after the user agrees, then capture. The run's matmul calls are captured with MXFP8_NKI_TUNED_CONFIGS_DUMP=<path> (the nkilib resolver's call dump), and the MoE kernel calls and routing with the MoE skill's scripts/moe_capture (KCT_MOE_DUMP, KCT_MOE_ROUTING_DUMP); never reconstruct shapes by hand.

0. Which skill

  • Dense linears (MXFP8LinearConverter; attention and MLP projections): the /neuron-nki-mxfp8-matmul-config-tuning skill. Output: --mxfp8_matmul_configs <json>.
  • MoE experts (NeuronMXFP8GroupedExpertsConverter; routed or expert-parallel experts): the /neuron-nki-mxfp8-moe-config-tuning skill. Output: the converter's tuning_path=<tuned.ntt.json>.
  • A MoE model whose linears are MXFP8 too: tune the experts first (they are most of the MXFP8 time), then the linears, then A/B both overrides together. Load the skill that applies and follow it end to end; the sections below apply to both.

1. Collect the inputs

Before any run, get every input in the skill's "How to use" table from the user. Ask for whatever is missing rather than guessing. The MXFP8 recipe (the config's MXFP8LinearConverter backend options, or a torchtitan-neuron *_mxfp8* recipe name) selects the kernels; every run you make must use the user's config unchanged, apart from the skill's capture, profile and override settings. Never set the old kernel env vars (MXLINEAR_FUSED_NKI, MXFP8_NKI_* kernel flags): current torchao raises on them.

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 88 lines · 345 tokens per session scan A 9b92ae857fd1

Subscribe to this mod's changes

neuron-training-mxfp8-kernel-tuning-agent is an agent published in the GitHub repository aws-neuron/neuron-agentic-development (72 stars, last pushed yesterday), licensed Apache-2.0. It adds 345 tokens to every session and 1,354 once invoked, about $0.0014 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.

Related

neuron-training-mxfp8-kernel-tuning-agent compared with agents from other repositories

neuron-training-mxfp8-kernel-tuning-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuron-training-mxfp8-kernel-tuning-agentaws-neuron/neuron-agentic-developmentAgent72yesterdayApache-2.0A345Claude Code
edge-ai-engineerpjt222/agent-almanacAgent46yesterdayMITA38Claude Code
intel-gpu-ai-skills-agentintel/gpu-ai-skillsAgent546d agoApache-2.0A37Claude Code
iot-data-specialistatretyak1985/swarmeryAgent9yesterdayApache-2.0A20Claude Code
kpzpunt-labs/voxAgent3yesterdayMITA37Claude Code
edge-ai-deployerbirol91/quorum-agentsAgent08d agoMITA20Claude Code
inference-pipeline-engineerbirol91/quorum-agentsAgent08d agoMITA22Claude Code