How about binding some necessary C++ functions in python using Boost.Python? For instance, tensorFlow has C++ API. Hence, the key functionality can be written in C++, and the user functions for extending/writing AI can be exposed in Python.
(It's only been 2 days since I started looking at the code, so I cannot comment on the feasibility of this, but I didn't see this option mentioned above.)