Back to website
Jev and GPT-6 Luna responding to identical passenger requests in a simulated subway station.

Beyond the Rulebook

Agent-based modeling in nondeterministic environments

Agent-based models use explicit rules to produce complex behaviors at scale. Deciding what an agent should do in an ambiguous situation is harder. Large language models can interpret incomplete information, but repeated calls add latency and cost. This experiment compares that approach with Jev, TypeSafe AI's model for turning partial information into structured responses.

Built in GAMA, the simulation represents a simplified New York City subway station with 300 passengers arriving over three minutes. Thirty stop at an information desk with open-ended requests: finding an airport train, reaching a platform without stairs, or realizing they are in the wrong station. Jev and OpenAI's GPT-6 Luna receive identical requests and use shared routing rules.

In this test, Jev's median API response time was 224 ms, compared with 1,511 ms for GPT-6 Luna, approximately seven times faster. Initial accuracy was 28/30 and 29/30, respectively. Both produced the same final route assignments, while the Jev scenario finished about 20% earlier in simulated time.

The experiment explores how models can guide agents through uncertain situations in spatial environments, with potential applications in visitor guidance, service routing, and other systems that translate incomplete information into structured decisions.