Changelog
Major changes from 2025-06 to 2026-11​
This major release follows the 2025-06 stable release. For modelers, the main changes are: faster simulations (spatial queries, matrix operations, and data serialization), a new dataframe type for manipulating tabular data directly in GAML, a class system for defining custom data structures, a cleaner GAML syntax, new geospatial capabilities (GeoPackage import/export, raster grid writing), extended chart customization, a solver plugin with shared GAML syntax for constraint programming and mixed-integer linear programming (MILP), ONNX neural network inference, ROS robotics, and gamepad input.
For developers, this release also brings reworked external client libraries (Python and TypeScript/JavaScript) to drive GAMA programmatically from outside the platform, a headless server with command-queue management, and a reworked batch experiment architecture.
Highlights​
- Faster simulations - spatial queries, matrix/field computations, string operations, and data serialization are all significantly quicker than in 2025-06. Saving and restoring simulation state is now much faster thanks to a new binary format.
- New
dataframetype - manipulate tabular data (pivot, join, group-by, filter) directly in GAML with full static typing. Example models are included in the library. - New class system - define your own object types with attributes, methods, inheritance, and composition. Objects can be stored in variables, lists, maps, and passed between agents.
- Named lambda parameters - name the current element in an iterator and nest operations with a different name at each level.
- Cleaner GAML syntax - long-deprecated constructs have been removed (
with: [a::1],do action:,let/set,list of: T, arrow braces, etc.) and replaced with more readable, unambiguous alternatives. - OpenGL4 renderer - an alternative to the existing OpenGL renderer, with equivalent functionality in this release.
- Updated interface - a refreshed visual style with thinner, more consistent icons and an updated splash screen.
- Optional GitHub Copilot extension - add a code assistant to the GAML editor by installing the Copilot extension.
- Reorganized model library - the example model library has been restructured into a clearer hierarchy (Demos, Recipes, Data, Tutorials) so it is easier to find what you are looking for.
- Two new tutorials - Forager reinforcement learning and SIR sensitivity analysis. Both tutorials include example GAML models in the GAMA model library.
- New geospatial capabilities - GeoPackage import/export, raster grid writing via
GamaGridFile, and improved grid pathfinding. - Improved charts - new color palettes, font controls, grid/axis customization, series styling, and a pluggable chart engine for easier extension.
- New plugins - ONNX neural network inference, a solver plugin with shared GAML syntax for constraint programming and mixed-integer linear programming (MILP), ROS robotics integration, and gamepad input. LLM integration, PMML, Flooding, and graphical modeling plugins are also updated.
- Reworked external client libraries - the Python library (
pip install gama-client) has been completely reworked (v2.0, breaking changes), and the TypeScript/JavaScript library has been fully refactored (v2.1). Both now offer a clean, typed API to control GAMA headless from external programs. - More robust headless server - command-queue management, status listening, logging, and a new extension point for custom commands.
Detailed changes​
This release of GAMA contains new features and fixes, including:
-
Performance:
- Spatial queries (grid and quadtree) are significantly faster, especially in models with many agents (#1265, #1225, #1233, #1247).
- The Java Vector API speeds up existing element-wise numeric-matrix operations such as
+,-,*,/, scalar powers,abs,sinandcos, plus selected field calculations. New matrix-scalar comparisons and matrix-valuedifelsealso have vectorized implementations; model expressions need no special vector type or setting (matrix and field optimizations, new matrix operations). - String operations (concatenation, matching) in hot loops are faster due to regex caching (#1093).
- Saving and restoring simulation state is much faster thanks to a new binary serialization format (#1234).
- Simulation initialization avoids unnecessary memory allocations (#1276, #1125, #1120).
- Grid pathfinding (BFS) is faster (#1247).
- Repeated data saving to the same file is faster (file resolution cached) (#1103).
-
Data types & operators:
- New
dataframetype with pivot, join, group-by and full static typing (#1006, #1007, #1071). - Added matrix operations including
shift, scalar comparisons that produce matrices, and matrix-valuedifelse. Grid attributes can be read and assigned as typed spatial matrices withcell[attribute]andcell[attribute] <- matrix; gridcollectalso preserves spatial structure. These operations support matrix-based grid calculations and replace the older string-basedmatrix_with(grid, "attribute")andset_valuesforms; see the migration guide (matrix and grid operations, matrix operation implementations). - Named lambda parameters allow nested iterations to refer to the current element at each level, for example
agents collect(a: a.my_list sum(b: b.my_value))(container operator examples). - Expanded slicing for lists and matrices:
slicesupports inclusive endpoints, negative indices and forward or reverse steps;sublistandsubmatrixselect explicit indices, including repeated indices for lists, whilesubmatrixalso supports ranges (container operators). - Missing string operators implemented (#760).
- Fixed negative dates and antiquity handling (#1199, #1022).
- Fixed
everyoperator drift with calendar-based durations (#month,#year) (#1025). - Added
textproperty to files for easy text reading (#1044). - Added
skillsattribute to species for programmatic skill inspection (#1030). - Fixed
binomialoperator edge cases and added guards (#744). - Various maths and stats operator fixes (#1135, #1134).
- New
-
Modeling & simulation:
- Experiment and simulation scopes are explicit in GAMA 2026-11. An experiment no longer reads or modifies a simulation's species populations implicitly: select a simulation when working with its agents. Parameters and user commands declared in an experiment target the current simulation by default; add
of: experimentwhen they should control experiment-level values or actions. Experiment actions can opt into the current simulation withactions_context: simulation, which is useful for adapters and comodels. This makes ownership clear when an experiment manages several simulations; commands still target one selected simulation unless the model explicitly iterates oversimulations. See experiment and simulation contexts and user commands in GUI experiments. - Experiment declarations now use
mode:(for example,mode: gui) and displays userenderer:(for example,renderer: 2d). These facets make the experiment's execution mode distinct from its display renderer; update models that usedtype:for these choices. See the migration guide and display examples. - New SPARQL query operator for querying RDF data (#768).
- New stats tools for model analysis (#977).
- Fixed exploration facets (sensitivity analysis, calibration) (#1009).
- Reworked batch experiment architecture - more reliable, better reproducibility controls, and a pluggable design for custom output handling (#1252, #731).
- Pedestrian skill: fixed issues and added new features (#1161).
- Physics engine: generic joint support for complex mechanical systems (#748).
- Fixed overlapping and spatial queries for geometries outside the world shape (#1200).
- Various GAML compilation and runtime fixes (#1236, #1238, #1280).
- Experiment and simulation scopes are explicit in GAMA 2026-11. An experiment no longer reads or modifies a simulation's species populations implicitly: select a simulation when working with its agents. Parameters and user commands declared in an experiment target the current simulation by default; add
-
Geospatial & data I/O:
-
Charts & visualization:
- Reworked chart architecture with a pluggable engine - easier to extend and customize (#1226).
- New chart customization: color palettes (Swiss, Warm Amber, Mineral, Vivid, Tableau 10, Neon, Pastel, Qualitative, Diverging, Basic, Pivot-based, Random), font controls (title, labels, ticks), grid/axis colors, line thickness, series styling, marker visibility (#1226).
- New
x_min,x_max,y_min,y_maxfacets for single-bound axis control (#1028). - New
y2_tick_values_visiblefacet for second Y axis (#1205). - Fixed chart legend customization and visibility issues (#1186, #1194, #1224).
- Fixed histogram chart dataset binding (#1230).
- Fixed
series_label_position: onchartignoringcolorfacet for bar chart labels (#1027).
-
OpenGL / 3D rendering:
- Introduced OpenGL4 as an alternative display renderer alongside the existing OpenGL renderer. It provides equivalent functionality in this release and a separate implementation for future rendering work.
- Removed unintended yellow tint from textured meshes in OpenGL4 (#1267).
- Lighting now correctly applied to OpenGL textures; OpenGL4 light/camera statements accepted (#1268).
- Fixed antialias preference being forced after first step (#1197).
- Fixed keystone overlay rendering at half screen size on HiDPI displays (#1096).
- Fixed keystone mode freezing on macOS (#1034).
- Fixed rotated text flickering in 3D displays (#1023).
-
Editor & UI:
- Refreshed the interface with thinner, more consistent icons and an updated splash screen.
- Added a JSON/GeoJSON source editor and a GIS viewer for GML files.
- Added "Extract Action" refactoring to the GAML editor (#1046).
- Interactive console now keeps a permanent execution context between experiments (#1045).
- Console can keep its contents between experiments (new preference) (#660).
- Improved Garbage Collect button with memory info display (#1255).
- Fixed
if/elsefolding hiding the else clause in the editor (#1116). - Fixed inconsistent multi-pane layout on Windows (stale sash containers) (#985).
- Fixed ghost "imported file" errors in editor after model run (#1019).
- Fixed User Model Library filled with unexpected projects (#1219).
- Fixed models library loading on new workspace (#1189).
- Fixed deleted workspaces appearing in dropdown (#1048).
- Fixed "Add Monitor" from Views menu when monitors are in Parameters view (#1026).
- Fixed "Add an experiment to the model" inserting template before last line (#1029).
- Fixed
#mouse_clickevent not recognized in event layer (#1191). - Fixed simulation parameter min/max button enabling in UI (#1178, #1190).
- Fixed Synchronize button state on experiment reload (#1206).
- Fixed synchronized output affecting other experiments (#1173).
- Synchronize model commands with experiment cycles (#1266).
- Fixed Windows splash text and navigator search clipping (#1285).
- Optimized quick-access matching (#1235).
- Fixed failed startup simulations: preserve error display and reset perspective on next launch (#1114).
- Show terminal boundary in the launch experiment overlay (#1113).
gama.ui.devtoolsrevivals: GAMA menu, Clean & Rebuild, config checker, up-to-date wizards (#1270).
-
Class & GAML language:
- New class system: define custom object types with attributes, methods, inheritance, and composition (#1193, #1155, #1192).
- Disallowed
reflex,aspect, andinitblocks in class definitions (these are species-only constructs) (#1193). - Fixed runtime bugs in instances of classes (#1155).
- Handle
Classas parent ofSpeciesgracefully (#1192). - Disallowed aspect and attribute name collisions in species (#1196).
- Migrated standalone GAML tests to annotations for better maintainability (#1241).
-
Development & CI:
- Introduced
gama.apito separate public platform interfaces from internal core implementation and support a more modular architecture. - Dependencies diet (removal of unused dependencies) (#1139).
- Generate documentation in a deterministic order (#1147).
- Dependencies graph generation & web UI for developers (#1142).
- CI: Maven dependency cache, build cache, security hardening (#1088, #1086, #1090, #1077).
- CI: Mac signing scripts, updated zip with JDK script (#1078, #1080, #1085, #1083).
- Linux/Wayland: warning on GUI startup (#1138).
- Introduced
Classes and Objects in GAML (new)​
GAMA 2026-11 introduces a full object-oriented class system. You can now define your own data types with attributes, methods, inheritance, and composition, without creating agents. Objects are ordinary GAML values: they can be stored in variables, put in lists or maps, passed as arguments, and returned from actions.
In agent-based modeling, you often need entities that exist purely to represent data (a point, a segment, a configuration, a set of related parameters) or to group functions together. These are not real simulation entities: they do not move, do not interact spatially, and do not need to be scheduled cycle by cycle. Modeling them as agents is possible but wasteful: every agent carries the overhead of spatial indexing, scheduling, and lifecycle management. The new class system lets you represent such entities as lightweight objects: no spatialization by default, no scheduling, no agent overhead. This makes models cleaner (you only create agents for things that truly behave) and faster (less memory, fewer spatial queries, lighter scheduling).
classblock defines a pure data/logic type (no agent, no population)- Attributes declared with the same
<type> <name> <- <default>syntax as species variables - Constructor call:
ClassName(attr1: v1, attr2: v2)- only listed attributes are overridden - Methods (actions) with typed parameters and return values
- Inheritance: a class can extend another class
- Composition: a class attribute can be of another user-defined class type
- Objects in collections:
list<my_class>,map<string, my_class>, etc.
A class is declared with the class statement:
class point2d {
float x <- 0.0;
float y <- 0.0;
float distance_to(point2d other) {
return sqrt((x - other.x) ^ 2 + (y - other.y) ^ 2);
}
}
Instances are created and used like any other value:
global {
init {
point2d p1 <- point2d(x: 3.0, y: 4.0);
point2d p2 <- point2d(x: 6.0); // y stays 0.0 (default)
write "distance = " + p1.distance_to(p2);
list<point2d> pts <- [point2d(x: 1.0, y: 0.0), point2d(x: 4.0, y: 0.0)];
write "gap = " + pts[0].distance_to(pts[1]);
}
}
See the full tutorial on Class Definition for a step-by-step guide, and the example models in the library (Classes 01 to 05 + Showcase).
GAMA Server (headless mode)​
The headless server (gama-server) has received significant improvements in this release, making it more reliable and easier to integrate into external workflows:
- Command-queue management - a new preference (
pref_server_command_queue_size, int, default 50) controls the maximum number of pending commands, preventing memory issues when sending many requests rapidly (#1154). - Simulation status messages - server clients receive experiment lifecycle updates and a separate run-completion event. Clients can request the current lifecycle state and enable or disable status-bar message forwarding while an experiment is loaded (#1278; command details).
- New
gama.server_commandextension point - plugins can register custom commands that are available over the WebSocket protocol (#1129). - Desktop server console - the GUI includes a server console for viewing server messages and connected clients, changing the port, and starting, stopping or restarting the server. Its menu also controls startup and exchange logging; the desktop server remains disabled by default.
- Server regression tests - automated tests cover server command handling, error cases and lifecycle behavior.
- Crash resilience - ensures an answer is always sent back to the client even when a command crashes, and performs complete cleanup of experiments on error (#1154).
- Server logging - new preferences (
pref_server_log: bool, default false;pref_server_log_directory: string path, default~/.gama/server-logs) for enabling server-side logging and choosing the log directory (#1154). - Various stability fixes (#1068, #1149).
External libraries & tools​
The gama.clients repository provides client libraries to control GAMA headless from external programs - ideal for automation scripts, web dashboards, or integrating GAMA into larger data pipelines. Both libraries communicate over WebSockets with a running gama-server instance and handle the JSON protocol transparently. No GAMA installation is required on the client side.
Python - gama-client (v2.0)​
Install: pip install gama-client
The Python library existed in v1.x but has been completely reworked for this release (v2.0, breaking changes from 1.x):
- Simplified API - a clean synchronous client (
GamaSyncClient) as the default entry point, plus async and awaitable variants for advanced use cases. - Removed
nest_asynciodependency - no more event-loop hacks; the library works cleanly in any Python environment. - New commands -
ask(call an action on a specific agent),validate,describe,download,upload,exit. - Seed control -
loadandreloadnow accept aseedparameter for reproducible runs. - Better error handling - timeouts, connection errors, and runtime GAML errors are properly surfaced without crashing the client.
- Performance improvements - reduced per-message overhead (shared counter instead of UUID generation), fixed a memory leak in the command loop, and optimized the listening loop.
- Full test suite - unit tests covering all commands, error cases and edge cases.
from gama_client.sync_client import GamaSyncClient
with GamaSyncClient() as client:
client.load("my_model.gaml")
client.play()
result = client.expression("length(agents)")
print(result)
TypeScript / JavaScript - gama-client (v2.1)​
Install: npm install gama-client (or use the local build)
The TypeScript library has also been fully refactored (v1 to v2, breaking changes):
- Clean typed API - all methods return properly typed
GamaMessageresponses; public types are exposed through the package entry point. - Browser support - automatically falls back to the browser's native WebSocket when running in a web page (no Node.js required).
- Robust experiment lifecycle -
stop()properly resolves once the experiment is gone, distinguishes interrupted runs from deliberate pauses, and no longer adopts another session's state. - Safer agent references -
ask()validates agent reference format and arguments before sending. - Full test suite - on par with the Python library, covering all protocol interactions.
import { GamaClient } from "gama-client";
const client = new GamaClient("ws://localhost:6868");
await client.connect();
await client.load("my_model.gaml");
await client.play();
const result = await client.expression("length(agents)");
console.log(result.content);
Reinforcement learning - gama-gymnasium (optimized) and gama-pettingzoo (first release)​
Two companion libraries bridge GAMA with the Python reinforcement learning ecosystem:
- gama-gymnasium (repository) - exposes a GAMA model as a Gymnasium environment so you can plug any RL algorithm (PPO, SAC, DQN, ...) from Stable-Baselines3 or RLlib directly into your simulation. This release brings performance optimizations and improved stability for long training runs.
- gama-pettingzoo (repository) - first stable release. Exposes a GAMA model as a PettingZoo multi-agent environment, enabling multi-agent reinforcement learning (MARL) where multiple learners interact with the same GAMA world.
Both libraries communicate over the same WebSocket protocol as gama-server and require no additional GAMA-side setup beyond running a model in server mode.
Changes that can impact models​
The GAML syntax has been modernized in this release. Several long-deprecated constructs are no longer valid and will cause compilation errors, and a number of skills, statements, operators and facets have been renamed or reworked. The most common changes:
with:pairs now use parentheses and single colons:with: [size::2]->with: (size: 2)- Parameter-less action calls require an explicit argument list:
do my_action;->do my_action();(theaction:andreturns:facets are removed) - Arrow expressions no longer use braces:
int x -> { cycle * 2 };->int x -> cycle * 2; display/experimentnames must be valid identifiers, with the label moved totitle:let/set,list of: T,argstatements and thevalue:facet are replaced by plain typed declarations,list<T>and theupdate:facetsave_simulation()is removed;savenow usesformat:andattributes:- The
imagelayer is renamed topicture - Skill renames:
advanced_driving->driving,skill_road->road_skill,skill_road_node->intersection,communicating->fipa - Operator renames:
as_json_string->to_json,user_input->user_input_dialog,with_optimizer_type->with_shortestpath_algorithm - Experiment execution controls: simulation
pause/resume/pausedare deprecated in favor of the experiment agent (experiment.is_paused,simulation.is_on_user_hold)
The complete list of breaking changes, with before/after examples and a migration checklist, is available in the Migration Guide. GAMA also ships a converter that fixes most of these syntax changes automatically: select the models in the navigator and choose "Convert to GAMA 2026 syntax..." in the contextual menu (see the guide for usage and for the command-line form).
Preferences​
The preferences system has been reorganized and expanded. Preferences exposed to GAML are available as variables of the built-in platform species (e.g. platform.pref_chart_line_thickness). Below is a summary of the changes between 2025-06 and 2026-11:
New preference tabs / groups​
| Tab | Group | Description |
|---|---|---|
| Theme | UI, Editor | New color themes for the GAMA interface. Choose a theme to change the overall look of menus, editors, and displays. Available themes: Swiss, Warm Amber, Mineral, Vintage. |
| Displays | Default Chart Properties | New group with 16 chart-related preferences (see below). |
New preferences (27 added)​
All new preferences can be read and set from GAML via the platform species.
Charts (Displays tab):
| Preference key | Type | Range / Values | Default | Description |
|---|---|---|---|---|
pref_chart_background_color | color | any valid GAMA color | cream paper | Background color of charts. Only used when pref_chart_match_display_bg is false. |
pref_chart_color_palette | string | "Swiss", "Warm Amber", "Mineral", "Vivid (12 distinct colors)", "Tableau 10 (10 distinct colors)", "Neon (8 vibrant colors)", "Pastel (10 soft colors)", "Qualitative (9 colors - ColorBrewer)", "Diverging (11 colors - ColorBrewer)", "Basic (5 colors)", "Based on pivot color (9 colors)", "Random" | Swiss | Default color palette for chart series. |
pref_chart_continue_drawing | bool | true / false | true | Continue to draw charts when in Modeling perspective (not just during experiment). |
pref_chart_grid_color | color | any valid GAMA color | rgb(210, 215, 220) | Color of axes and grid lines in charts. |
pref_chart_label_font | string | any font name (e.g. "SansSerif", "Monospaced") | SansSerif | Font family for axis labels. |
pref_chart_label_font_size | int | 6 to 24 | 11 | Font size for axis labels (pixels). |
pref_chart_line_thickness | float | 0.5 to 10.0 | 2.0 | Default thickness of series lines in charts. |
pref_chart_match_display_bg | bool | true / false | true | If true, chart background follows the display background color (disables pref_chart_background_color). |
pref_chart_pivot_color | color | any valid GAMA color | rgb(31, 120, 180) | Base color used to generate the 9-color palette when "Based on pivot color" is selected. |
pref_chart_series_style | string | "line", "spline", "step", "dot", "area", "bar" | line | Default rendering style for chart series. |
pref_chart_show_gridlines | bool | true / false | true | Whether to display grid lines on charts. |
pref_chart_show_markers | bool | true / false | true | Whether to display data point markers on line/spline/step charts. |
pref_chart_text_color | color | any valid GAMA color | rgb(44, 62, 80) | Color of text (titles, labels, ticks) in charts. |
pref_chart_title_font | string | any font name | SansSerif | Font family for chart titles. |
pref_chart_title_font_size | int | 8 to 36 | 14 | Font size for chart titles (pixels). |
Displays / OpenGL:
| Preference key | Type | Range / Values | Default | Description |
|---|---|---|---|---|
pref_display_mesh_max_cells | int | 0 to unlimited (0 = no limit) | 2,000,000 | Maximum number of cells for a field displayed in OpenGL. Larger fields are downsampled. Set to 0 to disable downsampling. |
Editors:
| Preference key | Type | Range / Values | Default | Description |
|---|---|---|---|---|
pref_editor_recompile_delay | int (ms) | 0 to 3000 | 0 | Delay before auto-recompilation after editing a model file. 0 = immediate. |
pref_editor_validation_delay | int (ms) | 0 to 3000 | 0 | Additional delay before validation/error checks run after recompilation. |
Execution / Tests:
| Preference key | Type | Range / Values | Default | Description |
|---|---|---|---|---|
pref_isolated_tests | bool | true / false | false | Run tests in a separate headless process to avoid cross-contamination with the main GAMA instance. |
pref_test_timeout | int (seconds) | 1 to unlimited | 10 | Maximum time allowed for a single test experiment before it is aborted. |
pref_tests_use_ui_console | bool | true / false | false | Route test output to the UI console instead of a separate log. |
Interface:
| Preference key | Type | Range / Values | Default | Description |
|---|---|---|---|---|
pref_keep_console | bool | true / false | true | Keep console contents between experiments (do not clear on reload). |
Network / Server mode:
| Preference key | Type | Range / Values | Default | Description |
|---|---|---|---|---|
pref_enable_server | bool | true / false | false | Start the desktop GAMA server when the application opens. Enable it in Preferences > Network > Server mode when a desktop client needs WebSocket access. |
pref_server_command_queue_size | int | 1 to unlimited | 50 | Maximum number of simultaneous commands an experiment can accept through GAMA server. Prevents memory issues when sending many requests rapidly. |
pref_server_log | bool | true / false | false | Log all GAMA server exchanges (commands and responses) to a file. |
pref_server_log_directory | string (path) | any valid filesystem path | ~/.gama/server-logs | Directory where server exchange logs are written. Requires restart to take effect. |
Advanced:
| Preference key | Type | Range / Values | Default | Description |
|---|---|---|---|---|
pref_cast_container_contents | bool | true / false | (build flag) | If true, elements of a container are cast to its declared type on access. If false, no verification is performed (faster but may lead to runtime errors). |
Removed preferences (3)​
| Preference key | Reason |
|---|---|
pref_optimize_path_computation | Path computation optimization is now always enabled. |
pref_run_tests | Replaced by the more granular test preferences (pref_start_tests, pref_user_tests, pref_failed_tests, pref_test_timeout). |
pref_synchronize_quadtree | Quadtree synchronization is now handled automatically. |
New methods on GamaPreferences​
setNewPreferences(Map<String,Object>)- programmatically set multiple preferences at once (useful for server mode or testing).revertToDefaultValues(Map<String,Object>)- reset specific preferences to their defaults.ORDER_OF_PREFERENCES- canonical display order of tabs: Interface, Theme, Modeling, Runtime, Displays, Network, External, Experimental.
Plugins​
Plugins extend GAMA with additional skills, operators, UI views, or example models. See the plugin installation guide for details on how to install and manage them. In this release, four new plugins are introduced (ONNX, Solvers, ROS, Gamepad) and four existing ones have been updated (LLM, Graphical Modeling, PMML, Flooding).
LLM (updated)​
Integrates Large Language Models into GAMA simulations. Agents can send prompts to an LLM, receive structured responses, and use them to drive their behavior. Useful for building social simulations where agents make "intelligent" decisions, or for natural-language interaction with the model.
Changes in this release: Thread-synchronized memory operations (safe multi-agent access to shared LLM context), improved error handling when the LLM service is unavailable, and enhanced 3D visualization in the SE (Societal Evolution) use-case model.
Examples: SE use-case model with 3D display.
ONNX (new)​
Allows agents to load and run pre-trained neural network models (in ONNX format) directly inside the simulation, without any external service. You define a skill that wraps an ONNX model, then call it from GAML like any other action - pass input tensors, get output tensors back. This is useful for perception tasks (image classification, object detection), prediction, or any ML inference that needs to run at agent speed.
A skill + a set of operators to load models, feed inputs, and read outputs. No Python or external runtime needed - inference happens natively in the JVM via the ONNX Runtime.
Examples: Example models demonstrating model loading and inference within a simulation.
Solvers (new)​
Provides a shared GAML syntax for constraint programming and Mixed Integer Linear Programming (MILP). Models can formulate and solve either kind of problem from GAML.
Graphical Modeling (updated)​
Provides a live one-way diagram view of your GAML model in the editor. As you write or modify code, the diagram updates to show the structure: species, their attributes, actions, and how display layers are organized. It is read-only (you cannot edit the model from the diagram), but it helps understand complex models at a glance.
Changes in this release: Editable snapshots (save and restore diagram states), refined palette for better readability, and color-coded display layer bodies to distinguish different views.
PMML (updated)​
Allows agents to load and apply PMML (Predictive Model Markup Language) models - a standard XML format for machine learning models produced by tools like R, Python (scikit-learn, H2O), or commercial platforms. Agents can make predictions using these models without any external service.
Changes in this release: Syntax reworked to use variables instead of getter operators (the old skill-based approach is removed). Example models updated for GAMA 2026 syntax.
Flooding (updated)​
Provides a ready-to-use flooding simulation model. Agents represent water cells that spread based on terrain elevation, simulating flood dynamics over a digital elevation model. Useful for disaster planning, hydrology studies, and education.
Changes in this release: Updated for GAMA 2026 syntax compatibility.
Repository (same repo as PMML)
ROS (new)​
Integrates the Robot Operating System (ROS) with GAMA. Agents can communicate with ROS nodes, receive sensor data, and send control commands. This enables co-simulation between GAMA (for high-level planning, multi-agent coordination) and ROS/Gazebo (for low-level robot control and physics).
A skill for ROS communication, operators to publish/subscribe on ROS topics, and example models demonstrating Gazebo/RViz interaction.
Examples: Ground-truth location tracking model, loop model with full path display, Gazebo/RViz interaction examples.
Gamepad (new)​
Allows you to control GAMA simulations using a game controller (Xbox, PlayStation, or any standard gamepad). Map buttons and axes to simulation actions: pause/resume, step forward/backward, change parameters, trigger agent behaviors. Useful for presentations, interactive demos, or hands-on teaching sessions where a mouse/keyboard is less convenient.
A skill + operators to read gamepad state (buttons, axes, triggers) from within GAML, and to map inputs to simulation actions.
GitHub Copilot (optional)​
An optional GAMA extension adds GitHub Copilot as a code assistant in the GAML editor. It is installed separately and is not part of the default GAMA product. See the extension installation guide.
Model library reorganization​
The GAMA model library has been restructured in this release to provide a clearer, more intuitive hierarchy. The old structure (8 top-level categories: Case Studies, Data, GAML Syntax, Model Exploration, Modeling, Toy Models, Tutorials, Visualization and User Interaction) has been replaced by 4 main categories plus a new recipes/ folder:
| Category | Purpose | What you will find here |
|---|---|---|
| Demos | Complete, runnable simulations showcasing GAMA capabilities | Ant foraging, Boids, Cellular Automata, Comodels (flood+evacuation, plant+weather, urban+traffic), Epidemiology, Games, Learning (KNN, KMeans), Life (Game of Life, Particle Life), Pedestrian, Predator-Prey, Procedural City, Segregation, Soccer, Sugarscape, Traffic, Urban Growth, Waterflow, and more. These are "toy" models meant to be explored and modified. |
| Recipes | Focused examples demonstrating specific GAML features or techniques | One folder per feature: Define Classes (new), Define Experiments, Define Simulations, Define Species, Define Variables, Loop And Iterations, Scheduler, Spatial Topology, System (shell, clipboard, threads), User Interaction, Visualization, Charts, Benchmarks, Networking, Data Types. Each contains small, self-contained models that isolate one concept. |
| Data | Examples of importing and exporting data | Data Importation (CSV, GeoPackage, XML, shapefiles, rasters, images, graphs), Data Exportation (CSV, GeoJSON, GeoTIFF, PNG, SHP, XML, text), Files (zip/unzip), Utils. |
| Tutorials | Step-by-step guided models for learning GAMA | Incremental Model (build a model from scratch in 7 steps), Predator Prey Tutorial, Road Traffic (7 progressive models), Luneray flu (6 progressive models), SIR Analysis (sensitivity analysis with LHS, Morris, Sobol, stochastic methods). |
| recipes/ (new top-level) | Short examples to get started | A lighter-weight set of examples for the most common tasks: Define Classes, Define Experiments, Define Multiple Simulations, Define Species. Designed as a first entry point for new users. |
The old structure mixed concerns: "Toy Models" contained both simple demos and complex comodels, "GAML Syntax" was a catch-all for language features, and "Visualization and User Interaction" mixed display examples with interaction patterns. The new structure separates by intent: do you want to see a complete simulation (Demos), learn one specific feature (Recipes), work with data (Data), or follow a guided tutorial (Tutorials)?
Many existing models were simply moved to their new location and updated for the new syntax - they are not new content. The list below contains only the truly new models (66 files) that did not exist in 2025-06, with direct links to the source at commit 260f9b0:
Data & I/O (new)​
| Model | Description |
|---|---|
| Save to XML | Export simulation data to XML format. |
| CSV File Import to matrix | Load a CSV file into a GAMA matrix. |
| Create Agents from CSV | Instantiate agents from rows of a CSV file. |
| GeoPackage File Import | Import vector layers from a GeoPackage file. |
| GeoPackage Layers | Browse and display multiple layers from a GeoPackage. |
| XML File Import | Parse and use data from an XML file. |
| Zip And Unzip Files | Create and extract zip archives from within a model. |
Demos (new)​
| Model | Description |
|---|---|
| Ant Foraging Tests | Test suite for the ant foraging skill. |
| Cellular Automaton Generator | Interactive cellular automaton rule explorer. |
| Clock With Sound | Analog clock display with ticking sound. |
| Boids Comodel (sub-model) | Boids sub-model for the City Boids comodel. |
| City Comodel (sub-model) | City sub-model for the City Boids comodel. |
| Ant Comodel (sub-model) | Ant sub-model for the mixed-behavior comodel. |
| PP Comodel (sub-model) | Prey-predator sub-model for the mixed-behavior comodel. |
| Hydro Comodel (sub-model) | Hydrology sub-model for flood evacuation. |
| Plant Comodel (sub-model) | Plant growth sub-model. |
| Weather Comodel (sub-model) | Weather sub-model. |
| Plant Weather Comodel | Plant growth influenced by weather conditions. |
| Simple Comodel Controller | Minimal comodel controller example. |
| Urban Comodel (sub-model) | Urban sub-model for traffic comodel. |
| K Nearest Neighbours | KNN classification demo with agents. |
| Life Using Matrices | Conway's Game of Life implemented with matrices. |
| Life with time | Game of Life with temporal dynamics. |
| Particle Life | Particle-based life simulation with attraction/repulsion. |
Recipes (new)​
| Model | Description |
|---|---|
| Agent Execution Benchmark | Benchmark: agent action execution speed. |
| Containers and Allocation Benchmark | Benchmark: container operations and memory allocation. |
| Displays and Charts Benchmark | Benchmark: display rendering and chart updates. |
| Matrix Computation Benchmark | Benchmark: matrix arithmetic performance. |
| Spatial Queries Benchmark | Benchmark: spatial query performance (grid, quadtree). |
| Ant Foraging Tests (Charts) | Chart examples using ant foraging data. |
| Map Usage Examples | Various uses of the map type. |
| Classes - 01 - Definition and Instantiation | Basic class definition and object creation. |
| Classes - 02 - Attributes and Actions | Class attributes and method calls. |
| Classes - 03 - Inheritance | Class inheritance and polymorphism. |
| Classes - 04 - Virtual Classes | Abstract (virtual) classes. |
| Classes - 05 - Advanced Features | Generics, interfaces, and advanced OOP. |
| Classes and Objects Showcase | Comprehensive class system demo. |
| Random Number Generators | Configure and use different RNGs. |
| Reduce | The reduce operator for list folding. |
| Scan | The scan operator for cumulative operations. |
| Test if Web Address is Reachable | HTTP connectivity check from a model. |
| Shell Context - 01 - First Commands | Basic shell command execution. |
| Shell Context - 02 - Directory and Variables | Shell working directory and environment variables. |
| Shell Context - 03 - Errors and Background Commands | Shell error handling and background processes. |
| Shell Context - 04 - One Shell per Agent | Independent shell sessions per agent. |
| Keyboard Combinations | Detect keyboard shortcuts (Ctrl+key, etc.). |
| Keyboard Fireworks | Visual fireworks triggered by key presses. |
| Mouse Garden | Interactive garden grown by mouse movements. |
| Grid Rendering | Render a grid (matrix) as a display layer. |
Tutorials & Analysis (new)​
| Model | Description |
|---|---|
| SIR | Basic SIR epidemic model. |
| SIR_Betad | SIR with beta-distributed parameters (sensitivity). |
| SIR_LHS | SIR with Latin Hypercube Sampling. |
| SIR_Morris | SIR with Morris screening method. |
| SIR_Stochanalysis | SIR with stochastic analysis. |
| SIR_sobol | SIR with Sobol sensitivity indices. |
Recipes folder (new recipes/ directory)​
A new top-level recipes/ folder holds the same examples as models/Recipes/, as loose files without project scaffolding, for quick reference:
| Model | Description |
|---|---|
| Classes - 01 to 05 + Showcase | Class system examples (same series as in models/Recipes). |
| Experiment and simulation | Relationship between experiments and simulations. |
| Multi-simulation | Run multiple independent simulations in one model. |
| Attribute access | Accessing attributes across species. |
| Mirror species | Basic mirror species usage. |
| Mirror species - creation and death | Mirror species tracking agent lifecycle. |