Build a Gulf Corridor Logistics Exception Agent with LangChain and LangGraph
Geopolitical events and trade corridor shifts require instant rerouting and logistics exception management across Gulf ports and pipelines. Build a stateful graph agent using LangChain and LangGraph to detect route bottlenecks and trigger automated supply chain bypasses with 99% graph state recovery.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop a stateful cyclic logistics workflow using LangGraph state graphs and LangChain tools.
How work is evaluated
Evaluates LangGraph node transitions and fallback rerouting logic when maritime choke points close.
Shared data for this challenge
Review public datasets and any private uploads tied to your build.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
bypass_avoidance_check
Ensures blocked node Strait_of_Hormuz is not present in chosen_route array
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
route_optimality
Ratio of shortest valid path duration vs calculated duration • target: 0.98 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Construct a stateful routing state graph using LangGraph StateGraph primitives
Integrate LangChain tool wrappers for maritime transit time and pipeline throughput APIs
Implement persistent memory checkpointers for human-in-the-loop exception overrides
Automate rerouting decisions for disrupted maritime choke points (Strait of Hormuz bypasses)
Reference links and supporting material
Network graph nodes representing major GCC maritime ports, crude oil pipelines, and transit latency vectors.
How this agent runs
Evaluates LangGraph node transitions and fallback rerouting logic when maritime choke points close.
Challenge input
JSON containing origin_port, destination, cargo_type, blocked_nodes
LangChain
Tool wrappers and model abstractions
LangGraph
Stateful cyclic agent graphs
Evaluated output
JSON containing chosen_route, total_transit_days, cost_delta_usd
- Ensures blocked node Strait_of_Hormuz is not present in chosen_route array
- Ratio of shortest valid path duration vs calculated duration • target: 0.98 • range: 0-1
- Benchmark: Graph State Routing Bench
- Route Optimality target: 0.98
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
View technical recipe
Configured tools
- LangGraph · Required
- Langchain · Optional
- AutoGluon · Optional
- LangGraph · Required
- Langchain · Optional
Evaluation contract
- bypass_avoidance_check · Weight 1
- route_optimality · Weight 1
Recipe state
This is a preview. The configuration can change before the evaluation recipe is locked.