I let my 5 year old son bike a few blocks ahead of me to get home. He stops at the roads and waits until there are no cars. It is a small town so if there is a car in sight he just waits until it is gone. He is a very sensible kid.

As far as wandering around with friends, I really have no idea. I wouldn't imagine it would be for another few years yet.