The development of autonomous vehicles, capable of peer-to-peer communication, as well as the interest in on-demand solutions (e.g., Uber, Lyft, Heetch), are the primary motivations for this study. Allocation problems are of major importance in the management of on-demand transportation systems (ODT). They have been studied for decades, and various solutions have been proposed. The solution approaches can be classified into two categories: centralized and decentralized. In practice, each has its advantages and disadvantages. In this work, we aim to provide a generic model for the problem of online on-demand transportation with autonomous vehicles and a multi-agent model dedicated to resource allocation and fleet planning. The latter conside...