Peira

Questions

How do you run a SPICE simulator as an RL environment?

Give the agent the simulator as a tool, let it test drafts as often as it wants, and grade the final netlist with the same simulator under the full set of conditions. We ship both pieces: a tool server for the agent and a grader container.

In our tasks the agent works in a sandbox with an MCP tool server. It can simulate any draft circuit, measure it and revise. A frontier model typically runs the simulator thousands of times in one task.

When the agent submits, the grader (ngspice-47 in a Docker container) simulates the design under every graded condition and returns a JSON report: the verdict, the score and every item that failed. A typical grade takes about 30 CPU-seconds.

The grader pins the simulator version, so grades are the same on every machine.

Related questions

Training or evaluating models on engineering work?Talk to us →