Skip to main content
Challenge

Model Hardware Standard Physical Device Safety Controller with Claude Agents SDK

Safely enforce hardware constraints for AI agents interacting with physical devices. Build a safe device controller using Claude Agents SDK and the Model Hardware Standard specification to validate actuator motion ranges and emergency shutdown triggers before command execution.

EngineeringHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Develop an MHS safety execution harness using Claude Agents SDK that intercept physical hardware command calls and verifies safety boundary rules before execution.

Delivery guide

How work is evaluated

Evaluation

Evaluates MHS command validation accuracy and interceptor safety enforcement.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

Safety Boundary Enforcement

Ensure out-of-bounds commands return approved == False.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

Safety Compliance Score

Ratio of correctly validated vs misvalidated commands. • target: 1 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Implement the Model Hardware Standard (MHS) safety verification pattern.

  • Utilize Claude Agents SDK to structure safe multi-step hardware interaction loops.

  • Interceptors and validation wrappers for physical actuator inputs.

Resources and assets

Reference links and supporting material

Dataset notes

MHS telemetry and command log suite containing valid and physical safety violating robotic arm instructions.

Challenge setup

Evaluates MHS command validation accuracy and interceptor safety enforcement.

Challenge input

JSON containing command, velocity, hardware_safety_limits

Claude Agents SDK

Anthropic agent SDK for Claude.

Evaluated output

JSON approved boolean, reason, executed_command

Evaluation checks
  • Ensure out-of-bounds commands return approved == False.
  • Ratio of correctly validated vs misvalidated commands. • target: 1 • range: 0-1
Configured evaluation evidence
  • Benchmark: Model Hardware Standard Compliance Suite
  • Safety Compliance Score target: 1
  • 1 public reference case
Configured runtime
  • Python execution harness
  • Python sandbox (unavailable on Versalist)

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • Claude Code · Required
  • Anthropic · Optional
Observation
  • Claude Code · Required
Policy Serving
  • Claude 4.1 Opus · Optional

Evaluation contract

  • Safety Boundary Enforcement · Weight 1
  • Safety Compliance Score · Weight 1

Metrics

  • Safety Compliance Score · Target 1

Benchmarks

  • Model Hardware Standard Compliance Suite
  • robotics

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON containing command, velocity, hardware_safety_limits

    Output: JSON approved boolean, reason, executed_command

    Execution harness: Python

Evaluation tools

  • Claude Agents SDK · Agent Framework

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Model Hardware Standard Physical Device Safety Controller with Claude Agents SDK