AntNet is an ant colony optimization (ACO) based routing algorithm that uses two types of mobile agents called forward ants and backward ants. Forward ants explore the network concurrently and examine traffic patterns along paths to exchange information with backward ants. Backward ants then use this information to update routing tables, directing data packets towards their destinations in a traffic-adaptive and multipath manner. The algorithm maintains pheromone values, routing tables, link queue observations, and statistical models at each node to probabilistically route packets based on collected network information.