I wrote the following things on GitHub with various types of AI:
https://github.com/navjack/python-kasa/blob/master/powershel...
https://github.com/navjack/python-kasa/blob/master/powershel...
https://github.com/navjack/RandomGamePicker
https://github.com/navjack/Go-Rainbow-Hearts-Term