This command can be used to toggle (enable and disable) AI for either all nations, or a specified country.
ai [country tag]
|Country Tag||Optional. The tag of the country you wish to toggle AI for. If not specified, this command will toggle AI for all nations.|
Search Our Database of 304 EU4 Console Commands
If AI is enabled, this command will disable all AI for all countries. If AI is disabled, this command will enable all AI for all countries.
The above cheat would toggle artificial intelligence for Germany..