Multi-Agent LLM System for Logistics Planning Optimization

amazon_logistics · E-commerce · 2023 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Last-mile logistics planning

Amazon Logistics needed planners to reason over millions of delivery-planning parameters and causal relationships affecting promised delivery dates without relying on slow Excel-based deep dives.

Constraints:

Architecture

Amazon Logistics built a LangChain custom-agent and AWS Bedrock plan-evaluation engine using Claude 3.7. The system uses the LACQUER algorithm to derive causal graphs from parameter heat maps, combines those graphs with weighted formulas based on planner tribal knowledge, and lets planners ask conversational questions about planning bottlenecks and optimization options.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  planning-data-store["Planning Data Store"]
  lacquer-causal-graph-generator["LACQUER Causal Graph Generator"]
  plan-evaluation-agents["Plan Evaluation Agents"]
  planner-conversational-interface["Planner Conversational Interface"]
  planning-data-store --> lacquer-causal-graph-generator
  lacquer-causal-graph-generator --> plan-evaluation-agents
  plan-evaluation-agents --> planner-conversational-interface
  planner-conversational-interface --> plan-evaluation-agents
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Planning Data Store Contains constraint plans, cycles, stations, metrics, and planning parameters. LACQUER Causal Graph Generator
LACQUER Causal Graph Generator Builds causal graphs from parameter heat maps. Plan Evaluation Agents
Plan Evaluation Agents Use Claude and LangChain to reason over dependencies and planning options. Planner Conversational Interface
Planner Conversational Interface Lets logistics planners ask questions instead of manually analyzing spreadsheets. Plan Evaluation Agents

Data flow

Planning data and heat maps feed the LACQUER algorithm, which generates causal graphs across parameters. LangChain agents and Claude 3.7 use those graphs plus weighted formulas from planner expertise to evaluate plans, explain dependencies, and help planners optimize delivery routes conversationally.

“Using the LACQUER algorithm to generate causal graphs from parameter heat maps, the system applies weighted formulas based on tribal knowledge”summary, stated

Why this architecture

The architecture combines causal graph generation with LLM-based conversation because the core challenge is explaining dependencies across large planning matrices, not simply producing a plan. Tribal knowledge becomes weighted formulas, while agents make the analysis accessible to planners.

“human planners with tribal knowledge struggled to identify causal relationships between parameters affecting promised delivery dates.”summary, stated

Models used: Claude 3.7 · AWS Bedrock models

Scale

Alternatives considered (roads not taken)

Continue offline Excel-based planning templates

Rejected because: The approach was slow, error-prone, and depended heavily on experienced planners.

“Previously, planners relied on offline Excel-based templates, downloading data and building custom scripts to perform deep dives.”summary, stated

Analyze correlations without causal structure

Rejected because: Planners needed to know which parameters were causally related versus merely associated.

“virtually impossible for human planners to identify which parameters are causally related versus merely associated”summary, stated

Patterns

multi-agent-orchestration (architecture)

Custom agents collaborate around planning evaluation, causal graph interpretation, and conversational analysis.

“The solution employed a multi-agent AI architecture using LangChain custom agents and AWS Bedrock with Claude 3.7 to create a plan evaluation engine.”summary, stated

tool-use-orchestration (execution)

The system uses LACQUER causal-graph tooling and weighted formulas inside the planning workflow.

“Using the LACQUER algorithm to generate causal graphs from parameter heat maps, the system applies weighted formulas based on tribal knowledge”summary, stated

Tradeoffs

Use causal graphs plus LLM interaction

Chose LACQUER-generated causal graphs with conversational agents over Manual spreadsheet deep dives.

Rationale: The system needed to explain dependencies and bottlenecks at a scale humans could not inspect manually.

“manually analyzing Excel spreadsheets”summary, implied

Encode tribal knowledge as formulas

Chose Weighted formulas based on planner expertise over Leaving all dependency interpretation to the LLM.

Rationale: Causal interpretation had domain-specific operational knowledge that the model alone should not invent.

“the system applies weighted formulas based on tribal knowledge to understand dependencies and optimize delivery routes.”summary, stated

Gotchas (what bit them)

Spreadsheet-based planning did not scale to the data volume.

Root cause: Planners had to analyze millions of numbers across stations, cycles, days, and metrics.

Resolution: The system exposed causal graph analysis through conversational agents.

“This volume makes it virtually impossible for human planners to identify which parameters are causally related versus merely associated”summary, stated

Planner expertise was trapped as tribal knowledge.

Root cause: New planners needed months of experience to understand nuanced delivery optimization factors.

Resolution: The system encoded weighted formulas based on tribal knowledge and surfaced them through agents.

“heavily dependent on skills that new planners could only acquire after months of experience.”summary, stated

Evaluation

The case reports scale and business-risk framing; it does not provide a formal benchmark in the visible summary.

Metrics: 10+ million annual data points · approximately 15 million EU planning numbers · up to $150 million potential savings

“potentially saving up to $150 million in losses from customer churn and missed delivery promises.”summary, stated

Outcomes

The source cites 10+ million data points annually and about 15 million numbers in an EU planning example.

“The solution enables planners to interact conversationally with complex planning data rather than manually analyzing Excel spreadsheets”summary, stated