Catalog PyPI
PACKAGE EXPLORERView in registry

agentic-hdf5

PyPI

HDF5 tools and semantic metadata for agentic workflows

Versions collected1
Direct dependencies8From release 0.2.0
Last observed20 Oct, 22:16 UTC

README

Version 0.2.0 documentation

Agentic HDF5

Test Agentic HDF5 Tools GitHub tag

A set of expansions and tools for Claude Code that enable AI agents to work at a high level with HDF5 data and files. Provides 10+ tools, 14+ skills, support for semantic metadata, and natural language search of vectorized semantic metadata.

Prerequisites

Claude Code must be installed. The MCP server is fetched and run via uvx, so uv must also be installed — all Python dependencies (h5py, numpy, matplotlib, etc.) are resolved automatically.

Installation

Run these slash commands inside a Claude Code session to register the plugin marketplace and install the plugin:

# Add the marketplace (one-time)
/plugin marketplace add mattjala/agentic-hdf5

# Install the plugin
/plugin install ahdf5-plugin@agentic-hdf5

This gives you all 14+ skills and 10 MCP tools automatically.

For development/testing, clone the repo and load the plugin directly:

git clone https://github.com/mattjala/agentic-hdf5.git
claude --plugin-dir ./agentic-hdf5/plugin

Architecture

Agentic HDF5 is composed of two complementary layers — tools and skills — that can be used independently or together.

Tools

Tools are Python functions that agents call to perform concrete operations on HDF5 files. They handle the actual file I/O: reading metadata, rechunking datasets, applying compression filters, writing semantic metadata, generating visualizations, and running semantic searches. Tools live in the tools/ directory and are registered in tools/tool_catalog.json.

ToolDescription
get_object_metadataInspect dataset/group properties (shape, dtype, chunks, compression)
rechunk_datasetModify chunk layout (larger, smaller, exact dimensions, contiguous)
apply_filter_datasetApply or remove compression filters (gzip, szip, shuffle, etc.)
visualizeGenerate plots from datasets (line, heatmap, histogram, contour, etc.)
read_semantic_metadataRead semantic metadata (SMD) from an HDF5 object
write_semantic_metadataWrite or update SMD on a single object
collect_objects_for_smdScan a file for objects missing SMD
write_smd_batchWrite SMD to multiple objects in a single transaction
vectorize_semantic_metadataEmbed all SMD into vector representations for search
query_semantic_metadataNatural language semantic search over vectorized SMD

Skills

Skills are curated knowledge documents that teach the agent how and when to apply HDF5 best practices. They are loaded on-demand when a user's request matches the skill's domain, giving the agent expert-level guidance without bloating its context on every interaction. Skills live in .claude/skills/.

SkillDomain
hdf5-chunkingChunk layout strategies and optimization
hdf5-filtersCompression and filter selection
hdf5-ioGeneral I/O performance tuning
hdf5-cloud-optimizedCloud/S3 access, paged aggregation, ros3 VFD
hdf5-core-vfdIn-memory file driver
hdf5-parallelMPI-IO and parallel HDF5
hdf5-swmrSingle Writer Multiple Reader access
hdf5-vdsVirtual datasets across multiple files
hdf5-vol-usageUsing VOL connectors (DAOS, Async, Cache, REST)
hdf5-vol-devDeveloping custom VOL connectors
hdf5-visualizationPlot type selection and matplotlib guidance
hdf5-scientific-publishingDOIs, Zenodo/Dataverse, FAIR data practices
hdf5-omni-selectiveOMNI file creation for selective data download
hdf5-optimizationGeneral HDF5 optimization scripts

How They Work Together

Tools and skills are designed to complement each other but neither requires the other:

  • Skills alone — An agent can use skill knowledge to advise on HDF5 best practices (e.g., recommending a chunk layout) without modifying any files.
  • Tools alone — An agent can call tools to inspect, optimize, or annotate files using the tool's built-in logic, without loading any skill context.
  • Skills + Tools — The most powerful mode. A skill provides the agent with expert knowledge (e.g., chunking strategies for cloud access patterns), and the agent then uses tools to apply that knowledge to specific files (e.g., rechunking a dataset with the recommended layout).

Semantic Metadata (SMD)

Semantic metadata attributes (ahdf5-smd-*) attach human-readable, structured descriptions to HDF5 objects — describing what data represents, its provenance, units, and scientific significance. SMD bridges the gap between raw array data and human understanding.

See docs/semantic-metadata.md for the full specification.

Vectorized Semantic Metadata (VSMD)

VSMD converts text-based SMD into vector embeddings stored directly in the HDF5 file, enabling natural language search over datasets. An agent (or user) can query "temperature measurements in Celsius" and retrieve the most semantically relevant objects — without needing to know paths or attribute names.

See docs/vectorized-semantic-metadata.md for the design document.

Testing

python -m pytest tests/

Agent Tool Selection Evaluation

The tests/agent_tool_selection/ suite evaluates whether Claude models correctly identify the right HDF5 tool from natural language prompts. Run from a normal terminal (not inside Claude Code):

pytest -m agent tests/agent_tool_selection/ -v --model haiku
DateModelParametersScore
2026-03-16Claude Opus 4.6Not disclosed7/7 (100%)
2026-03-16Claude Sonnet 4.6Not disclosed7/7 (100%)
2026-03-16Claude Haiku 4.5Not disclosed7/7 (100%)
2026-03-16Claude 3 Haiku~20B (est.)7/7 (100%)

See tests/agent_tool_selection/RESULTS.md for full methodology and detailed results across prompt modes.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.020 Mar 20268

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mattjala/agentic-hdf5

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:eb0b632558548d4fc578ee162d3b6f200df176cc6c6cec3aeaccf6a25656c62e