Vehicular Ad Hoc Networks (VANETs) are a particular class of Mobile Ad Hoc Networks (MANETs). The VANETs provide wireless communication among vehicles and vehicle-to-road-side units. Even though the VANETs are a specific type of MANETs, a highly dynamic topology is a main feature that differentiates them from other kinds of ad hoc networks. As a result, designing an efficient routing protocol is considered a challenge. The performance of vehicle-to-vehicle communication depends on how better the routing protocol takes in consideration the particularities of the VANETs. Swarm Intelligence (SI) is considered as a promising solution to optimize vehicular communication costs. In this paper, we explore the SI approach to deal with the routing problems in the VANETs. We also evaluate and compare two swarming agent-based protocols using numerous QoS parameters, namely the average end-to-end delay and the ratio packet loss which influence the performance of network communication.