Backend code for Agilify tools