French, either (1) from "magpie" for a garrulous person, or (2) from the English surname Aggis, itself derived from the female given name Agatha, from Greek "good".
Note All the above variants except Aggis are variants of (1) the French form.
Thanks to Donald Whyte who provided much of the initial information for this site.