Rename agi to eagi