Anubis is supposed to filter out and block all those bots from accessing your webpage.
Iocaine, nepenthes, and/or madore's book of infinity are intended to redirect them into a maze of randomly generated bullshit, which still consumes resources but is intended to poison the bots' training data.
So pick your poison