Is the AI just a recording or does it run in realtime in my browser?
It's running in real time.
Cool! Is there unity frameworks or do you have to run python from unity or how do you do this?
there is an api called Unity ML-Agents, which allows to do this.