AI agent in transport and logistics: what it adds to a TMS
An AI agent in transport and logistics handles what falls outside the TMS plan: the late truck, the choice between express and waiting. A function-by-function comparison, with the boundary between the two.
Key takeaway
An AI agent in transport and logistics handles what falls outside the TMS plan: the late truck, the choice between express freight and waiting. The TMS executes the planned flow by applying a rule and reasons in transport cost; the agent handles the gap to the flow, reasons in total cost, and brings a prepared decision with costed options and a deadline. It reads and writes in the TMS, logged and revocable, without ever bypassing it.
What a TMS already does, and does well
Before explaining what an agent adds, we have to do the TMS justice, because the temptation of agent vendors is to present it as a tool of the past. A TMS plans routes and consolidates shipments, picks the carrier according to rate grids and assignment rules, and launches charter requests when the contract fleet is not enough. It also exchanges with carriers by EDI or portal, tracks shipments, calculates ETAs from positions, pre-invoices and checks transport invoices. On a normal flow, it does all this with a reliability no agent has any interest in reinventing, and it does it deterministically, that is, the same shipment gives the same assignment, which is exactly what you expect from an execution tool. Its logic is that of an applied rule: you tell it how to choose and it chooses. That quality becomes its limit the day the rule does not cover the situation, and that is precisely where an agent's work begins.
The agent's loop: sense, decide, act on the exception
An AI agent in transport does not handle the flow, it handles the gap to the flow. It senses the same data as the TMS, positions, ETAs, pickup and delivery statuses, plus what the TMS does not read, carriers' emails, delivery refusals, booking slots missed on the platforms' portals. It decides, for each gap, whether it matters, which requires knowing what is in the truck and for whom. A pallet of promotional products expected by a central buyer with a late-delivery penalty does not carry the same weight as a standard restock with three weeks of stock at the customer. It then acts through the tools you open to it, generally the TMS itself, the booking portals and email, and it checks the next day that the action produced the expected effect. The comparison I use with logistics people comes from aviation: the TMS is the radar screen, which shows every aircraft and its trajectory, and the agent is the controller who decides which one to reroute, except that the agent must account for every decision to someone who can revoke it.
Chartering: the TMS chooses on rate, the agent chooses on stakes
On chartering, the difference is clear. The TMS selects a carrier according to price, contractual lead time and assignment rules, and it does this very well as long as those three criteria are enough. The agent steps in when the question becomes a trade-off: should you pay for express to make up a delay, or let the delivery slip a day? To answer, it costs both sides with a deterministic calculator: on one side the extra cost of express, on the other the cost of waiting. That cost of waiting brings together the customer's contractual penalty if it is filled in, the probable stockout at the customer from their cover when you know it, and the manufacturing order that stops at the receiving plant if the goods are a component. It compares, proposes, and it can decide on its own below a defined threshold, for example a small extra cost with no sensitive customer at stake, logging its reason. Above it, it presents the trade-off to the responsible person, with the two figures and the deadline to decide, because an express ordered at four in the afternoon no longer exists at six. The TMS answers 'who transports'; the agent answers 'is it worth paying to go faster', and that second question has never been in the scope of the first.
Reassigning a late truck: where the boundary runs
The case of the late truck shows the split of roles well. The TMS recalculates the ETA and raises an alert, which is already valuable, but the alert stops there. The agent reads the ETA, identifies the delivery slot about to be missed, checks on the recipient's portal whether another slot exists the same day and, if so, requests it and warns the customer, two reversible actions it can carry out on its own. When no slot fits, it prepares the options: reorder the route to deliver the most sensitive customer first, split the load and hand part of it to a second carrier, or serve the customer from another warehouse if there is stock. Each option comes with its cost and the resulting delivery time. Changing carrier mid-route, committing an express or drawing on another site's stock remain human decisions in the frame I recommend, because they commit money or another site. Once the decision is made, the agent executes it in the TMS, which makes it as traceable as any shipment, and it confirms the actual delivery, because a reassignment whose outcome no one checks is a reassignment that will fail silently one time in ten.
The data it needs, and the trap of the TMS you think is complete
The quality of a transport agent rests on three data links that are rarely in place. The first ties each pallet to the customer orders and manufacturing orders it serves, without which the agent knows a truck is late but not what it costs; this link exists in the ERP and the WMS, rarely in the TMS. The second is the list of penalties and sensitivities per customer, usually in the sales rep's head and in a contract in PDF format, and it has to be laid out flat before you plug anything in. The third is a carrier ETA of measured quality: many carriers announce times that mean nothing, and an agent that takes a fanciful ETA at face value triggers cascading reassignments, which costs more than the original delay. That is where the agent most often gets it wrong at the start, and that is why it must learn the reliability of the ETA by carrier and by lane before it earns the right to act on it. The second pitfall is excess express: an agent that only sees the penalty and never the transport budget overconsumes, and you have to give it the cumulative cost of the month as a constraint, not just the cost of the day's shipment.
TMS or agent: who does what, at a glance
If I had to hold the comparison in a few lines, it would go like this. The TMS executes the planned flow by applying a rule, while the agent handles the gap to the flow, that is, the situation the rule does not cover. The TMS reasons in transport cost, where the agent reasons in total cost, transport, penalties, stockout at the customer and stopped production included. When the TMS raises an alert, the agent brings a prepared decision, with its costed options and a deadline to choose. The TMS is deterministic and must stay that way; the agent is probabilistic, and that is why it must be logged, bounded by thresholds and revocable at any moment. Neither replaces the other, since the agent reads the TMS, writes in the TMS and should never bypass it, an out-of-system action being an action no one will find when it comes to understanding why a customer was delivered twice. The ETA will be wrong and the truck will be late, that will not change; a transport agent is judged by what the human has left to do when the alert drops, and if the answer is still 'everything', the agent was of no use.
This article starts from a conviction: the perfect forecast doesn't exist, what matters is the decision that follows.
- What a TMS already does, and does well
- The agent's loop: sense, decide, act on the exception
- Chartering: the TMS chooses on rate, the agent chooses on stakes
- Reassigning a late truck: where the boundary runs
- The data it needs, and the trap of the TMS you think is complete
- TMS or agent: who does what, at a glance
Clevizio
Clevizio is the decision layer that plugs into your existing tools: it detects disruptions, simulates your options and keeps a record of every trade-off. See how the decision copilot works.
Frequently asked questions
Does an AI agent replace a TMS?
No. The TMS plans, charters, tracks and invoices transport deterministically, and it must remain the execution system. The agent sits on top, reads its data, handles the gaps to the plan such as a late truck or a choice between express and waiting, and executes its actions through the TMS so they stay traceable.
How does an AI agent decide between express freight and waiting?
By costing both sides with a deterministic calculator: the extra cost of express against the cost of waiting for the customer and the plant. The cost of waiting brings together the customer penalty, the probable stockout at the customer and the stopped production if the goods are a component. Below a defined threshold, it decides on its own and logs its reason; above it, it presents the trade-off with a deadline to decide.
What does an AI agent do when a truck is late?
It reads the ETA, identifies the missed delivery slot and the orders affected, then requests a new slot on its own and warns the customer. The request goes through the recipient's portal. If no slot fits, it prepares costed options, reorder the route, split the load or deliver from another warehouse, and leaves the decision to a person when it commits money or another site.
Read next
Finally put a number on what disruptions cost you every year.
Let's start by estimating what your disruptions really cost you. It's free, it takes 30 minutes, and you leave with a figure nobody in your company knows today.

