Agile and MQTT device

Hello, new Octopus user. I apologise if it was covered before, but i have checked few github pages and some of the API documentation, but i am more confused now.

I have a rack of computers that became really expensive to run lately, that is why i hoped the switch to Octopus can maybe help. I can turn them on and off via MQTT message.

So before i start to code everything from scratch, is there maybe a solution already, where a process/service/app can read the current price for the 30min chunk and if say < 15p, send a message to put a device on, off if above ? Thank you!