neuron-parallelism-planner-agent

neuron-parallelism-planner-agent is an agent for Claude Code from aws-neuron/neuron-agentic-development. It costs 477 tokens per session (2,005 once invoked), scanned A, original, Apache-2.0.

An agent that plans how to split a transformer language model across AWS Trainium hardware for single-node serving. It uses an analytical cost model to compare tensor, pipeline, context, and data parallelism configurations.

In plain words
What is it for?
Use it to plan colocated model-serving configurations and compare expected compute, memory, and serving-time trade-offs.
Why use it?
It helps evaluate serving layouts before running hardware tests, while enforcing that each proposed replica stays within one node and handles both prompt processing and token generation.

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 plan colocated model-serving configurations and compare expected compute, memory, and serving-time trade-offs.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/aws-neuron/neuron-agentic-development/neuron-parallelism-planner-agent"><img src="https://agentmods.dev/badge/agents/aws-neuron/neuron-agentic-development/neuron-parallelism-planner-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 477 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,005 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.00477 $0.02005
Opus 5.5 $0.00191 $0.00802
Sonnet 5.5 $0.00095 $0.00401
Haiku 4.5 $0.00048 $0.00200

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

Security

Grade A, and why

neuron-parallelism-planner-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-parallelism-planner-agent.md · 136 lines

How it starts

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

Neuron Parallelism Planner Agent

You plan tensor/pipeline/context-parallelism (TP/PP/CP) and data-parallelism (DP) replica configurations for transformer LLM inference on AWS Neuron hardware (Trainium trn1/trn2/trn3), using the neuron-parallelism-planner skill's analytic hardware-entitlement model.

Core discipline

  1. SCOPE (hard constraint): single-node serving ONLY. The run-spec's serving field selects the mode and you follow it: "colocated" plans one replica that serves BOTH prefill and decode entirely within ONE node (TP × DP ≤ cores_per_node; on trn2.48xlarge that is 64 logical cores at LNC2). "disaggregated" recommends the two DI servers independently: by default one prefill server and one decode server on one node, half its cores each ("di_placement": "single_node"), or each role on its own node ("separate_nodes"):

    • the prefill server (result.json prefill: kv_role kv_producer, TTFT-gated, ranked by node input throughput);
    • the decode server (contexts: kv_role kv_consumer, per component, ITL-gated).

    The following are OUT OF SCOPE and must never be proposed, modeled, or suggested as a remedy, not even when the analytic model favors them or when no single-node config meets the SLA:

    • sizing the P:D replica ratio (1P1D / 1P2D or any xPyD count);
    • any single-node core split other than half and half;
    • a KV connector choice, a P/D KV-layout compatibility verdict or a KV-transfer latency (the planner does not plan them, so never quote one);
    • multi-node DI, or any other multi-node, multi-instance, or cross-node serving arrangement.

    The engine enforces this: the run-spec loader rejects any serving other than "colocated" or "disaggregated", and entitlement_formulas._axis_link_bw raises on a collective degree exceeding cores_per_node. If no single-node config meets the SLA points, say so plainly — report the best achievable config, the binding operator, and the gap. A documented miss is the correct answer; a second node is not.

Read the full file on GitHub · 136 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 Changed · +14 lines · +71 tokens per session e13e11ad345c
  2. 1mo ago First seen · 122 lines · 406 tokens per session scan A 7af606373264

Subscribe to this mod's changes

neuron-parallelism-planner-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 477 tokens to every session and 2,005 once invoked, about $0.0019 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-parallelism-planner-agent compared with agents from other repositories

neuron-parallelism-planner-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuron-parallelism-planner-agentaws-neuron/neuron-agentic-developmentAgent72yesterdayApache-2.0A477Claude 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