← Index

CHOOSESecurity & safety

Jev Emergency Divert App

Video preview1:53

This application uses Jev to determine the optimal destination for distressed ships and aircraft by assessing various critical factors and presenting Jev with typed questions.

What happens when you let @typesafeai’s Jev choose where a burning cargo ship should go, or where a plane in trouble should land? I built an app to find out. The ships and aircraft come from real traffic feeds: AIS at sea, ADS-B in the air. I didn’t place them on the map. The emergencies are my addition. The app sends Jev up to 54 typed questions in one call. In my runs, the whole decision took about two seconds. For ships, it assesses passage time, water depth, tug assistance, medical care, fire response, repair facilities, and whether a port would be willing to accept a burning vessel. That last one matters quite a bit. For aircraft, it considers runway length, time to land, emergency services, medical care, weather, terrain, and recovery afterwards. Change the emergency on the same plane and the preferred airport can change. Losing cabin pressure over the Alps makes the mountains part of the decision. Jev returns a probability for each destination, which the app turns into a column of light above the port or airport. No paragraph to interpret before the code can use the answer. One detail I particularly like: Jev’s own docs say it struggles with maths, so the app does the calculations first. It works out whether the water is deep enough for a ship, for example, then tells Jev “the water is barely deep enough for this ship.” Jev weighs what that means given the emergency. The app also checks the model’s confidence. Below a threshold I set, it flags the decision for human review. In an emergency, uncertainty is unavoidable, but time spent weighing the options has a cost too. That’s why this demo makes me bullish on models like Jev. Getting a judgment in seconds means software can keep reassessing as conditions change. I think these models will become a core part of emergency response software, where a good answer that arrives too late may no longer be a good answer. Try it yourself: pick a real ship or aircraft, give it an emergency, and see where Jev sends it. Then change the emergency and see whether its choice changes. divert.carlosmarcial.workers.dev