is it related to agley?

Only semantically, not etymologically.
_________________________
Ceci n'est pas un seing.