Is it possible to create a custom AI in a Starcraft 2 mod? If so, how?
As the new Starcraft editor is very mighty and supports something like procedures and functions you possibly can enhance available AIs with own stuff. For an example create some triggers like "IF player1 has >x units of this and that type, THEN AIPlayer2 order to tech for this tech"
Maybe this style would be a bit too basic, but should be easy to do for non-programmers.
Starcraft 2 AIs are written in a scripting language called Galaxy Script. There are a few custom AIs available (some even openSource) at: