NetLogo

CCL · CCL.NetLogo

A multi-agent programmable modeling environment.

NetLogo is a programmable modeling environment for simulating natural and social phenomena. It was authored by Uri Wilensky in 1999 and has been in continuous development ever since at the Center for Connected Learning and Computer-Based Modeling. NetLogo is particularly well suited for modeling complex systems developing over time. Modelers can give instructions to hundreds or thousands of “agents” all operating independently. This makes it possible to explore the connection between the micro-level behavior of individuals and the macro-level patterns that emerge from their interaction. NetLogo lets students open simulations and “play” with them, exploring their behavior under various conditions. It is also an authoring environment which enables students, teachers and curriculum developers to create their own models. NetLogo is simple enough for students and teachers, yet advanced enough to serve as a powerful tool for researchers in many fields. NetLogo has extensive documentation and tutorials. It also comes with the Models Library, a large collection of pre-written simulations that can be used and modified. These simulations address content areas in the natural and social sciences including biology and medicine, physics and chemistry, mathematics and computer science, and economics and social psychology. Several model-based inquiry curricula using NetLogo are available and more are under development. NetLogo is the next generation of the series of multi-agent modeling languages including StarLogo and StarLogoT. NetLogo runs on the Java Virtual Machine, so it works on all major platforms (Mac, Windows, Linux, et al). It is run as a desktop application. Command line operation is also supported.

winget install --id CCL.NetLogo --exact --source winget

Latest 7.0.4

Release Notes

New Features

  • Users can now select a preferred code font (see the “Code” tab in the preferences)
    • In addition to simply providing more flexibility, this is intended to provide a workaround for users who have reported that Chinese characters were not rendering in code on Windows
    • Note that you can quickly search for a specific font by typing a subset of the font’s name after opening the dropdown
  • NetLogo will now open the relevant help page in the bundled user manual PDF when an internet connection is not available
    • The static HTML version of the manual will no longer be provided, since it mainly duplicates the content of the PDF

    • NetLogo will still default to opening your browser to the latest docs on

      docs.netlogo.org when an internet connection is available

  • Exported BehaviorSpace experiments now record which version of NetLogo they were exported from
  • NetLogo will now ask for confirmation if you are about to discard data from paused BehaviorSpace experiments (e.g. by closing the application or changing models) Bugs Fixed
  • Widgets
    • Mouse cursor icons were sometimes failing to change appropriately when editing widgets
    • Input widgets were getting set to the “String” type after being edited
    • The text input on vertically-oriented sliders was not accepting clicks properly
    • Plot pen code editors could “undo” into unexpected states
    • Plot pen “update” code editors did not provide good scrolling
    • The plot-level pen “update” code editors were not keeping their contents in-sync with their respective pen-level pen “update” code editor
    • Plot code editors were closing on mouse-down (instead of mouse-up), reducing sensitivity to mouse movement and preventing abortive clicks
    • Trying to save a plot with duplicated pen names could lead to multiple error dialogs
    • The “Snap to grid” setting from the previous model was persisting when opening a new, empty model
    • The plot editor’s display panel for runtime errors was displaying incorrectly
    • When panning the 3D view widget, agents could be visible that should not have been, due to the topology
    • The “forever” icon on buttons did not previously respond to zooming
    • Clicking a slider widget would block the use of some other valid keyboard shortcuts
    • Sliders could previously only handle span ranges of up to about 2e9 numbers, but can now span the full range of double-precision floating-point numbers (closer to a span of 3e308 values)
    • Compilation errors were not being displayed within “Edit” dialogs for slider widgets
    • Some widget types were not offering tooltips when title text was truncated by ellipses
    • Button action keys now only work when the interaction tool is selected
    • Making a selection box that intersected the view widget sometimes left erroneous vertical lines in the view
    • Note widgets were not always using the correct font size when zoomed
    • Sliders resized incorrectly when zoomed
    • The arrow icon on chooser widgets failed to resize correctly when zoomed
  • Editor
    • The “Comment / Uncomment” action would previously only add ; to the beginning of the line, but now respects the pre-existing indentation of the text
    • Using the “Comment / Uncomment” action on multiple lines of code was not being treated as a single action, with regards to “Undo”/“Redo”
    • Only the main Code tab editor was allowing use of the keyboard shortcut for toggling the comment state of a line of code. Now it works in widgets too.
    • __includes files were always being compiled on-save, unlike the main Code tab
    • __includes files would display their compilation errors in the main Code tab
    • __includes files would not update the name listed in their tab until hovered by the mouse
    • __includes files, when saved on Windows, could produce duplicated tabs
  • Extensions
    • GoGo: The daemon process could erroneously continue running if NetLogo closed unexpectedly
    • GoGo: The daemon process previously required a separate, manual installation of Java, but now simply reuses the one that ships with NetLogo
    • Bitmap: Was not always notifying NetLogo of the need to perform a redraw after importing an image
    • LevelSpace: Child models opened in separate code editor tabs could not be closed
    • LevelSpace: The child model UI was not adapting to main application’s selected color theme
  • Engine
    • NetLogo was producing an error when the size of an agentset changed while that agentset was being iterated over
    • NetLogo code that calculated an infinite/non-numeric result could result in the wrong error message
    • resize-world was not resetting the tick counter
  • BehaviorSpace
    • BehaviorSpace was not giving early or informative errors, when the world dimension parameters were clearly invalid
    • BehaviorSpace experiment selection was not being remembered, after editing that experiment
    • BehaviorSpace experiment selection was not being remembered, after importing a new experiment
    • The directory from which the last BehaviorSpace experiment was imported was not being remembered
    • Checkbox selections (i.e. whether or not to update plots or the view) were not being remembered after resuming a paused experiment
    • Tooltips on labels in the experiment editing dialog were hiding too quickly
    • Experiments exported to XML were not being given proper XML headers
  • HubNet
    • Some HubNet widgets had unintended differences in sizing and layout from non-HubNet widgets
    • HubNet toolbar actions were sometimes interfering with standard toolbar actions
    • The HubNet “mirroring” option was getting out of sync when opening multiple HubNet models in a row
    • The HubNet activity name was getting out of sync when opening multiple HubNet models in a row
    • “Ghost” monitor widgets were not showing a preview name in the HubNet Client Editor
    • An unnecessary number of blank lines were being printed out to the HubNet Control Center when sending a message
    • HubNet could sometimes display an incorrect list of connected clients, if multiple connections were established at the same time
    • Changes to the drawing layer would sometimes be delayed in appearing to clients
    • Opening the HubNet Client Editor would always cause NetLogo to behave as if the current model had unsaved changes.
  • Color themes / Dark mode
    • The default color theme was not syncing with the device’s system-wide settings
    • The divider between the widget area and the Command Center could erroneously take on a shade of gray that did not visually distinguish the two sections very well.
    • Apply to System Dynamics Modeler tabs and code editor
    • Apply to “Import from Library” button in shapes editor dialogs
    • Apply to code block text in rendered Info tab content
    • Don’t apply to plotting area borders; use value of set-plot-background-color instead
  • Misc
    • Files were reloading due to external changes, even when the preference for this was disabled
    • Editing a model that was saved in OneDrive (or similar) was causing unnecessary reloads of the model
    • netlogo-gui.sh did not properly launch on Linux (although bin/NetLogo worked as expected)
    • Errors when parsing invalid .nlogox files were sometimes not handled gracefully
    • Multiple “Are you sure you want to overwrite this file?” dialogs were being displayed, when only one was needed
    • .nlogox files could be opened by dragging and dropping into the application, but .nlogo files could not
    • A dialog was being displayed to warn about unsaved changes when first opening the Models Library window, instead of waiting until a model was actually being opened from the Models Library
    • The analytics/telemetry functionality could lead to a freezes or unnecessary use of resources, when unable to upload the data
    • The announcement banner was made shorter
    • Old autosaves of models were being kept around for far too long
    • Models were not being marked as in need of saving after changing the view update mode
    • Improved the contrast of buttons that are disabled until ticks start
    • The interactable model list in the Models Library dialog had the same background color as the non-interactable sections of that dialog
    • Code editors with compiler errors were sometimes scrolling to the bottom whenever they were made visible
    • Documentation, text labels, and file names were inconsistently using the terms “BehaviorSearch” and “Behaviorsearch”. It is now consistently “BehaviorSearch”.
    • Attempting to open NetLogo models from Finder with the Mac launcher installed was opening the application but not loading the selected file
    • Error messages were unhelpful when headlessly launching BehaviorSpace experiments in invalid configurations
    • When compiling invalid code of the form set [ 1 2 ] [ 1 2 ] , the error message was unhelpful
    • The 3D view widget’s “Model Settings” dialog was not showing the option to mirror the updates to the 2D view
    • The 3D view widget would (in rare circumstances) throw an error when being opened or closed

Installer type: wix

Architecture Scope Download SHA256
x86 Download ECCD2FF33481D22984945ED33BCDB805CD927911803E8BEB24C835415361DC84
x64 Download DBCB80A66946E4C27D9F0FE69F83EEAFC62F2B6A89CA64BFB6D684AC3959C0E3

Details

Homepage
https://www.netlogo.org/
License
GPL-2.0-or-later
Publisher
CCL
Support
https://www.netlogo.org/resources/
Copyright
Copyright 1999-2026 by Uri Wilensky

Tags

modeling

Older versions (8)

7.0.3
Architecture Scope Download SHA256
x86 Download 1C4C5003AA1277F55ACAA2E0A41ACF241FAB3840DE5657AC432F253A55D0C369
x64 Download A6753603C55A0645A9EB8D75412D7E331F970B60332712E8DC0346B1813A55D7
7.0.2
Architecture Scope Download SHA256
x86 Download C7B62FC39F8912DC650D63F4473123E00CB7674BC35078CA3C4347E69CDEB31E
x64 Download 8E00F0146EA6D6114E7EE473A50236347E52075990F8CF7BFF4BB4937B207039
7.0.1
Architecture Scope Download SHA256
x86 Download E9412754D9BC69072DA90BE0615E2C7DAB26D784C3712E8004482F0BC0FE0564
x64 Download F2438D58115BD54FC28D179EA91A5309B9B7460701296CE13F639CDB7D2C0ADF
7.0.0
Architecture Scope Download SHA256
x86 Download 973F3DE35036FF907D3648EF6A546C321ECD73FD00A14DA9506E86AD1C76B344
x64 Download AE780E3168CF223A2EC7682852F8F3006C813BBFA5679861F11AB91205E7AC1B
6.4.0
Architecture Scope Download SHA256
x86 Download 63B10D0B9EF40A17097FA2F567D6625446FBE5C4E2138137A432FBCD7C705EC6
x64 Download B96D88424A80B93AB545BC8BF76A5C01FCC6E438061B06A98B5CE55E344C402C
6.3.0
Architecture Scope Download SHA256
x64 Download 68EBF4CE1969946266FEEC47B3AD246E2BFBF4565CA06835DA30853760F9227D
x86 Download 7FE92763BDE12A6E412DD85D7CBF34BA31B35AE9337DC90265450099A6CBC6FB
6.2.2
Architecture Scope Download SHA256
x64 Download 9FF23E9E470E449670F1BD177E1D3352BDC1C742C07EEF0EBF7FE4CB4FCC53D0
x86 Download 7CBA8F2EBEDC86F4A5B7EF03970DFBC6AB47D56FD083C39C7EE68A272A6105D3
6.2.0
Architecture Scope Download SHA256
x64 Download D6D436ABA36FF92C0EB5DE659D165A1023518BBBD97739AC72C4C7F2DD903194
x86 Download FD152C3DEFE46C730FF9B5924E6446F4C0ACE52F51B6930E3FB0343F93E02BB6