← Index

CHOOSESecurity & safety

Jev Emergency Divert App

Video preview1:53

This application uses Jev to determine the optimal landing or docking location for aircraft and ships experiencing emergencies, based on a variety of real-time data and predefined criteria.

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. I think models like this will become a standard part of how we build software. When an app can get a judgment in about two seconds, for a fraction of a cent in model inference, in a form it can use immediately, AI starts showing up in places where a chatbot would never make sense. I’d bet we’re going to see a lot more software built around that. 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