Driver planning

A clearer planning horizon for drivers.

Help dispatchers see the next feasible trip earlier—and give drivers a more predictable working day.

A woman holding a clipboard watches a truck cross a wet freight yard at sunrise from an office window, trailers parked in rows.

A driver can finish a delivery and still wait hours for the next useful assignment. Dispatch teams need to look beyond the current trip: when will the driver become available, where will that happen, and which shipment can fit? Mexamerik already planned trips with a deterministic scheduler that relied on historical estimates and conservative buffers. Embedding Labs improved it with a fine-tuned GPT model that predicts when and where each driver will become available, using day, time, route and terminal context such as traffic, loading and unloading. Better predictions allow smaller buffers between trips. The client hosts and operates the system internally, and dispatchers keep final authority over assignments.

01 / The work

Uncertainty reaches the person behind the wheel

Loading, unloading, travel and rest periods make availability a moving target. A shipment that looks nearby may require a certification the driver lacks, conflict with an agreement restriction or leave a long wait before pickup. Dispatchers have to reconcile these details while the day's work continues.

The wider challenge is driver retention. A useful plan should account for driver preferences, distribute earnings opportunities more thoughtfully, reduce avoidable idle time and offer a longer planning horizon. These are the goals that shaped the engagement.

02 / The work

Turn operational state into a useful next step

The application brings driver, shipment and assignment records together, estimates the driver's next availability, and evaluates candidate trips against explicit operating rules. The fine-tuned model supplies the uncertain time and location estimate. Mexamerik's deterministic scheduling rules then apply restrictions and weigh idle time and empty travel across feasible options.

Operations receives recommendations and reports rather than a free-form answer. A dispatcher can consider the suggested match alongside the practical circumstances of the driver and shipment. The division of work makes it easier to ask a concrete question: is the availability estimate plausible, and does this next trip fit?

A low view of a truck wheel rolling past a loading dock bumper, with a worker in a safety vest walking in the background.

03 / The work

Reduce idle time between trips

The matching engine scores idle time and empty distance, and enforces certifications, agreement restrictions and operating rules. Reports show how opportunities are distributed across drivers.

Mexamerik reported 30% fewer company-wide idle hours after six months. Forward planning grew from two consecutive trips per driver to an average of three to four.

04 / The work

Bring prediction and planning into the operation

Embedding Labs connected ingestion, model-assisted prediction, the existing scheduling rules, operational reports and an API surface into a planning capability. Embedding Labs then trained the client's IT team to refresh the fine-tuned model every six months on new data, and provided three months of support before the team continued independently.

The operational lesson is to begin with a decision people need to make. Better forecasts have value when they reach a planner with relevant constraints and enough context to act.

Driver retention was central to this project. We wanted to address the uncertainty between trips—the waiting, the uneven earning opportunities and the difficulty of knowing what comes next. Embedding Labs built a system that estimates when and where drivers will become available and recommends feasible assignments, taking operating restrictions, idle time and empty travel into account. It gives our dispatchers a clearer basis for planning ahead and understanding how opportunities are distributed across drivers, while keeping the final decision with our team.

Pablo Ocampo, CEO, Mexamerik

The lesson

Make the next feasible trip visible earlier, then let the planner judge it in context.

Go inside the design, integrations and delivery decisions.

Explore the technical study

Embedding Labs

Start with the workflow.

A useful first conversation begins with the work, the people doing it and the decisions a system needs to support.

Discuss your workflow