Artifical intelligence (or AI) is the simulation of intelligent actions by a computer. In computer games such as Neverwinter Nights, the AI is the means by which entities not controlled by a player (e.g. non-player characters when not controlled by a Dungeon Master) choose their actions.
A common complaint among players of computer games is that the AI is inadequate, choosing actions that are either foolish or overly predictable. Neverwinter Nights is no exception. However, the modifiability of Neverwinter Nights includes the possibility of replacing the standard AI, and several players have written AIs that are considered generally superior to that provided by BioWare.