In this case yes, it's a custom harness that is able to read the game state via LUA modding API. But control wise it sends standard InputActions - in Factorio those are internal representation of the keyboard and mouse inputs, so it does not have any ability to programmatically create things in game.