They both use custom .dlls, so to use them together, you need to compile a new .dll.
So it can be done, but requires a bit of work. Look for modpacks like merged mod and everything that includes "DCM" in its name - there are already out there merging DCM with other mods, including BetterAI.
Cheers, LT.