Agentic Last-Mile Routing Optimizer for 3PL Operator
Multi-agent system that continuously re-optimises delivery routes using real-time traffic feeds, cutting fuel costs by 23%.
The challenge
A third-party logistics operator managing 800 daily last-mile deliveries across 3 cities was using static route plans generated the night before. Real-world conditions — traffic, failed deliveries, ad-hoc pickups — caused significant deviation from plan, leading to wasted fuel, late deliveries, and unhappy carrier partners. Dispatchers were manually re-routing 60–80 deliveries per day.
Our approach
- 1
Integrated real-time traffic via Google Maps Platform and HERE APIs.
- 2
Built a LangGraph multi-agent system: a Monitor Agent (detects deviation triggers), a Re-routing Agent (calls OR-Tools optimiser), and a Dispatch Agent (pushes updates to carrier apps via 6 carrier APIs).
- 3
Implemented a React-based dispatcher dashboard with live map view and one-click override.
- 4
Ran a 3-week shadow mode before live deployment, validating against historical optimal routes.
- 5
Deployed on GCP Cloud Run with Redis for shared agent state.
Want a similar outcome?
Tell us about your challenge and we'll scope a solution within 48 hours.
Start a conversationRead next
Autonomous Transaction Reconciliation at a Pan-African Payment Processor