⚡Flashcard Drill➔
L2S1 · ROI & FeasibilityS3 · Model & AgentS4 · UX & HITLS5 · Eval & LLMOpsS6 · Security & FinOpsVerified: 2026-11-30

L2 Scenario · Supply Chain Disruption Triage & OR-Backed Rerouting Agent

Event-driven supply chain agent that correlates disruption alerts with live inventory horizons, invokes deterministic OR-Tools solvers to synthesize Pareto-optimal rerouting options, and gates ERP/WMS execution behind human planner checkpoints.

Best For

Supply chain control towers handling port closures, carrier delays, and emergency multi-echelon stock transfers.

Human-AI Boundary

Agent gathers telemetry and computes solver-verified Pareto options; logistics managers explicitly approve carrier switches, expedite budgets, and ERP mutations.

Anti-Patterns to Avoid

  • Permitting an autonomous agent to emit unverified freight tender API calls or invent custom transit lead times without solver feasibility checks
  • Triggering noisy emergency alerts without factoring in existing safety-stock days-of-supply (DOS) buffers

Latency/Cost Profile & Eval Metrics

Alert triage & impact graph query < 4s; OR-Tools Pareto re-solve 5-15s; optimistic streaming cards for solver progress · Multi-scenario solver runs + cross-system WMS/TMS API orchestration

  • Solver Plan Feasibility & Cost-SLA Pareto Validity: 100% generated options pass carrier capacity, customs, and MOQ verification (Validated via deterministic ERP sandbox dry-run prior to presenting options to planners)
  • Agent Tool Trajectory & Fallback Recovery Rate: >= 0.96 clean completion or graceful heuristic fallback if solver times out (Track tool retry loops and partial-API timeout handling across chaos simulations)

💰 Business ROI Model & Evidence Level

production_practice

Compresses disruption response time from 18 hours to <25 minutes, cutting panic air-freight spend by ~20% while protecting OTIF SLAs.

🏗️ End-to-End Architecture Pipeline

Step 1: Disruption Blast-Radius Query & P90 Stockout Triage

Join external carrier/weather alerts against read-only ERP views to pinpoint SKUs breaching P90 days-of-supply buffers.

Step 2: OR-Tools Pareto Simulation & Checkpointed ERP Commit

Invoke OR-Tools for 3 Pareto cost-vs-SLA options, stream live progress cards, and execute idempotent ERP writes only after sign-off.

🛡️ Compliance & Governance Hard Constraints

  • Prompt injection defense on external supplier emails and third-party logistics webhook payloads
  • Idempotent ERP transaction keys and immutable audit logs tying every PO change to an approved solver run ID

📦 Project Deliverables & Portfolio Artifacts

  • Solver-LLM Contract Schema + Timeout Heuristic Fallback Engine
  • Control Tower Interrupt Approval UI & ERP Dry-Run Validator
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔

Bidirectional Taxonomy Links

[L2] L2 Industry Playbook · Supply Chain Forecasting & Logistics Optimization Domain[L0 Card] ReAct, Plan-Execute & Reflexion[L0 Card] Feature Store Consistency & No-Leak[L0 Card] North Star Metric & Guardrail Framework[L0] LangGraph Stateful Graph, Checkpointer Persistence & HITL Interrupt Primitive[L0] Agent Trajectory, Tool-Call & Side-Effect Failure Taxonomy Primitive[L0] NeMo Guardrails Topic Fence, Jailbreak & Injection Defense Primitive[L0] Confidence-Based Cascading Model Router & Pareto FinOps Primitive[L1] Stage 3 · Bounded State-Machine & Plan-and-Execute Tool Orchestration Pattern[L1] Stage 4 · High-Stakes Interrupt Checkpoint & Diff-Approval HITL UX Pattern[L1] Stage 4 · Optimistic Streaming UI, Tool Progress Cards & Generative State Machine Pattern[L1] Stage 3 · Structured Output Constrained FSM Decoding, Reasoning Protection & Retry Mode

Internal Tools & Primary Sources