Agilmode f. Proto-Germanic *agio 'blade' lengthened to Old French agil + Old High German muot 'spirit; courage, boldness'.
The prototheme, Latinized -modis, became -mois or -mos in France.