Cross-docking is a warehousing method that allows goods to move quickly from inbound suppliers directly to outbound customers, minimizing storage time. This study focuses on developing a real-time multi-agent truck scheduling model to optimize the process of cross-docking in warehouses, aiming for quick and efficient synchronization of incoming and outgoing freight.