Universidade de Coimbro
Development and Integration of a Conversational Artificial Intelligence Agent for the Nexus Haulier Capacity Matching System
Abstract
dc:description.abstractThis thesis details the research and development of a solution to the Haulier Capacity Matching (HCM) problem, within the Nexus Work Package 2.2. The Nexus Agenda consortium is led by the Port of Sines and comprises 35 partners, including port authorities, maritime, terminal and railway operators, as well as importers, exporters, and other relevant stakeholders. The consortium aims to consolidate knowledge from its partners to identify opportunities for improvement in pursuit of a single purpose: enabling a "Digital and Green Transition". The HCM problem addressed in this work was identified at the Port of Sines, one of the consortium’s core partners. The problem concerns the matching process between containers and trucks, which is currently suboptimal due to inefficient communication practices. As the most important commercial hub in Portugal, the port receives a large number of containers daily, and the stakeholders responsible for contracting and transporting these containers face several challenges arising from inefficiencies in the cargo handling procedure throughout its transportation lifecycle. The developed solution is an application that manages all the resources required to match containers and trucks into optimised pairs. It provides Beneficial Cargo Owners (BCOs) and Hauliers with a streamlined way to manage container demands and carrier resources, respectively, which are then processed by an algorithm to compute optimized matches in real time. Once a match is proposed, users can discuss pricing, proceed with payment, and follow the resulting service throughout its entire lifecycle within the application. Additionally, the application offers a conversational interface, enabling users to manage these entities and processes through natural language interactions, alongside the traditional graphical interface, that provides a centralized view of all the managing resources within the system. The development of the application was divided into two main phases: research and development. The research phase focused on gathering and analyzing information to provide contextual understanding of the problem, including its location, the stakeholders involved, and the foundational technological concepts required to comprehend both the problem and the proposed solution. In addition,a state-of-the-art analysis was conducted, and the functional and non-functional requirements were defined to clearly specify what the solution must accomplish. The subsequent development phase addressed the design and implementation of the proposed solution, following an agile approach. The novel components introduced to the system were developed using Python, leveraging frameworks such as FastAPI, FastMCP, and LangGraph. The freight matching algorithm was integrated into the refined application, with both components deployed within Amazon Web Services (AWS) cloud services. The final result is a proof-of-concept, full-stack application, ready to be tested in a real-world scenario. The system provides a modular and portable solution, with the level of security required for an application supporting multiple distinct user roles.
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Silva, Bruno José Silvério da
- Advisor dc:contributor.advisor
-
- Araújo, Filipe João Boavida Mendonça Machado de
Subjects
dc:subject × 6Rights
dc:rights- Statement dc:rights
-
- openAccess
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Tid
- 204413630