> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# A coding agent for supercomputers: how does AMD's open HPC Assistant handle the job queue?
- URL: https://globalfeed.ai/en/a-coding-agent-for-supercomputers-how-does-amds-open-hpc-assistant-handle-the-job-queue/
- Published: 2026-11-19T13:54:07.000Z
- Updated: 2026-11-19T13:54:07.000Z
- Description: AMD's open-source HPC Assistant adds supercomputer knowledge to agents such as OpenCode and Claude Code. We walk through how it turns a plain request into a Slurm job, a GPU profile and an energy report.
- Author: GlobalFeed Editor
- Tags: AMD, supercomputing, Coding Agent, Open Source, LUMI, dil-en, elle

Picture a climate researcher using a supercomputer for the first time. They have simulation code that runs on their laptop and want to run it on a machine with thousands of GPUs. Between them and that goal sit a long user guide, storage quotas, purge policies that delete untouched files, and a job queue with its own rules. AMD's [HPC Assistant](https://www.amd.com/en/blogs/2026/amd-brings-agentic-ai-to-supercomputing-with-open-source-amd-hpc.html?ref=globalfeed.ai), announced on 16 November ahead of SC26, is built to shorten that distance. It is open source under the MIT license and the code is on GitHub.

AMD describes it as "an experienced HPC engineer inside the workflow". The researcher writes what they want in plain language, and the assistant turns it into commands, job scripts and directory choices, grounded in that machine's own documentation. The first version was built for LUMI in Finland with CSC, the centre that operates it, and AMD says it has begun working with Oak Ridge National Laboratory to bring the tool to Frontier, the first exascale supercomputer.

## Three ideas first: login node, job queue, parallel filesystem

A supercomputer behaves more like a hospital than one big computer. Researchers arrive at reception, the login node, which everyone shares, so only light work happens there. Real computing happens on compute nodes, and the Slurm scheduler decides who gets which node and when. The researcher hands Slurm a job script with the GPU count, run time, project account and program. On LUMI's GPU nodes, each with eight AMD Instinct MI250X GPUs, even that script has local rules; leave out the project account and the job is rejected before it is queued.

The third idea is the parallel filesystem. Thousands of users share a Lustre filesystem whose metadata server is common to the whole machine. The project's documentation gives a blunt example: a single `grep -r` over a project tree is enough to slow the filesystem down for everyone logged in. Listing directories and searching files is exactly what coding agents do most, so dropping one onto a supercomputer unchanged can hurt other users.

## What the tool is made of

HPC Assistant does not bring a new AI model. It takes a general coding agent, OpenCode by default with Claude Code also supported and plugin manifests for Codex and Cursor, and adds three pieces. The first is a knowledge base: before answering, the assistant searches the centre's approved documentation. On LUMI that is a CSC-run search service over MCP, continuously updated from the LUMI docs; other centres can build a local ChromaDB index. Ask where to put a 100 GB dataset and the answer is the right directory, quota and purge policy on that machine.

The second piece is skills, plain Markdown files the agent reads when a task calls for them: Slurm job management, quota and billing queries, GPU profiling with rocprofv3, energy profiling with Omnistat, and the optional GEAK kernel optimizer. They work with other agents too and can be installed alone with `npx skills add silogen/hpc-assistant`, in the same spirit as AMD [bringing its own skills to Claude and Cursor with ROCm 10](https://globalfeed.ai/en/amd-targets-its-software-gap-with-rocm-10-putting-its-own-skills-into-claude-and-cursor/). The third piece is the model backend: CSC's Aitta inference service (the LUMI default, with the open gpt-oss-120b suggested by the wizard), the Anthropic API, or any OpenAI-compatible server such as vLLM, llama.cpp or Ollama, even one running inside a Slurm job.

## Step by step

Say the researcher writes: "Run this simulation on a two-GPU node for an hour and measure how well it uses the GPU." The agent reads the machine's partitions and limits with `site_info`, asks the knowledge base which partition fits, writes a job script following the Slurm skill and wraps the program in rocprofv3\. Before submitting, it checks with Slurm's test mode and shows the full command for approval. Once the job finishes, it reads the end of the log, explains any error, and summarises which kernel took the most time, where memory traffic stalled and how well the cache was used. With energy profiling on, it reads Omnistat's per-job kilowatt-hour report card, which AMD says can also be viewed in Grafana. GEAK can then run a profile, analyse, rewrite and verify loop on a slow kernel.

The assistant can also launch ready scientific AI services. In AMD's LUMI example the researcher supplies an amino-acid sequence, and the assistant starts the OpenFold3 protein-structure service, downloads the model files, submits the job and guides visualisation. A separate AIM Agent reads a team's own model repository, writes a container recipe, builds and benchmarks it and produces a deployment report.

## Where the agent runs

The project recommends [local mode](https://github.com/silogen/hpc-assistant/blob/main/docs/LOCAL-MODE.md?ref=globalfeed.ai). The agent runs on the researcher's laptop against a local copy of the code, so reading, searching, editing and reasoning cost the shared system nothing. It reaches the cluster only through hpc-mcp, a bridge over the user's own SSH connection that exposes about a dozen named tools instead of a shell. Commands travel as argument lists, so nothing can be chained in. The bridge refuses compute on the login node, recursive traversal of the parallel filesystem and escapes such as `bash -c`, and suggests an alternative each time. Scheduler queries are throttled, output is capped, and every call is logged. Credentials stay in the user's ssh-agent; the package has no option for a key or password, and a test checks that. The project's `.hpc-assistant.json` sets the allowed paths, billing account and modules, and the agent may not edit it.

The alternative is running on the login node itself, recommended when data cannot leave the cluster. Nothing is installed system-wide; Python dependencies run in Singularity or Apptainer containers. A site-wide install needs just `module load hpc-assistant` and `hpc-assistant-init`, and a wizard covers first-time setup.

## Safety and limits

The agent's instructions forbid destructive commands without confirmation and require showing the full command before submitting or cancelling a job. OpenCode gets a [permission table](https://github.com/silogen/hpc-assistant/blob/main/docs/safety.md?ref=globalfeed.ai): reads and queue queries are allowed, job submission and file edits ask first, `rm -rf` and system administration are denied. AMD is candid that the confirmation behaviour is prompt-level and not a hard security boundary, and the safety document shows the rules can be sidestepped: `ls -R` is gated but `ls -Rla` is not. That is why the real boundary sits in the local-mode bridge. Skills and documentation are tailored to LUMI for now, a local knowledge base needs rebuilding to see doc updates, and a cold Aitta model can take several minutes to load on the first request. A validation script run on LUMI caught real bugs the tests missed, such as a project path resolving differently and a needless module load on every queue query.

CSC's Pekka Manninen says the tool brings "something genuinely new to LUMI", and Oak Ridge's Antigoni Georgiadou says it will help Frontier users make the most of every compute hour, with input from the 23-institution ADAC community. Because the code is [open](https://github.com/silogen/hpc-assistant?ref=globalfeed.ai), other centres can add their own documentation, rules and skills, which AMD explicitly invites.

Sources: [AMD announcement](https://www.amd.com/en/blogs/2026/amd-brings-agentic-ai-to-supercomputing-with-open-source-amd-hpc.html?ref=globalfeed.ai), [AMD HPC Assistant product page](https://www.amd.com/en/solutions/high-performance-computing/hpc-assistant.html?ref=globalfeed.ai), [GitHub repository](https://github.com/silogen/hpc-assistant?ref=globalfeed.ai), [Local mode documentation](https://github.com/silogen/hpc-assistant/blob/main/docs/LOCAL-MODE.md?ref=globalfeed.ai), [Safety and permission model](https://github.com/silogen/hpc-assistant/blob/main/docs/safety.md?ref=globalfeed.ai)