← Insights

Give them access

AI agents become truly useful in embedded work once they can test on real hardware.

Part 2 of 7 · Engineering with agents · 22 November 2026 · Wais Abawi

Agents write code in minutes. Verifying it on hardware still takes you hours.

Picture the routine. The agent hands over a change. You flash the board, power-cycle it and read the serial logs. By the time you know whether it works, the next change is waiting. If the agent can't test, you become the test bench.

From guessing to knowing

An agent that only writes code is guessing. An agent that can flash, boot and measure actually knows. So close the loop: write, flash, boot, measure, diagnose, and round again, without you in the middle of every round.

Hands, eyes and memory

  • Hands: flash firmware, power-cycle with smart relays, send serial and CAN commands.
  • Eyes: logs, a camera on the setup, measurement instruments.
  • Memory: test reports, measurement data, a history of what failed.

A rig that learned its machine

On a calibration rig, an agent ran experiments overnight. It measured how the mechanism really responds. Against that real behaviour the textbook controllers failed, and the agent helped find an approach that works. Every run left data, not opinions.

Access with limits

Access to hardware is also access to things that can break. So the boundaries come with the access, not after the first accident:

  • A dedicated test bench, never production machines.
  • E-stop and interlocks in hardware, out of software's reach.
  • Separate tools for reading and for acting.
  • Destructive steps (bootloader, erase) need a human.
  • Every action is logged.

Done means measured

Agents love to report success. Imagine a run that ends with a cheerful "all tests pass", while the instrument never recorded a single measurement. That is why pass or fail comes from the instrument, not from the agent's summary. Watch for the quieter version of the same problem too: an agent that fixes the test instead of the code.

HIL used to be expensive infrastructure. A bench with relays, a camera and an agent is a test engineer that never sleeps. Next: putting it to work on real bugs.

A well-defined job, together with your team?

One feature, driver or migration, delivered in your own repository with tests and documentation. Price after an intake.