Shared runtime for the HPC MCP agent family: SSH middleware, PSI/J-style job models, scheduler backends, docs RAG, doctor, and serving, reused across per-machine plugins (Rikyu, HOKUSAI, Octopus, ...).
Project description
hpc-agent-core
Shared runtime behind the RIKEN family of HPC agent plugins — Claude Code / Codex plugins that let an agent submit and monitor jobs, manage files, and search documentation on a supercomputer over SSH.
Used by:
- Rikyu-Agent — Rikyu (GB200, Slurm)
- Hokusai-Agent — HOKUSAI BigWaterfall2 (Slurm)
- RCCS-CloudAgent — R-CCS Cloud (Slurm, heterogeneous hardware)
- and several other machine repos — see
PORTING.mdfor the full list and how they're built
Building a new agent for a new cluster? Read PORTING.md.
PORTING.md is the complete porting guide — what facts to
gather about a machine, how to wire up config.py/compute.py, what the MCP
tool surface should look like, and how to validate a port before calling it
done. If you're an agent (or a person) about to build a new machine repo on
top of this package, start there, not here.
What's here
config.py— settings resolution (env var > config file > default).middleware.py— the SSH execution layer; the only thing that talks to the cluster.models.py— PSI/J-style job models (JobSpec,ResourceSpec,Job, ...).compute/slurm.py,compute/gridengine.py— config-driven scheduler backends (script rendering, submit/status/cancel).rag/— the docs-search pipeline: BM25 keyword search, with optional vector embeddings, over a machine's bundled guide.docs_server.py,doctor.py,serving.py,mcp_server.py— the generic MCP plumbing. A machine repo mostly just supplies its own facts, guide, and tool surface on top of these.
Tool surface: the IRI Facility API
Each machine's MCP tool surface is meant to mirror the IRI Facility
API (the DOE standard this family
targets — not vendored here; fetch it fresh when checking coverage). See
IRI_CHECKLIST.md for how that spec's capability groups
map onto what this package provides versus what a machine repo still has to
write itself. Coverage verdicts (implemented/deferred/why) are
machine-specific and live in each machine repo's own IRI_CHECKLIST.md, not
here.
Development
python3 -m venv .venv && .venv/bin/pip install -e .
No machine repo depends on an unreleased local copy of this package, so
there isn't a meaningful smoke test to run standalone — validate changes
against a real machine repo (tests/smoke.py) before releasing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hpc_agent_core-0.4.10.tar.gz.
File metadata
- Download URL: hpc_agent_core-0.4.10.tar.gz
- Upload date:
- Size: 38.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e75a9eb36fdb5f5e8a5f08c13c8bb79d7882c6dc9865f5a388313f51d2513251
|
|
| MD5 |
7fea8f16bc513e2275d754bb687afa1a
|
|
| BLAKE2b-256 |
f175d0d8810e166b9f5d5a920681bf0d3f7acd6bdbe3914de76feb7a762a94f0
|
Provenance
The following attestation bundles were made for hpc_agent_core-0.4.10.tar.gz:
Publisher:
publish.yml on william-dawson/hpc-agent-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hpc_agent_core-0.4.10.tar.gz -
Subject digest:
e75a9eb36fdb5f5e8a5f08c13c8bb79d7882c6dc9865f5a388313f51d2513251 - Sigstore transparency entry: 2289187096
- Sigstore integration time:
-
Permalink:
william-dawson/hpc-agent-core@e964ff7d1366388203a61f09b0d252913804e9bd -
Branch / Tag:
refs/tags/v0.4.10 - Owner: https://github.com/william-dawson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e964ff7d1366388203a61f09b0d252913804e9bd -
Trigger Event:
release
-
Statement type:
File details
Details for the file hpc_agent_core-0.4.10-py3-none-any.whl.
File metadata
- Download URL: hpc_agent_core-0.4.10-py3-none-any.whl
- Upload date:
- Size: 44.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5751b854366293670288f4d78ab51fe43acb2d7cff9befdc6c0e293c248f2f15
|
|
| MD5 |
5afab5a45edbc02f0a6a9a25f5204089
|
|
| BLAKE2b-256 |
1220c9cd705cd1681f66b51f27d4cd7f55b685a0f0572b56eb34ed504a2fff4f
|
Provenance
The following attestation bundles were made for hpc_agent_core-0.4.10-py3-none-any.whl:
Publisher:
publish.yml on william-dawson/hpc-agent-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hpc_agent_core-0.4.10-py3-none-any.whl -
Subject digest:
5751b854366293670288f4d78ab51fe43acb2d7cff9befdc6c0e293c248f2f15 - Sigstore transparency entry: 2289187171
- Sigstore integration time:
-
Permalink:
william-dawson/hpc-agent-core@e964ff7d1366388203a61f09b0d252913804e9bd -
Branch / Tag:
refs/tags/v0.4.10 - Owner: https://github.com/william-dawson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e964ff7d1366388203a61f09b0d252913804e9bd -
Trigger Event:
release
-
Statement type: