Artificial general intelligence (AGI) represents the vanguard of the AI revolution, possessing the ability…