P5 sketch demonstrating an autonomous agent operating with action selection, steering and arrival.
A "vehicle" steers toward a target of the mouse location at a fixed velocity. As it approaches the target the vehicle slows down and stops when target is reached. This behavior is based on principles described by Craig W Reynolds in "Steering Behaviors For Autonomous Characters".
Autonomous agents have a limited ability to perceive their environment (knows the mouse's position)and make decisions based on that perception (steer toward the mouse's position).
The term "vehicle" comes from cyberneticist Valentino Braitenberg's 1986 book Vehicles, Experiments in Synthetic Psychology.

HI I'm the lower section