There's no real need to support DLLs or provide API or anything else. Publishing .trn and .2h formats would be sufficient. AI can be hooked through existing --preexes/postexec options. Some utility library to read/write in trn/2h format can be written be fans - that will be the easiest part of developing AI