G-MITSIM is a microscopic traffic simulation platform that integrates large language models into a
running simulation. It combines a complete microscopic traffic simulator, built on a compiled C++
physics engine, with two AI agents and with patented intelligent intersections.
The AI operator is directed in natural language. It reads the live state of the network, calls the
simulator's own tools, and modifies the network, the routing, the signals and the vehicles while
the simulation is running. When no built-in function fits a request, it writes and executes new
code inside the live simulation. It also analyses results and explains traffic flow concepts with
the data of the simulation in progress.
The AI driver controls individual vehicles and reports the reason for each of its decisions, so
the behaviour of the network can be inspected and questioned. Intelligent intersections learn the
network and guide vehicles one intersection at a time. G-MITSIM runs on macOS and on Windows with
the same interface, and it is free for education and academic research.
Comparison with Conventional Microsimulation
Conventional traffic microsimulation is static, opaque, and requires expert scripting to change.
The table summarises how G-MITSIM differs.
Aspect
Conventional microsimulation
G-MITSIM
Control
Menus, dialogs and expert scripting.
Natural-language control. The AI operator is given a goal in plain language. It reads the live state of the network, calls the simulator's own tools (more than 70 of them) and confirms what changed.
Network changes
Made offline: the model is edited, saved and run again.
Changes during the run. Nodes, links, routing rules, signals and parameters are changed while the simulation runs, and the run never stops.
Extensibility
Limited to the released features or to external scripts.
Extensible at run time. When no built-in function fits, the operator writes Python and runs it inside the live simulation: a new measurement, a new plot, a new feature.
Driver behaviour
Produced by the model without an explanation.
Explained decisions. AI drivers return, with every action, a reason in plain words. Every decision is logged and can be questioned.
Routing
Routes computed centrally for each vehicle, before or during its trip.
Agent-based intersections. Patented intelligent intersections measure their own roads, exchange what they know with their neighbours, and guide vehicles one intersection at a time.
Learning support
Provided by manuals and by output files.
Built-in teaching assistant. Fundamental diagrams, shock waves and time–space diagrams are explained with the numbers of the simulation in progress.
Transparency
Aggregated results; the internal state is not exposed.
Open to inspection. Every link, node and vehicle can be inspected while the simulation runs, and every model is open to adjustment.
Platform Architecture
G-MITSIM consists of five layers, all reached through a single graphical user interface. Select a
layer in the first diagram to locate its panel.
Five layers, all reached through one application window.
Input layer
NetworkCSV, OpenStreetMap, SUMO
Lane connectionsand turning movements
Signal plansloaded per intersection
Demandstatic rates or time-dependent, OD pairs
Model choicesrouting, lane change, traffic rules
Parameterscar following, run length, stop condition
Intersection controlintelligent intersections or signals
Incidentsaccidents and lane closures
Emissionsper vehicle and network-wide
AI operator
Close link 68.
Closed. 41 vehicles re-routed.
Why the queue at 40?
Green is too short. Fix it?
Plot mean speed.
Reads the live statenetwork, vehicles, statistics
Calls 70+ toolsthe simulator's own functions
Edits the networknodes, links, signals, routes
Writes Pythonnew features at run time
Analyses filesCSV, images, text, hand sketches
AI driver
Drivesspeed and lane commands
Perceivesits own sensors and nearby vehicles
Explainsthe reason for each decision
Remembersits earlier decisions
Talks to intersectionsrouting advice on the way
Data output
Results filesstatistics for every run
Heatmapsspeed, delay, travel time, emissions
Fundamental diagramsper link and whole network
Time-space diagramsper link and per vehicle
AI decision logsoperator and driver
Exportsnetwork, signal plans, video
Interaction Between the User, the AI Operator, the AI Driver and the Simulation
The user, the AI operator and the AI driver act on the same live simulation and exchange
information with one another. The animation follows one request through the system; select a step
to replay it.
Swipe sideways to see the whole picture.
Conversation
Illustrative scenario. The network, the vehicles and the messages are generated in the browser to
show the sequence of interactions; they are not output of the simulator.
Intelligent Intersections and I2I Routing
The guidance that vehicles receive comes from G-MITSIM's patented intersection-to-intersection (I2I)
routing. The network below is live: close a road and watch the news travel.
Every intersection is an agent. It measures the cost of its own incoming roads and exchanges packets with its neighbours.
It learns the network. At its first update, an intersection knows only the roads around it. A few updates later it knows the whole network, and it keeps refreshing those costs as traffic changes.
The AI driver does not plan a route. It knows only its origin and its destination. The intersections guide it, one intersection at a time, and their advice appears in blue on the map.
No signals are needed. By default, intelligent intersections also resolve conflicts between vehicles without signals.
The animation needs JavaScript.
AI driver
packets between intersections
advice to the AI driver
closed road
vehicles, coloured by speed
the intersection you follow
Click a road to close or reopen it. Click an intersection to follow what it knows. This is a
simplified illustration of the idea, drawn in your browser. It is not the simulator, and it
does not reproduce the patented method.
Capabilities
Every model is open to adjustment, by hand in the Parameters window or through the operator, while
the simulation runs. The clips are recordings of the application.
The AI operator runs on Claude or GPT models. Select a capability to see it in the application.
Senses, decides, explains
Returns an acceleration, a lane change and a reason in plain words.
No planned route
Knows only its origin and destination; the intersections guide it.
Logged decisions
The operator, or the user, can ask a driver why it acted.
Direct line
The user can address a driver directly from the AI panel.
Own settings
Model, data interval, time synchronisation, memory, authority at intersections.
Own model
The same model as the chat, or a smaller and cheaper one.
Car following
Intelligent Driver Model (IDM).
Lane changing
SUMO LC2013 by default, or MOBIL.
Routing
Shortest path, eco-routing, or I2I routing.
Intersection control
Intelligent intersections, or fixed-time, green-wave, actuated and adaptive signals.
Emissions
Greenhouse gas from an operating-mode model, used in results and in eco-routing.
Vehicles
Cars, buses, trucks, ambulances and fire trucks, with driving personas.
Incidents
Accidents that block lanes, and the response of the traffic.
Engine
C++ for speed, with a Python engine as a fallback.
Links
Live statistics and a time–space diagram.
Nodes
Control mode, queue, and the I2I agent as it learns.
Tagged vehicles
Followed in their own colour, with a trajectory diagram.
Heatmaps
Speed, delay, travel time or emissions, as a snapshot or live.
Fundamental diagrams
Per link and for the whole network.
Vehicle colours
By speed, delay, destination or driving persona.
CSV results
Network statistics, a vehicle manifest and full trajectories.
Recording
MP4 video, which needs FFmpeg, or GIF animation.
Networks
OpenStreetMap with a road-type filter, SUMO, and CSV.
Demand
Origin–destination matrices, constant or dynamic, as counts or flows.
Signal plans
Loaded from your own files.
Built-in example
Part of downtown Toronto: 76 nodes and 223 links.
OpenAI
GPT-6 Sol
GPT-6 Luna
GPT-5.6 Sol
GPT-5.6 Terra
GPT-5.6 Luna
GPT-5.4 mini
GPT-4o
GPT-4.1 mini
GPT-4o mini
GPT-4.1 nano
Anthropic
Claude Opus 5.5
Claude Opus 5
Claude Opus 4.8
Claude Sonnet 5
Claude Sonnet 4.6
Claude Haiku 5.5
Claude Haiku 4.5
These are the models offered in version 1.0. The AI operator and the AI driver use your own API
key from OpenAI or Anthropic, and your requests go directly from your computer to the provider
you selected. You are responsible for all costs on your account; the token counts and cost
figures shown in the application are estimates only.
The simulator itself, with its networks, demand, signals, routing, inspection, analysis and
results, works without an API key.
Availability and Activation
G-MITSIM is free for education and academic research. It runs on macOS and on Windows with the same
interface on both, and it is activated with a personal key.
Fill out the request formChoose your operating system, macOS or Windows, in the form.
Check your e-mailA download link and your personal activation key are sent to your institutional address.
Install itThe package contains the Installation Guide for your platform, the README file and the License file.
Activate itOn first launch, accept the License Agreement and enter your activation key.
One person
A key is personal. Each person, including each student in a class or research group, needs his or her own.
Two computers
A key works on up to two computers, for example a desktop computer and a laptop.
One system
A key is issued for macOS or for Windows. To use both, request a key for each.
One year
A key is valid for one year from its first activation, and it is renewed free of charge.
Offline
An internet connection is needed to activate. Afterwards it works for up to 30 days between checks.
Licence & Terms
G-MITSIM is provided for education and academic research purposes only and is not licensed for commercial use. The intelligent (I2I) routing at its core is patented in the United States and in Canada. Commercial use of any kind, including consulting work, inclusion in a product or service, and any use generating revenue directly or indirectly, requires a separate licence. The software is provided "as is", without warranty of any kind, and results are a simulation rather than a substitute for professional engineering judgement.
The AI operator and the AI driver require your own OpenAI or Anthropic API key. You are solely responsible for obtaining that key and for all costs and data usage on your provider account; the in-app cost display is a convenience estimate only. If you use G-MITSIM in a publication, thesis or presentation, you must cite the tool and the relevant works; full citation details are included in the README file and in the application's Instructions window.
This platform bridges the gap between traditional traffic microsimulation and cutting-edge AI research, providing a powerful testbed for next-generation intelligent transportation systems. Whether you're studying traffic flow theory, developing autonomous vehicle algorithms, or optimizing smart city infrastructure, this tool offers the flexibility and precision required for groundbreaking research.
Perfect for: Transportation researchers, autonomous vehicle developers, smart city planners, traffic engineers, machine learning practitioners, and anyone pushing the boundaries of intelligent mobility systems.