in modern use a representation of dialectal pronunciation of again or against.
Entries linking to agin
again prep., adv.
late Old English agan, from earlier ongean (prep.) "toward; opposite, against, contrary to; in exchange for," as an adverb "in the opposite direction, back, to or toward a former place or position," from on "on" (see on (prep.) and compare a- (1)) + -gegn "against, toward." This is from the Germanic root *gagina (source also of Old Norse gegn "straight, direct;" Danish igen "against;" Old Frisian jen, Old High German gegin, German gegen "against, toward," entgegen "against, in opposition to").
In Old English, eft (see eftsoons) was the main word for "again," but this often was strengthened by ongean, which became the principal word by 13c. Norse influence is responsible for the hard -g-. It was differentiated from against (q.v.) 16c. in southern writers, again becoming an adverb only, and against taking over as preposition and conjunction, but again clung to all senses in northern and Scottish dialect (where against was not adopted). Of action, "in return," early 13c.; of action or fact, "once more," late 14c.
against prep.
12c., agenes "in opposition to, adverse, hostile; in an opposite direction or position, in contact with, in front of, so as to meet," originally a southern variant of agan (prep.) "again" (see again), with adverbial genitive. The unetymological -t turned up mid-14c. and was standard by early 16c., perhaps from influence of superlatives (see amidst). The word's use as a conjunction, "against the time that," hence "before," is now archaic or obsolete.