Juan Carlos Jiménez
← All work

07 / 11 · FREIGHT

CargoCompare agent

Master's thesis: retrieval and a ReAct agent with deterministic tools that answer freight-rate questions in CargoCompare, a quoting platform for hauliers.

Context
Master's thesis, UNIR
Role
Co-author, team of two
Year
2026–27
Status
In progress
Stack
ReAct · Hybrid retrieval · BM25 · Re-ranking · Python

The problem

A rate question depends on which haulier asks, for which client and under which tariff. A model that does the arithmetic itself, or reads someone else's tariff, gives a confident wrong price.

What I did

Hybrid retrieval (BM25, dense and re-ranking) with access control per profile, so a client portal only ever sees its own tariffs. Prices come from calculation tools the agent calls, never from the model. A pure-RAG baseline and an evaluation set keep the comparison honest.

What changed

In progress, co-authored with a classmate. The agent is meant to run inside the CargoCompare chat.