I have tried to that with mine and hit a few issues
First issue, was actually predicting how much energy to add to house. When setup it over applied heat and it wasn't accurately predicting future heating needs. It actually upped the flow target temperature and generally used more energy than really needed. Example two similar temperature days one doing everything based on cheap rates, battery, PV etc, it used 14kWh through ASHP, the second day nly used 8.8kWh. The second day was very much simplified just run WC and let heat pump run as it wanted.
Second you are dependant on the internet, something like home assistant to drag across your battery/solar and weather data. You may be able to sort it all out, but will anyone else if something isn't working as expected and you aren't there.
Third, couldn't get Agile to make any financial sense (not enough cheap slots) and the added complexity just a pain. So went Cosy, super simple. If you are running thermostats, just add 0.2-0.5 degs to target temp in the 3x cheap slots, the heat pump should stay idle for hours after, especially if your heat pump can run a second higher flow temp set point during cheap slots.