Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for research and development engineers

Hardware-in-the-Loop Test Run Agent

Run the full rig suite unattended and classify each failure with evidence

Hardware-in-the-Loop Test Run Agent: what goes in, what the agent does and what you get

What it does

Running scenarios on a rig by hand is slow, and when something fails people argue about whether the rig or the code is at fault. This agent flashes the build to the device, runs the scripted scenarios in order, and records signals such as voltages, bus traffic and timing. When a test fails it reruns it, then checks the rig state: supply voltage, cable connections, temperature, the last calibration. It classifies each failure as rig, code or timing, with the evidence. It repeats the failing scenario after a rig reset to confirm. The engineer approves the summary before it goes to the team. Edge case: a test only fails right after a power cycle, so the agent notes the pattern as a timing issue.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN New build or nightly schedule 2 USES A TOOL Check rig health and flash the build 3 USES A TOOL Run the scripted scenarios and record signals 4 DOES Compare results with expected values 5 CHECKS THE RESULT Did every scenario pass? If not: rerun each failed scenario twice and record thesignals again. Back to step 3. 6 USES A TOOL Read rig state: supply, cables, temperature,calibration age 7 DOES Classify each failure as rig, code or timing 8 CHECKS THE RESULT Does the failure repeat after a rig reset? If not: mark it as a rig fault and ask for maintenance.Back to step 3. 9 YOU APPROVE Engineer approves the summary 10 RESULT Test report with failure classes and signals
Read the steps as a list
  1. New build or nightly schedule
  2. Check rig health and flash the build
  3. Run the scripted scenarios and record signals
  4. Compare results with expected values
  5. Did every scenario pass?If not: rerun each failed scenario twice and record the signals again. Back to step 3.
  6. Read rig state: supply, cables, temperature, calibration age
  7. Classify each failure as rig, code or timing
  8. Does the failure repeat after a rig reset?If not: mark it as a rig fault and ask for maintenance. Back to step 3.
  9. Engineer approves the summaryThe agent waits here for your OK.
  10. Test report with failure classes and signals

How it decides

It labels a failure as rig when the rig health check fails or a reset fixes it, as code when it repeats on a healthy rig, and as timing when it passes or fails depending on sequence.

  • Rerun a failed scenario twice before classifying
  • Label rig fault when supply varies more than 3% or a cable test fails
  • Label code fault when it fails the same way on three reruns with a healthy rig
  • Label timing when results change with start delay or order

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Scenario list and order
  • Rig health limits
  • Rerun count (default 2)
  • Schedule (default nightly)
  • Signals to record for each scenario

What keeps you in control

It always asks you first

  • Engineer approves the summary before it is shared
  • Engineer approves any scenario script change

Hard limits

  • Never run scenarios when rig health is out of limits
  • Never change a pass criterion in order to pass

It stops when

  • Done: all scenarios pass or failures are classified and approved
  • Stop: the rig health check fails and testing cannot continue

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensThe nightly run executed 60 scenarios on build 2.7.1. Scenario 33 failed. The agent reran it twice and it failed both times, so the first check failed. The rig check showed a 12 V supply at 11.2 V. After a reset it passed, so it was labeled a rig fault. Scenario 47 failed on all reruns with a healthy rig, labeled code. The engineer approved the summary.

More agents for research and development engineers