How to inject AI code on run-time or during the launch of the game?

Hello everybody,

I’m making plans for a small and simple game for AI research. This game is for 8 players, which all should have the possibility to be controlled by different AIs, which aren’t shipped within the build game, because people all over the world should be able to submit AIs for this game.

The focus of this AI research is set on machine learning approaches, like artificial neural networks. My framework is also supposed to provide a set of tools for designing decision trees, behavior trees and state machines. For the future, I would like to consider other fields of AI as well, like granting the AI developers to implement a different path-finding technique.

What could be a suitable approach for adding custom AIs to the game?

Are AssetBundles a reasonable option for this concern?

The solution can be found on Gist at Github