The AI is definitely smarter than it was in Civ III!
As an example, in Civ III when an AI civ demanded tribute, and you refused, the AI would either declare war on the spot, or back down. Sometimes, a distant civ would declare war, and then not even send any invasion force. Contrast that to...