MemoSimagent-based modeling studio
Free and open source · macOS and Windows

Describe the system.
Get a model
you can defend.

MemoSim is an agent-based modeling studio. Say what you want to understand; the assistant answers with a plan; you approve it; it builds the model and runs the experiment — and keeps a record of every change.

Free, GPL-2.0-or-later, no account. 62 starter models, an offline manual and your own AI provider.

macOS build · 368.8 MB · all downloads

Segregation model — livelive
group A group B empty same-group –·unhappy –·step 0 Running
A real Segregation model running in this page. Each resident moves when fewer than 30% of its neighbours share its group — and the neighbourhood sorts itself. Drag the slider.
01 — ASK

Say what you want to understand

"Does a small preference for similar neighbours sort a mixed city?" Plain language, no code.

02 — APPROVE

Read the plan, then say yes

Agents, rules, what it will measure, what it assumes. Nothing is written until you approve.

03 — RUN

Get a model you can check

It writes the model, pins it, and runs the sweep. The model cannot change while the run is going.

Agent-based modeling means simulating many individual agents — people, cells, firms, patches of land — whose local rules produce the pattern you see. MemoSim gives you the assistant to build one, and the record to defend it.

What you get

Not a chat answer. Four things you can keep.

This is the difference between an assistant that talks and a tool that produces research artefacts.

The model

A standard NetLogo model file, .nlogox, that you can open, read and edit by hand — with its assumptions in the Info tab.

The experiment

Which parameters vary, how many repetitions, for how many ticks, and what gets measured. Saved with the model, so the run can be repeated.

The results

A table, one row per run, that you can export, plot or paste into a paper — plus the figure, if you want it drawn.

The method text

An ODD description of the model and a methods paragraph, drafted from what was actually built — not from what you hoped to build.

example result — 12 runs per thresholdcsv
thresholdsame-groups.d.
00.570.008
0.10.580.014
0.20.590.010
0.30.640.010
0.40.680.011
0.50.730.017
An example result: means of 12 runs per threshold, recorded by the experiment. The run-level table (96 rows) ships with Memo 01, so you can check the average yourself.
The part that matters

An AI that cannot quietly change your model.

Every tool promises speed. What matters to someone who has to defend a model is what the assistant refuses to do.

  • It plans before it writes. Restates your request as agents, rules, measures and assumptions, and waits for approval. Writing is blocked while the gate is closed.
  • It pins the model. While an experiment runs, code and world edits are refused. It will not run an experiment on a model that changed since you approved it.
  • It keeps the receipt. Every tool call, duration and code diff in one log. Every version restorable with one click.

That is what makes the model defensible: you can show a reviewer the plan you approved, the version that ran, and every change in between.

How the gate, the pin and the log work →

plan → work logone turn
Plan — Residential segregationproposed
Agents
1,089 residents in two groups, one per patch, on a 33×33 torus
Rules
move to a random empty patch when the same-group share of neighbours falls below the threshold
Measures
mean same-group share, share of residents satisfied, ticks to settle
Levers
min-fraction (0–0.7), move-prob
Assumes
two groups, equal size, no preferences over distance or price
Changes
one new reporter, mean-same-share; no change to the move rule
Approve & buildChange somethingNothing is written until you approve.
@@ to-report segregation-index
+ to-report mean-same-share
+   if not any? residents [ report 0 ]
+   let tot 0  let cnt 0
+   ask residents [ ... ]
+   report tot / cnt
  end
What you see while it works: the plan you approve, and the diff it writes afterwards — every call timed and logged.
Compare

How this differs from what you already do

A chatbot and NetLogo by handSame speed on a first draft.You also get a plan you approved, a log of every change, and runs that cannot drift.
NetLogo aloneThe reference engine, decades of models.Same engine and files. MemoSim adds the assistant, the pin and the record.
Mesa, GAMA, RepastPowerful for people who code.Faster from a question to a first experiment, with the interface and the sweep built in.

If you are happy in NetLogo, stay. What MemoSim adds, and what it does not claim →

The library

62 models, each with its assumptions attached

Health, environment, social science and economics. Every model states its question, its mechanism, its controls and its limits. We also name the four fields where the library has no models yet, rather than padding it.

Browse the library Run one in your browser

20Health
20Environment
20Social science
2Economics
Proof

We publish the runs, not just the claims.

Memo 01 asks whether a 30% preference sorts a neighbourhood. 96 headless runs later: 57% of a resident's neighbours already share its group with no preference at all, 64% at 0.3, and 90% at 0.7. The model, the experiment and the raw table ship with the sentence that quotes them.

Read Memo 01 →   All Memos →

results96 runs
50%60%70%80%90%100%00.10.20.30.40.50.60.7min-fractionsame-group neighbours
Memo 01, 96 runs in MemoSim 1.1.4. The raw CSV is published with the Memo.

Five minutes to your first model.

Download it, open a model, change one assumption and run it again. No account, no email, no sales call.

v1.1.4 · 22 November 2026 · GPL-2.0-or-later · installers are not notarised yet, and the download page says so.