The traffic in urban ro ads regularized by traffic lights, that distribute fixed time for intersection sides, which may be crossing time of vehicles for some sides and long waiting time for others in the intersection. In this work we proposed Agent subsystem which is local respon sible for controlling the time periods to be distributed over time to each intersection according to the vehicles queue length and give the priority for the side that have the longer queue length of vehicles. The perception for this agent are sensors that evaluate the queue length at each intersection side of the traffic light location, and the effecter will be the distributed time for the intersection sides.