It is the plural of agony. It means trances, end, slow death rattle. It can also mean distress, tribulation and anguish.