Hi @JohannesKann,
Why do you want to run the bot using the Python API specifically? As far as I can tell, you should be able to achieve the same thing using rasa train and rasa run.
Anyway, to help with your queries you can consult the rasa_core migrations docs from the old repo, but I think await agent.handle_channels([ConsoleInputChannel()]) should work here.