check first that you do not have these errors in the circuit, for example see this
Look at what a circuit limit configuration disaster, this is what to avoid is the first step to have a functional AI.
I guess this circuit was not designed to run against AI and therefore it is not '' clean ''.
Another thing about Ai's behavior, it is much better to draw a line with a wide car and without adjusting too much, you can also draw the line at the speed you want, and it is advisable to do it slowly, if you want later the ai can be improved more by creating an aihints file, in that file you can set the speed of the car in a certain area, although I don't know how to do it, I have any ideas.