mat-bench-client

Coordinate mat-agent-bench evaluation runs via /bench API endpoints.

3|2|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/ruoyuwang1995nya/mat_agent_bench --skill mat-bench-client
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mat-bench-client
Source: https://github.com/ruoyuwang1995nya/mat_agent_bench/tree/main/mat_bench_client
Command: npx skills add https://github.com/ruoyuwang1995nya/mat_agent_bench --skill mat-bench-client

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml.

What problem does it solve?

This Skill automates the setup, execution, submission, and scoring loop for evaluating AI agents on materials science benchmark questions hosted by a mat-bench server.

Core Features & Use Cases

  • One-time authentication & session management: Creates and persists a server session using a provided API token so you can run multiple questions without reconfiguring.
  • Question discovery and prompt retrieval: Lists questions by capability/domain and fetches a specific question to obtain the full prompt and required data filenames.
  • Data download, result submission, and polling: Downloads the question’s data files, uploads produced outputs for grading, and polls until checkpoints and weighted scores are available.
  • Use cases: Run structured materials-science tasks (structure retrieval/construction, input generation, workflow orchestration, batch processing, diagnosis, scientific analysis, execution contract checks, and safety/refusal) and produce auditable, scored runs for agents.

Quick Start

Ask mat-bench-client to fetch a question prompt and data by running mat-bench-client question SR_db_001_20260411v2.

Frequently Asked Questions about mat-bench-client

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run end-to-end evaluations for materials science AI agents?

To run materials science agent evaluations, you need a tool that coordinates question retrieval, data download, task submission, and grading. This client automates the entire loop by applying your authenticated session to fetch prompts, upload multipart outputs, and poll the benchmark server for weighted scores.

Can I submit benchmark scoring results asynchronously using a REST API?

Yes, you can submit benchmark scoring results asynchronously via REST API. The client supports multipart file upload for produced outputs and handles asynchronous polling, waiting until the benchmark server returns available checkpoints and final weighted scores for the submitted agent tasks.

What is required to authenticate an agent evaluation session for batch processing?

Authenticating an agent evaluation session requires a pre-created server session using a provided API token. Once configured, this session persists, allowing you to run multiple materials science questions across domains like structure retrieval, workflow orchestration, and safety scenarios without needing to reauthenticate.

Does the mat-bench-client support scientific analysis and execution contract validation?

Yes, mat-bench-client supports scientific analysis and execution contract validation. It orchestrates structured materials science tasks including batch processing, data diagnosis, and safety/refusal scenarios, producing auditable and scored runs to validate the execution contracts of your AI agents.

How do I retrieve question prompts and required data files for benchmark scoring?

To retrieve question prompts and data files for benchmark scoring, you request the server to list questions by capability or domain. After fetching a specific question, the client automatically downloads the associated data files required to execute the materials science agent workflow.

What are the limitations of using pyyaml for workflow orchestration in agent evaluation?

Using pyyaml for workflow orchestration in agent evaluation limits dependencies to YAML parsing only. The client requires a pre-existing authenticated server session and relies entirely on external REST API endpoints for task execution, meaning it cannot function offline or without valid server credentials.