Green’s Dictionary of Slang

agonies n.

(drugs) the pain of withdrawal from narcotic drug use.

[US]J.T. Dunigan Drug Abuse: A Resource Guide.
[US]ONDCP Street Terms 1: Agonies — Withdrawal symptoms.