interjection or grunt of agreement or recognition (e.g. yes, it's me!)
Phonosemantic compound. 口 represents the meaning and 矣 represents the sound.
《說文》:“唉,譍也。从口,矣聲。”