The article considers the construction of a micromodel using the Anylogic software for analyzing the organization of traffic at an unregulated intersection and considers a variant of improving the organization of traffic. The conditions for the use of traffic light regulation at the intersection were checked. For the proposed option, a logical algorithm of the agent model is built and visualized. The developed technique for modeling conflict-free pedestrian and traffic flows at an intersection is proposed for use at other similar intersections.