The only part of Agony damage that can be avoided is if there's some kind of mechanic that needs to be done so it doesn't trigger or make sure the area it deals damage is known and you'll stay far enough away from there.
If it's Agony damage directed at the player as a one target type of attack then there's no way to make that and reduce the portion of the damage that is usually assessed in percentage of health.