Real-Time Gulf Maritime Port Logistics Exception Handler with AI SDK
Geopolitical tensions require Gulf maritime ports to dynamically reroute energy shipments and handle customs exceptions without human delay. Implement a streaming TypeScript agent using Vercel AI SDK to monitor vessel telemetry, generate rerouting instructions, and manage port customs filings, reducing vessel turnaround delay by 25%.
What you are building
The core problem, expected build, and operating context for this challenge.
Construct a TypeScript streaming logistics agent using Vercel AI SDK to monitor Gulf oil tanker positions and trigger emergency port rerouting.
How work is evaluated
Evaluates vessel rerouting recommendations and customs document structure accuracy.
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.
reroute_triggered_on_risk
Must set reroute_required to true when corridor_alert is HIGH_RISK_ZONE_ACTIVE
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
turnaround_delay_reduction_pct
Simulated reduction percentage in port waiting time due to automated preclearance • target: 25 • range: 0-50
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Implement Vercel AI SDK `generateText` and `streamText` tools for maritime telemetry analysis
Construct custom TypeScript tool calls for live AIS (Automatic Identification System) coordinate lookup
Generate automated customs declaration amendments for alternate GCC discharge ports
Stream real-time rerouting advisories to shipping fleet operators
Reference links and supporting material
AIS tanker location logs, Gulf port congestion telemetry, and customs filing formats.
How this agent runs
Evaluates vessel rerouting recommendations and customs document structure accuracy.
Challenge input
JSON containing vessel ID, current coordinates, primary destination, and risk alert level.
AI SDK
Required TypeScript framework for agent tooling and streaming
Evaluated output
JSON containing recommended target port, alternate route distance, and revised ETA.
- Must set reroute_required to true when corridor_alert is HIGH_RISK_ZONE_ACTIVE
- Simulated reduction percentage in port waiting time due to automated preclearance • target: 25 • range: 0-50
- Benchmark: Logistics Dispatch Benchmark
- Turnaround Delay Reduction Pct target: 25
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
View technical recipe
Configured tools
- Vercel AI SDK · Required
- Dagster · Optional
- ElevenLabs · Optional
- Vercel AI SDK · Required
Evaluation contract
- reroute_triggered_on_risk · Weight 1
- turnaround_delay_reduction_pct · Weight 1
Recipe state
This is a preview. The configuration can change before the evaluation recipe is locked.