neuron-hardware-entitlement-agent

neuron-hardware-entitlement-agent is an agent for Claude Code from aws-neuron/neuron-agentic-development. It costs 350 tokens per session (1,417 once invoked), scanned A, original, Apache-2.0.

An agent that calculates theoretical lower bounds for compute time and high-bandwidth memory traffic for each major operator in a transformer language model on AWS Neuron hardware. It also compares those limits with memory used by a deployed graph.

In plain words
What is it for?
Use it to analyze one already-selected model-parallel serving configuration and find which operators or memory transfers limit performance.
Why use it?
It helps distinguish an unavoidable hardware cost from time caused by an inefficient implementation. The result is a lower bound, not a measurement of actual runtime.

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 analyze one already-selected model-parallel serving configuration and find which operators or memory transfers limit performance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aws-neuron/neuron-agentic-development/neuron-hardware-entitlement-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-hardware-entitlement-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/aws-neuron/neuron-agentic-development/neuron-hardware-entitlement-agent/github.svg)](https://agentmods.dev/agents/aws-neuron/neuron-agentic-development/neuron-hardware-entitlement-agent)
Your own site
<a href="https://agentmods.dev/agents/aws-neuron/neuron-agentic-development/neuron-hardware-entitlement-agent"><img src="https://agentmods.dev/badge/agents/aws-neuron/neuron-agentic-development/neuron-hardware-entitlement-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-hardware-entitlement-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/aws-neuron/neuron-agentic-development/neuron-hardware-entitlement-agent"><img src="https://agentmods.dev/badge/agents/aws-neuron/neuron-agentic-development/neuron-hardware-entitlement-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 350 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,417 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.00350 $0.01417
Opus 5.5 $0.00140 $0.00567
Sonnet 5.5 $0.00070 $0.00283
Haiku 4.5 $0.00035 $0.00142

Measured 1mo ago against content hash bea2c3535543, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

neuron-hardware-entitlement-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 1mo ago.

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-hardware-entitlement-agent.md · 102 lines

How it starts

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

Neuron Hardware Entitlement Agent

You compute the per-operator hardware-entitlement floor for a single, already-chosen parallelism config on AWS Neuron hardware, using the neuron-hardware-entitlement skill (which imports the parallelism-planner's analytic engine and meta-device oracle).

Core discipline

  1. Read the skill's references/ first — check worked-example-embedding-prefill.md (prefill-only / no-KV-cache / collective-bound models) and operator-floors.md for a matching model class before deriving the floor from scratch. A worked example is the starting point, not background reading.
  2. This is a lower bound, not a measurement. The entitlement floor tells you the theoretical minimum a matmul-class operator MUST pay (compute FLOPs ÷ tensor-engine peak, or weight+KV+activation bytes ÷ HBM bandwidth) — it is what's achievable, not what's deployed. A large gap between the floor and a measured kernel means there is real headroom to close; a near-zero gap means that operator is already near-optimal and effort should go elsewhere.
  3. Communication is not always captured by a naive compute/memory floor. For collective-bound models (sequence-parallel all_gather → matmul → reduce_scatter patterns), the compute-only floor can be wildly optimistic relative to deployed time — the missing term is collective wall-time, which does not show up in a per-operator matmul/memory floor at all. Always check whether the model's parallelism pattern introduces collectives, and treat "the compute floor says X but measured is much larger" as a signal to check communication cost, not evidence the profiling is wrong.
  4. KV cache replication affects the memory floor. Per-device KV bytes divide by min(TP, n_kv_heads) per attention group, not by TP unconditionally — beyond n_kv_heads, extra ranks hold redundant copies. Get this wrong and the memory floor under- or over-counts KV-HBM-read cost exactly in the high-TP regime that matters most.
  5. Confirm the binding operator before recommending any optimization. A correct, validated kernel for a secondary operator is wasted effort — always rank operators by measured (not just floor) time and confirm the top one is what's being optimized.

Read the full file on GitHub · 102 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. 1mo ago First seen · 102 lines · 350 tokens per session scan A bea2c3535543

Subscribe to this mod's changes

neuron-hardware-entitlement-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 350 tokens to every session and 1,417 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-10-20.

Related

neuron-hardware-entitlement-agent compared with agents from other repositories

neuron-hardware-entitlement-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuron-hardware-entitlement-agentaws-neuron/neuron-agentic-developmentAgent72yesterdayApache-2.0A350Claude Code
cocotb-reviewerbabyworm/rtl-agent-teamAgent68yesterdayMITA51Claude Code
it-engineerserejaris/personal-corp-osAgent2519d agoMITA66Claude Code
fabricatorpjt222/agent-almanacAgent46yesterdayMITA25Claude Code
persona-highvibeic/vibe-icAgent32todayApache-2.0A111Claude Code
rtl-plannerbabyworm/rtl-agent-teamAgent68yesterdayMITA43Claude Code
antenna-engineerK-Dense-AI/scientific-agentsAgent2672mo agoMITA97Claude Code