fagi / an atlas of artificial life
ESEN
Play

Preregistered result / 6–10 Oct 2026

Inheriting beats
learning.

Daughters born with what their mother learned survive 88% of the time; those that learn the same way from scratch, 66%. What one life finds too late to save itself saves its daughters. 48 of 48 populations, with a deliberately damaged program; what passes on is the repair itself. Four preregistered studies.

01 / Perceive02 / Experience03 / Learn
Plate I / The organismGame illustration · not an experiment

What Fagi is

An artificial organism that learns through its body.

F
Filial
A
Artificial
G
Generational
I
Intelligence

The F is for filial: what passes from mother to daughter. What a Fagi learns does not die with her; her daughters are born with it, insights and mistakes alike, and measuring which weighs more is the project's question. The G is not for general: we are not after one mind that can do everything, but an intelligence that does not fit in a single life.

Fagi lives in a simulated world with food, poison, water, rain and night. Nothing tells her what is good or bad: she finds out by trying, and what her body feels becomes synapses, remembered places and rules.

All her knowledge can be inspected —each belief keeps where it came from— and the world is deterministic, so we can replay a life changing a single thing. The project's question: when a mother passes what she learned to her daughter, does she pass on knowledge, or her mistakes too?

Fagi is not a language model. Language models (LLMs) enter the project in two ways: as a subject of study, setting an LLM to rewrite Fagi's code, and as a building tool, because the whole project has been made programming alongside them.

Plate II / The neural networkRe-enactment of the game's panel · fixed script, not an experiment

Fagi and LLMs

An artificial-life project built with artificial intelligence.

01 / Subject of study

An LLM rewrites her code

Fagi's end goal is to rewrite her own behavior. We tried it with a local LLM (Ollama): each generation it rewrote, in sandboxed JavaScript, the rule each Fagi uses to decide what to eat, and selection kept the best versions. The code won in new worlds (+0.056), but through what the model already knows from language ("leave what harmed"), not from life: a rule of each lineage's own was learned by none (0 of 10). We publish it as a closed line.

research/code-culture/ · negative results

02 / Night mind

A small model proposes hypotheses at night

An optional bridge connects Fagi's night to a small local model: it receives what she tasted and saw during the day and proposes new rules, only within the game's grammar. Fagi still puts them to the test with her body; the model suggests, it does not decide. It is a prototype and ships off: no result on this page depends on it.

scripts/night-llm-bridge.js

03 / Building

Built with Claude, Codex and Gemini

The simulator, the preregistered studies, the analyses and this site were written pair-programming with AI assistants: Claude (Anthropic), Codex (OpenAI) and Gemini (Google). The questions, the design and the decisions are the author's; the models write code, run batteries and review. That is why every study is frozen before it runs and every figure can be regenerated from the repository.

  • Claude
  • Codex
  • Gemini

The central question

Do we pass on knowledge,
or our mistakes too?

Each Fagi writes what she learns as code: rules with a weight, how many times she tried them and where they came from — her own experience, what a sister told her, or her mother. When she dies, her active code passes to her daughter.

Inheriting spares her dangerous tries. But a wrong rule that nobody tries again never gets corrected, and it passes on intact from generation to generation. In Fagi we can inspect each belief, change the world and repeat the conditions of an experiment to measure which of the two weighs more.

Plate III / The learned codeRe-enactment of the game panel · fixed script, not an experiment

Field notes / Results

What we know so far.

Simulation results. Every conclusion has a scope.

Inherited learning

Inheriting beats learning.

With a damaged program, daughters that inherit their mother's revisions live 88% of the time; those that learn from scratch, 66% (+22, 48 of 48 populations). What passes on is the repair itself: without it, inheriting does not help. Four preregistered studies.

See the studies ↗
The other side

Mistakes are inherited too.

With the intact program, nothing to repair, learning and inheriting cost about 5 points: learning's trials cost food, and rules that were not needed are inherited.

See the measured cost ↗
Leaps in the body

Almost every big leap is a burden; the world picks which.

When a young is born with organs ×1.5–2, she leaves offspring less often than the same young unchanged (47% against 62%). Costly leaps —brain, muscle, size— take 40% of the time; cheap ones —antennae, eyes— 70%. Upward leaps make bodies bigger in 88 of 96 maps.

See the study ↗
Earlier study

Passing on reasons is not always adapting better.

Reasons teach better in a steady world, but at an inversion they leave fewer survivors than conclusions; matching coverage shrinks that gap.

Read the cultural transmission study ↗
+22 ptsinheriting versus learning, in the world without the movement bug; 48 of 48 populations
88%of what the damage cost is won back by inheriting; by learning in each life, 37%
−5 ptslearning or inheriting with the intact program: with nothing to repair, it costs

01Abstract

Fagi is an artificial organism that learns from its body. Its knowledge can be inspected —every belief and every rule records where it came from— and its world is deterministic, so we can repeat a life changing a single thing. The question running through the project: when one generation passes on what it learned to the next, does it pass on knowledge, or its mistakes too?

Main result (four preregistered studies, 6–10 October 2026). With her program broken on purpose, daughters born with their surviving mother's revisions —each backed by evidence— survive 88% of the time, against 66% for daughters that learn the same way from scratch (+22 points, 48 of 48 populations; fourth study). The first three studies ran with a movement bug (the Fagis walked in circles 18% of the time) and gave +11; without it the gain doubles. What passes to the daughters is the repair itself: take it out of the inheritance and inheriting is worth what learning is. What one life finds too late to save itself saves its daughters.

The other side. With the intact program —nothing to repair— learning costs about 5 points and inheriting as much (fourth study; with the movement bug, inheriting cost 9): she writes rules she did not need and her daughters are born with them. Inheritance amplifies what the mother learned, whether a repair or a mistake. Drawing only surviving mothers adds little (+2–3 points). The hypothesis that learning costs nothing (H4) was not supported. A third study (H5) found where the cost comes from —the trials, not the rules— and a filter that halves it without losing the repair, but does not remove it.

Leaps in the body (fifth preregistered study, 11 October). If now and then a young is born with one to three organs greatly changed (×1.5–2), as with a mutation in a developmental gene, most of those leaps are a burden, and the world sorts them by what they cost: a body twice as large never left young; twice the muscle, almost always. With leaps only upward, the population's bodies grow. Drift is huge —by the fourth year more than half the living descend from a young marked at random— so everything is measured against that control.

Earlier study. Passing on reasons ("the sour one made me sick") instead of conclusions ("don't eat the red drop") teaches better while the world stays the same, but when it inverts leaves 22–27 points fewer survivors than verdicts; matching the transmitted coverage shrinks that gap by 80%, and reasons still carry more myths (section 09). In the game, three colonies in different habitats over 20 years evolve towards the world they share —more muscle, less brain— but we found no colony adapting to its own habitat.

02The question we can put to the test

Does a daughter born with what her mother learned live longer than one that learns the same from scratch? And what does she inherit when what her mother learned was a mistake?

Whether what is learned in life can pass to offspring has a long history. Hinton and Nowlan (1987) showed that learning can guide evolution even when what is learned is not inherited (the Baldwin effect); in C. elegans, a learned avoidance passes on for about four generations (Moore et al., 2019). The "hot stove" of Denrell and March (2001) warns of the risk: a learned avoidance is almost never corrected, because whoever avoids something stops trying it. Inheriting what was learned could spare each generation from rediscovering the same things, or chain it to its mothers' mistakes.

Fagi lets us measure both in the same world: we damage her program on purpose (or not), let her learn, and compare daughters that inherit with daughters that learn from scratch in identical worlds. An earlier study asked the question for culture: does passing on reasons instead of conclusions make a culture more adaptable or more superstitious? (section 09). None of this transfers directly to animals or humans.

Two rules that guide the whole projectFagi is judged by realism, not survival: dying is fine if the cause is realistic; only artificial deaths are bugs (dying next to known water, getting stuck in a loop, sleeping while critically thirsty). Confirmatory claims require a protocol frozen before looking at the data; exploratory findings are identified as such.

03The world

A 1280 × 860 pixel map that represents about 64 × 43 cm of ground. One second of game time equals about eight minutes in the organism's life. Everything is physics: the world does not know what is "good" or "bad", only what each thing does to the body.

Fruit with hidden chemistry

Each species is a secret mix of compounds that the tongue reads as seven tastes (sweet, umami, salty, sour, astringent, bitter, spicy), and only in the mouth. A bitter species is poisonous with probability 0.7; a non-bitter one, 0.1. Each study map has two poisonous mimics of nutritious species. Old fruit rots and becomes toxic. In the game the map is different: one nectar tree per nest, and poison comes from rotten fruit and from a habitat's toxic tree.

src/chemistry.js · src/taste.js

Water, wind and smell

The pond never runs dry, but deep water traps. The wind turns slowly and each source gives off a scent plume that can only be sensed downwind and within 34 px. Rain, every 4–7 minutes of game time, leaves puddles and wipes out scents and pheromone.

src/wind.js · src/smell.js · src/rain.js

Day, night and temperature

A day lasts 180 s. The air swings around 22 °C (10 °C at dawn, 34 °C in the afternoon). Its body prefers 25 °C, tolerates 15–33 °C and dies below 4 °C. The nest is at 24 °C (give or take what its habitat shifts); shade is 5 °C cooler. At night it keeps 45% of its sight.

src/cycle.js · src/thermal.js

Seasons

A year lasts 3600 s (20 days). Winter takes up 45%: trees yield ×0.02 and the air drops 8 °C. The code allows hot years (+12 °C) and years with fruit far from the nest, pressures that reverse direction; in the game they are off: every winter is the same.

src/seasons.js

Bodily needs

Hunger (≈1250 s to death, one "week"), thirst (≈180 s, one "day"), energy, temperature, sleep pressure, salt and health: 100 points, reduced by stings (12) and poison (10), which slow it down, limit reproduction and kill at zero.

src/needs.js · src/health.js

Life, sex and generations

Four founders per nest (12 in the game). Adult at 360 s, they live 5400 s ±15%, and age at 75% of their lifespan. Eggs hatch in 240 s. Females are slower and have more energy; males the reverse. Daughters inherit genes and the innate program; in the game, also a mark of their parents' organs and the lines of conduct their mother learned with evidence. Inbreeding costs: an egg with inbreeding coefficient F hatches with probability e−1.57·F (Ralls et al., 1988).

src/lifecycle.js · src/reproduction.js · src/program/genome.js

Colonies and habitats

In the game three colonies of up to 30 live, each in a habitat dealt at random per map: cold (air and soil −3 °C), hot (+6 °C) or with a poisonous tree 150–260 px from the nest. Fruit comes every 30 s: food and winter decide how many live. An empty nest is refounded by a pair from the nearest colony at least half full. No two are born alike: speed, reserves, metabolism, thirst, insulation, senses, memory, poison tolerance and lifespan vary ±10%, half of it heritable.

src/habitats.js · src/reproduction.js · src/variation.js

Body, load and rearing

Six heritable organs (brain, gut, muscle, eyes, antennae, size), each with a benefit and a cost. Fruit has weight and some is hard: carrying costs according to muscle × size⅔. A mother lays only after bringing food home herself, picks the strongest male that is not kin, and what she has lived up to each brood marks that brood. She walks slower uphill, warily on ground she barely knows, and sprints home from rain, cold or heat.

src/morph.js · src/load.js · src/gait.js

Trees that are born and die

In the game each tree lives a year and a half (±30%). Fruit that rots uncollected leaves a seed, which takes root away from every crown; fruit carried to the nest seeds near it, as ants do; an old tree leaves a seedling beside it. There are never more trees than at the start. A hungry Fagi waits by a tree that bears, rounding it at her own pace, and if she finds herself turning without getting anywhere she gets "dizzy" and goes straight.

src/trees.js · src/movement.js · src/dizzy.js

The organism's modules (cycle, temperature, sex, sleep, habitats, individual variation, inheritance of what was learned) start switched off in the configuration: with them off, the simulation is exactly the one the preregistered studies ran, down to the last random number. The game switches them on at startup.

04The organism

Each file has a single responsibility: movement.js moves but does not decide, decision.js decides but does not draw, render.js draws but does not touch state. The full loop, from what it senses to what it passes on:

How to read this diagram
  • Read it as a circuit, following the arrows: what she perceives (sight, smell, taste) goes into her program, an ordered list of behaviors; the first one that fits decides the action.
  • The body is the judge: when she eats or drinks, how she was before is compared with after. That real difference —less hunger, more poison— is the reward, between −1 and +1. Nobody tells her what is good.
  • From experience to a rule: memory keeps how much each thing is worth and how confident she is. When she is sure enough, she writes a readable rule that says where it came from: from birth (born), her own experience (self), the night (night), being told (told), watching another (saw) or inherited (inherited).
  • The dashed boxes (the night in the nest and the colony) are processes that can be switched off to isolate an effect in the experiments.
Perception sight · smell · taste Program lines in order; first one wins Action eat · drink · carry Body compared before and after Episode reward −1…+1, real Memory value + confidence Readable rules born · self · night · told · saw · inherited Night in the nest sorts the day · predicts · questions for tomorrow Colony trophallaxis · watching · mother to brood
Figure 1. Eating or drinking opens an episode with a snapshot of the body; when it closes, the comparison yields a reward computed from real changes in the body (hunger, thirst, salt, speed and other capacities) plus how much the taste was liked. The only weights set by hand are how much each taste is liked and the penalty for danger or death. Memory turns it into value and confidence; once the belief weighs enough, a readable rule is written (or revised, or withdrawn) with its origin. Dashed lines are processes that can be switched off for experiments.

A hierarchy that comes from a single directive

Everything it does comes from "survive", ordered in five tiers: survive now (drink, eat, draw on the larder, flee extreme heat or cold); endure (rest, sleep, seek shade or shelter, go home at dusk); provide (carry what it does not need to the nest, and chase what it sees); clues (follow a smell, return to a remembered place, zigzag); explore (with no needs or cues, knowing the map is the only thing that prepares for the rest). This hierarchy is not code that only a person can change: it is data the ant carries, one line per behavior, and the first line that responds wins.

Knowledge you can read

Nothing is evaluated with eval. Rules and program are printed as real JavaScript and read back with a closed grammar, so any belief can be inspected, traced to its origin and exported.

// a rule she wrote herself: red left her hungrier, not fed, and slowed her down
rule('avoid-color-red', {"on":["eat"],"when":{"all":["color:red"]},"verdict":"avoid","weight":-0.62,"pro":3,"con":0,"because":[{"sense":"hunger","v":4.2},{"sense":"speed","v":0.6}],"learnedAt":812,"tries":4,"stage":"medium"})

// one of the two caution lines she is born with in the game
conduct('leave-harmed-mostly', {"if":{"harmedMostly":true},"do":"leave"})

// a line of its program: rest before chasing if energy drops below 35
line('rest-before-pursue-energyBelow35', { "tier": "endure", "from": "rest", "over": "pursue", ... })

Social

In the nest, sisters pass rules to each other by trophallaxis when they touch (they trust them at 0.6 of the teller's confidence); watching a sister eat teaches at 0.4; the mother, if alive, teaches her young. Every copy keeps its origin. A told rule that the ant's own experience contradicts more than it confirms dies.

What the game has switched on today

  • Scientific night: every question carries a prediction, the agenda is ordered by expected progress × safety, and answers come back as verdicts.
  • Learned drives: how much food or water is worth at each level of need is learned from the relief she felt (Zhang and Berridge, 2009).
  • Caution when eating: she is born with two lines, taste the new first and leave what harmed her as often as it fed her.
  • Her program, learned and inherited: she tries rival lines, writes her own when the evidence backs them (judged by her reserves, no risky trials at night), and they pass into the egg. The second inheritance study measured that, with the intact program, this costs survival (section 07).
  • Night mind, diurnal sleep, evolving body, habitats and colonies, described above and in section 12.

Off in the game but available in the settings: concepts, a two-stage stomach and the free-flow selector (section 10).

05How it learns, step by step

  1. Try. It is born not knowing which trees give food; it sees appearances, not species.
  2. Feel. Taste exists only in the mouth. A bad bite brings sickness and an aversion to that smell after a single trial, as in Garcia and Koelling (1966).
  3. Remember. Each experience shifts value and confidence with a Rescorla-Wagner-style rule, from short to long term (short-term confidence fades in ≈1 simulated day; long-term, over weeks).
  4. Write. If a belief crosses a threshold it becomes a rule, with hysteresis so it does not flicker.
  5. Sleep. Every night, asleep in the nest, it sorts the day and turns its doubts into questions with a prediction, answered the next day with a test bite, starting with what teaches most without putting it at risk.
  6. Group. With things that have no innate category (only color, shape and texture), it forms concepts that predict new species and withdraws them when they fail; after a surprise, it doubts everything for a while (Behrens et al., 2007). In the studies; off in the game.
  7. Reorder its program. If putting one behavior in front of another saves reserves again and again, it writes that line with its evidence; its daughters inherit it.
  8. Transmit. To sisters and to the next generation, in the format the experiment sets: nothing, verdicts, reasons, or reasons with evidence.

06A session, from the inside

Everything below is filmed from real game sessions, with no editing: the game runs in local mode in a headless browser, the world follows its usual rules and each clip is a stretch of a session cropped to one panel. First a whole year in time-lapse; then, with the colony a year old, the panels through which the game lets you look inside the ant you follow, each enlarged with its own “Enlarge” button and scrolled from top to bottom.

Clip 1. A year in a minute. The whole map over 3600 s of game: twenty days with their nights, summer, autumn and winter, which brings cold and almost no fruit. When it rains the time-lapse runs about nine times slower, so the shower is seen, the puddles it leaves and how the sun dries them. The coloured lines are the trails they leave as they move. The label on top is added by the script from the game's own clock.
Clip 2. What playing looks like. The full screen, in real time, with the camera on the ant you follow: the cone is what she can see, the top bar her needs, the right panel her record and, below, the decision console with its panels.

The panels

None of these panels computes anything: they read what the simulation already keeps and draw it every frame. All of them are in the game's decision console, under the map.

Right now. What she is doing and why: the behaviour in charge, her reserves, what her eyes and nose pick up, what she carries, the latest news and the score of every option that was on the table.
History. Her life told line by line: what she ate and how it agreed with her, how her belief moved, which rules she wrote or retired, when she took shelter from the rain. It is the same account that is saved with the session.
Brain map. The whole path of a decision, top to bottom: what she feels, what she perceives and how she scores it with what she remembers, instinct, the decision, what she learns from her last bite, the network of synapses she has been building (thickness = strength; what goes unused weakens and is pruned; the dots are signals firing at that instant), her wiring for exploring or going back, and her mental map.
Body map. Her exoskeleton seen from above with the organs inside, each glowing as hard as it works. Below, organ by organ: its size against her genes (the body evolves), what it reads now and the behaviour it sets off.
Mental map. What she remembers of the place, not what is there: where she saw water, trees and puddles, and how sure she is. A puddle she remembers may already be dry.
Learned code. What she has learned, written as code that can be exported and imported: each rule with when she wrote it, how many times she tried it, why (the senses that back it) and whether she learned it herself or a sister told her; retired ones stay commented out. Below, her memory: beliefs, synapses, traits and her latest bites.

How it was filmednpm run build · npm run site-clips (scripts/site-clips.js: Playwright films the session with Chromium's screencast and encodes it to WebM).

07Main result: inheriting beats learning

Confirmatory  Two protocols frozen before running: 2459b1c (6 October 2026) and e6563e3 (9 October); both were run without changing a line or deviating.

Does a daughter born with her surviving mother's program revisions live longer than one that learns the same way, but from scratch?

The short answer. Yes, when there is something to repair: with part of her program broken on purpose, daughters that inherit their mother's revisions live 22 points more than those learning the same way from scratch in the world without the movement bug (fourth study; +11 in the first three, with two different damages). With the intact program, though, learning and inheriting cost about 5 points.

The damage. In a world of scarce food (one fruit every 575 s, where what she does decides whether she lives; see “The test world” at the end of this section) we move one line of her program to the end: dusk (going home as the light goes; survival drops from 75% to 44%) or, in the second study, shelter (take shelter).

How to read this section
  • The experiment: we deliberately break part of her program —for example, we move “go home at dusk” to the end of the list, so she gets home late and cold— and measure whether learning or inheriting fixes it.
  • The arms are versions of the same experiment that differ in one rule only: born (neither learns nor inherits: the control), learns (each daughter from scratch), inherits from any (born with what her mother learned) and inherits from survivors (likewise, but only survivors become mothers).
  • The measure is almost always the share of lives alive at 2 hours of game time. Only generations 3–5 count, once inheritance has had time to build up.
  • A population is 16 lives per generation over 6 generations. Each population runs in the same world in every arm, so differences are not the luck of the map.
  • The hypothesis tables: better / worse counts in how many populations the first arm won or lost; difference is in survival points (+11 pts = 11 more lives in 100); p is the probability of seeing that difference by pure chance, and below 0.05 it is taken as real; bound is the worst plausible value, which in the “costs no more than 5 points” hypotheses must stay above −5. Primary is the main question, fixed before running.

First study (6 Oct): four hypotheses

Design

  • Four arms: born (does not learn); learns (every life from scratch); inherits (mother drawn from the previous generation's survivors); inherits from any (dead or alive).
  • 32 populations × 16 lives × 6 generations per arm; seeds 20000–51095, never used before. Lives pair across arms by population, generation and slot.
  • How she learns: a moment is worth what it took from her reserves (not 15 s of distress); at night she only tries endure lines; the worse she is, the less she tries. An accepted revision carries its evidence and passes into the egg; it is retired only on evidence against it.
  • Analysis: survival to 7200 s in generations 3–5 (1536 paired lives per contrast), one-sided exact sign test on discordant pairs, α = 0.05. Only H1 is primary.
How to read this figure
  • Horizontal axis: generations, 0 to 5. Vertical axis: share of lives alive at 2 hours. One line per arm.
  • In generation 0 they all start about the same. From generation 1 the two inheriting lines pull upward and never come back: each daughter is born with the repair her mother found.
  • Learning without inheriting (blue) barely leaves the born line: each life has to rediscover the fix and often finds it too late.
born learns inherits from any inherits from survivors
Figure 2. Survival by generation, 512 lives per point (docs/research/prereg-lineage-results.md). In generation 0 every learning arm starts equal; from generation 1 the inheriting arms pull away and stay away.
Hypothesispairs (better / worse)one-sided p / H4 bounddifferenceVerdict
H1 (primary) · inherit > learn224 / 56< 0.0001+10.9 ptssupported
H2 · learn > born72 / 390.0011+2.2 ptssupported
H3 · surviving mothers > any mother177 / 1400.022+2.4 ptssupported
H4 · with the program intact, learning costs no more than 5 pts12 / 14bound −0.1090.750 vs 0.771not supported
Generations 3–5. Survival: born 0.47 · learns 0.49 · inherits from any 0.58 · inherits from survivors 0.60. Cold deaths 486 / 517 / 408 / 406.
  • What one life finds too late saves its daughters. Nearly every inheriting daughter carries dusk-before-pursue from birth; in single lives only 69% write it, and late.
  • Learning within a life helps, but little (+2 points). Selection adds a little on top of inheritance (+2.4).
  • H4 was not supported: 96 lives cannot rule out that learning costs 5 points when the program is intact (the second study, below, measured the cost: −5.3 learning, −9.0 inheriting). So the preregistration did not switch it on in the game; it was switched on later after measuring it in the game itself (8 maps × 4 years, exploratory comparison: +0.8 ants per nest, 5 of 8 maps, t = 1.3; this neither demonstrates no cost nor resolves H4).

Second study: replication, another damage and the cost of inheriting confirmatory

Preregistered on 9 October 2026 (commit e6563e3) and run that day unchanged: 416 runs, none failed. Three questions the first study left open. Does it replicate on new seeds when the unit is the population (daughters of one population share mothers)? Does it hold for another damage, shelter (take shelter) moved last? And with the intact program, nothing to repair, does learning or inheriting cost?

How to read this figure
  • Three groups of bars, one per situation: two different damages (“go home at dusk” moved last, “take shelter” moved last) and the intact program, with nothing broken. Each bar is an arm; its height, the share alive in generations 3–5.
  • With a damage, the inheriting bars are the tallest: inheritance repairs, with two different damages.
  • With the intact program it flips: born is the tallest. When there is nothing to fix, learning and inheriting only add unneeded rules, and that costs lives. The intact group has no “from any” bar because it was not run.
born learns inherits from any inherits from survivors
Figure 3. Alive at 2 hours in generations 3–5; 48 populations with dusk moved last, 32 with shelter moved last and 32 with the intact program (no “any mother” arm), 16 lives × 6 generations each, seeds 200000–247095 (docs/research/prereg-inheritance-2-results.md).
Hypothesispopulations (better / worse)differencep / boundVerdict
R1 (primary) · dusk: inherit > learn43 / 4 of 48+11.0 pts< 0.0001supported
G1 (primary) · shelter: inherit > learn30 / 1 of 32+10.3 pts< 0.0001supported
R2 · dusk: learn > born35 / 8+2.8 pts< 0.0001supported
R3 · dusk: surviving mothers > any mother27 / 14+2.8 pts0.013supported
G2 · shelter: learn > born16 / 8+1.4 pts0.099not supported
G3 · shelter: surviving mothers > any mother17 / 7+2.1 pts0.064not supported
N1 · intact: learning costs no more than 5 pts4 / 28−5.3 ptsbound −0.067not supported
N2 · intact: inheriting costs no more than 5 pts2 / 29−9.0 ptsbound −0.111not supported
Unit: the population (mean survival of its lives in generations 3–5). Superiority: one-sided sign-flip permutation (20,000); non-inferiority: one-sided 95% bound against −0.05. Holm over the two primaries.
  • Inheriting beats learning, again and with another damage. +11 points with dusk broken, +10 with shelter broken. With shelter, learning within one life barely helps (+1.4): almost all of the repair comes through inheritance. 99.5% of inheriting daughters carry the repairing line; of those learning alone, 66% (dusk) and 47% (shelter).
  • The first study, with the population as the unit (exploratory, after the run): H1 +10.9 with 31 of 32 populations ahead; H2 holds; H3 narrowly (p 0.043). The gain builds over two generations (+4, +7, +11) and then holds.
  • With nothing to repair, learning and inheriting cost. Learning, −5.3 points (28 of 32 populations worse); inheriting, −9.0 (29 of 32). H4 is no longer open: the cost exists and exceeds the margin. Deaths by cold rise from 252 (born) to 325 (learns) and 365 (inherits).
  • Inheritance amplifies what the mother learned: the repair when the program is broken, the mistakes when it is not. Intact daughters mostly inherit “go to the remembered place before following a scent or a fruit” (memory-before-scent, memory-before-pursue), and a few lethal lines (pursue-before-dusk: 31% alive). Part of the cost is the trials themselves: daughters that inherited no line also live less than their born twin (0.65 versus 0.73). This split is descriptive.
What changes for the gameThe game has this inheritable learning switched on. As the preregistration set out, with N1 and N2 not supported it should not stay on by default without fixing what is learned. The third study, below, tested a fix.

Third study: learning that leaves alone what works (H5) confirmatory

Preregistered on 9 October 2026 (commit 21ad7ec), 352 runs, new seeds 300000–331095. A pilot showed where the cost comes from: not the rules but the trials (letting another behavior take the turn to try it); trying without writing anything already took survival from 0.73 to 0.56, and with learning on but no trials the 96 lives were identical to born ones. The filter tested: try only after a bad moment (distress ≥ 0.8 of the top), a memory that halves every 300 s. A life that goes well has no reason to experiment.

How to read this figure
  • The filter only lets a Fagi experiment after a very bad moment; if her life is going well, she does not try new things.
  • Same three groups as the previous figure. Compare each bar with its “with filter” version: with the damage, inheriting with the filter is the tallest; with the intact program, the filter wins back part of the loss but does not reach born’s 75.8% (not drawn).
  • For “take shelter” only the filtered arms were run, so two bars are missing.
learns inherits learns, with filter inherits, with filter
Figure 4. Alive at 2 hours in generations 3–5, 32 populations per bar. With the intact program the born program lives 75.8%; the filter takes inheriting daughters from 67.1% to 71.2%. shelter was run only with the filter (docs/research/prereg-inheritance-3-results.md).
Hypothesispopulations (better / worse)differencep / boundVerdict
H5a (primary) · intact: inheriting with the filter costs no more than 5 pts4 / 24−4.6 ptsbound −0.065not supported
H5b (primary) · dusk, with filter: inherit > learn28 / 1+13.7 pts< 0.0001supported
H5 · both at oncenot supported
H5c · intact: the filter lowers the cost of inheriting22 / 9+4.2 pts0.0012supported
H5d · intact: learning with the filter costs no more than 5 pts3 / 28−4.8 ptsbound −0.059not supported
H5e · shelter, with filter: inherit > learn30 / 0+10.9 pts< 0.0001supported
H5f · dusk: the filter keeps the repair24 / 5+6.4 ptsbound +0.035supported
R4 · intact: inheriting costs (replication of N2)28 / 3−8.7 pts< 0.0001supported
H5 required both of its parts (an intersection-union test, each at α 0.05). Deviation in execution: 40 interrupted runs were relaunched unchanged; every life is seeded, and a control run came out byte-identical.
  • The filter halves the cost but does not remove it. With the intact program, inheriting goes from costing 8.7 points to 4.6. The estimate falls within the 5-point margin, but the bound does not (−6.5): H5 is not supported.
  • When something is broken, the filter helps. Inheriting still beats learning (+13.7 with dusk, +10.9 with shelter) and inheriting with the filter beats inheriting without it by 6.4 points: fewer wasted trials, the same repair (99% of daughters carry it).
  • What remains is the trials after bad moments: in a scarce world, hunger and cold bring near-lethal moments even with the intact program, and each one opens trials that cost food.

Fourth study: without the movement bug, and what is inherited confirmatory

The first three studies ran with a bug: on reaching a tree, a puddle or the end of a scent, a Fagi walked in circles, 18% of her moving time. We fixed it (waiting at a tree that bears, a "dizziness" that breaks the turning, a scent that ends at its source) and it fell to 1.5%. Without the loops the world is harsher and its cliff steeper, so we recalibrated it with pilots and used two worlds: one for the damage and its repair (one fruit every 550 s) and one for the cost with the intact program (570 s). Preregistered on 10 October 2026 (commit 7fd04e4, published before running), 432 runs, 48 populations per cell, new seeds 400000+; no deviations.

Two new controls. Inheriting without the repair: inheritance passes everything except the lines that repair the damage (dusk-before-*). Oracle: the damaged program with the designer's repair put in at birth, to know how much can be won back.

Worldbornlearnsinheritsinherits without the repairoracle
repair (550 s), dusk moved last0.500.660.880.670.94
repair (550 s), intact0.94
intact (570 s)0.730.680.68
Survival at 2 hours in generations 3–5, 48 populations of 16 lives per cell.
Hypothesispopulations (better / worse)differencepVerdict
R1 (primary) · inheriting > learning48 / 0+22.0 pts< 0.0001supported
C1 (primary) · inheriting > inheriting without the repair48 / 0+20.9 pts< 0.0001supported
C3 · the oracle reaches the ceiling0< 0.0001supported (trivially)
N1 · intact: learning costs33 / 12−4.6 pts< 0.0001supported
N2 · intact: inheriting costs33 / 10−5.2 pts0.0001supported
N3 · intact: inheriting costs no more than learning (margin 3 pts)16 / 22−0.6 pts0.007supported
One-sided sign-flip permutation on per-population differences (20,000), Holm over the two primaries. Evidence-gated inheritance and the shelter damage were dropped in the pilots, as the preregistration allowed: evidence strength does not tell repairs from errors, and in the new world moving shelter does no harm.
  • Without the loops, the gain doubles: +22 points, in all 48 populations. The bug hid the effect; it did not produce it.
  • What is inherited is the repair. Taken out of the inheritance, inheriting (0.67) is worth what learning is (0.66). 99.7% of inheriting daughters carry it.
  • Inheriting wins back 88% [84–92%] of what the damage cost; learning in each life, 37%.
  • With nothing to repair, learning and inheriting cost about 5 points, and inheriting no longer costs more than learning (with the bug, it did). The cost is the trials.
  • The oracle tells us nothing: its lives are byte-identical to the intact program's. Putting the repair in front restores exactly the original order, so C3 holds by construction.

How we got here (exploratory)

  • Judging by 15 s of distress hurt: learning lowered survival from 0.75 to 0.58. The whole cost was the trials (leaving a fruit in sight for a remembered place), not the lines. Trying less the worse she is stopped the harm, but did not turn it into help.
  • Selection alone changed nothing (24 versus 23 pairs): every life rediscovered the same "memory before pursue" lines; there was no heritable variation to select.
  • Changing the judge did: judged by her reserves and with safe night trials she stops writing those lines and writes the real repair, dusk-before-pursue (0.44 → 0.53 within one life, 9 versus 0 pairs).
What this result does not sayThe gain is the repair of a program broken on purpose. It shows that learning and inheritance recover what was lost; not that they find something the innate program lacks. One world, daughters living alone rather than in a colony, and rewrites within the grammar (one behavior in front of another under one condition).

The test world (exploratory)

First we needed a world where behavior decides. In the default world every program survives, even one broken on purpose: no learning can show. Sweeping how often trees bear fruit, survival falls off a cliff (96% for the innate program with one fruit every 450 s, 0% at 750 s). At 575 s the innate program lives through 75% of two-hour lives, and breaking its warmth, rest or food lines costs 27–37 points: there, what she does decides whether she lives.

How to read this figure
  • Before the studies we had to pick a world where what a Fagi does matters. The horizontal axis is how many seconds a tree takes to bear fruit: on the left food is plentiful, on the right it is scarce.
  • Each line is a version of the program: the full innate one and three broken or learning versions. With plenty of food they all live; with very little, they all die. Neither extreme can measure anything.
  • The vertical line marks the test world (575 s): the edge of the cliff, where the innate program lives 75% of the time and breaking one part costs 27–37 points. There, behavior decides.
innate program no warmth (its 4 lines moved last) no food (carry and pursue moved last) learns its program (15 s judge)
Figure 5. Survival at 2 hours by how often a tree bears fruit (24 lives per point; 48 at 550, 575 and 590), varied maps, paired by seed. What she does decides only near the edge of the cliff; at 575 s breaking one part of the program costs 27–37 points (docs/research/world-calibration.md).

In that world we moved dusk (going home as the light goes) to the end of her program: in the pilot, survival drops to 44%, and cold becomes the leading cause of death.

Result sourcesdocs/research/prereg-lineage-results.md · docs/research/prereg-lineage-inheritance.md · docs/research/prereg-inheritance-2.md · docs/research/prereg-inheritance-2-results.md · docs/research/prereg-inheritance-4.md · docs/research/prereg-inheritance-4-results.md · docs/research/world-calibration-2.md

08Explore the populations

Each dot is a real life from the second study. Pick a damage and a population: you will see its 16 lives in each of the 6 generations, in all four arms. The same column is the same world (same seed) in every arm, so the only thing that changes between panels is whether she learns and whom she inherits from. In the inheriting arms, a line joins each daughter to her mother.

How to read this figure
  • Each panel is a family tree of the same population. Each row is a generation, from g0 (founders, top) to g5 (bottom), with 16 lives per row.
  • Filled dot: still alive at 2 hours. Empty dot: died earlier. Ring: carries the line that repairs the damage.
  • The four panels differ in one rule only: born neither learns nor inherits (control); learns corrects herself during life, but each daughter starts from scratch; inherits from any is also born with her mother’s rules; inherits from survivors likewise, but only survivors become mothers.
  • Compare vertically across panels: life 7 of g4 lives in the same world in all four, so any difference comes from inheritance, not luck.
  • What to look for: with a damage, many in learns end up with a ring but write it late, and die anyway; in the inheriting panels they are born with it from g1–g2 and more dots are filled. With the intact program, the opposite: inheriting unneeded rules costs lives. The figure next to each title sums it up for g3–5.
filled: alive at 2 hours (arm color)diedcarries the repairing line (intact: any rule of her own or inherited)grey band: generations 3–5, the ones the tests count
Figure 6. Data: research/prereg-inheritance-2 → node scripts/site-inheritance-data.js.

09Earlier study: reasons versus conclusions

Confirmatory  Protocol frozen at commit 9d222c3 before any run.

The project's first question was cultural: when a colony passes on what it knows, does it matter whether it passes reasons ("the sour one made me sick"), conclusions ("don't eat the red drop") or reasons with their evidence? Under the same budget of items, in 12,800 lab lineages and 300 in the full game: reasons teach better while the world stays the same (≈40% fewer harmful bites than verdicts), but when the world inverts they arrive carrying more myths and leave 22–27 points fewer survivors. Passing the evidence along with the reasons cuts the myths. A replication that matches the transmitted coverage shrinks that trap by 80%; the difference in myths persists. 11 of 11 hypotheses in the lab, 3 of 3 in the game, 6 of 6 in the replication.

How to read these figures
  • The four colors are four formats of transmission, with the same budget of 4 items: nothing (control); verdicts, conclusions about specific fruits ("don't eat the red drop"); reasons, rules about traits that also cover fruits never seen ("the sour makes you sick"); reasons + evidence, the rule with the bites that back it.
  • The twist: in generation 6 the world inverts —poisonous becomes nutritious and vice versa. The vertical line in Figure 7 marks that moment.
  • Figure 7, generation by generation. Survivors: all even until the change, where reasons drop the most. Myths: beliefs false in the current world that the ant never tested herself. Harmful bites: fewer with reasons before the change, more after. What gets taught: how accurate what she receives at birth is; it collapses with the inversion.
  • Figure 8, the summary in three panels: on the left reasons teach better in a stable world; in the middle they leave fewer survivors when it inverts; on the right they reach the change carrying more myths. Lab and Full game are the same experiment in the simplified world and in the game's.
  • Figure 9 (inside the expandable part) answers an objection: a reason covers many fruits, a verdict only one. Matching what each format covers, the survival trap shrinks by 80%; the gap in myths stays.
  • In one sentence: generalizing helps while the world holds and drags false beliefs along when it changes; passing on the evidence cuts the myths.
nothing verdicts reasons reasons + evidence
Figure 7. The main cell generation by generation: one-trait chemistry, lifespans of 1800 s, inversion at generation 6, means of 200 lineages per format (seeds 1001–1200). Generated with node scripts/site-data.js from the same study code; generation 6 exactly reproduces the preregistered table. Everything runs level until the change: reasons show the largest survival drop, followed by recovery in later generations.
See the design, the eleven hypotheses, the confirmation in the game and the coverage replication

Design

  • Unit of analysis: the lineage (12 generations of colonies of 5). Rows from one lineage are never treated as independent.
  • Four formats with the same budget of 4 items: nothing; verdicts (per-fruit conclusions about fruit the teacher knew); reasons (rules about traits); reasons + evidence (rules and the bites that back them).
  • World change at generation 6: none, inversion (poisonous becomes nutritious and vice versa), rotation, or shift to another dimension.
  • Lab: 64 cells × 200 lineages, seeds 1001–1200, 12,800 lineages in 281 s. Formats are paired by seed within each condition. Changing the change type can also change the initial catalog; not every cell shares exactly the same world.
  • Game: 75 lineages per format, seeds 5000–5074, lifespans of 1800 s, inversion at generation 4; ≈40 min on 18 cores.
  • Analysis: paired permutation tests with 10,000 sign flips, Holm correction, 95% bootstrap intervals and effect size dz.
nothing verdicts reasons reasons + evidence
Figure 8. Means per lineage. . Reasons teach better while the world stays the same (left) but leave fewer survivors when it inverts (center), and carry more myths —false rules without personal experience— (right). These contrasts alone do not isolate causal mediation by myths.

The eleven lab hypotheses

HypothesisContrastMeasureDifference [95% CI]dz
H1 · reasons teach better in a stable worldverdict − reasonharmful bites0.224 [0.204, 0.247]1.46
H2a · reasons leave fewer survivors at the inversionverdict − reasonsurvivors0.274 [0.219, 0.329]0.68
H2b · … fewer than transmitting nothingnothing − reasonsurvivors0.300 [0.245, 0.356]0.73
H3 · reasons carry more myths into the inversionreason − verdictmyths0.863 [0.672, 1.048]0.63
H4a · evidence carries fewer myths than reasonsreason − evidencemyths2.000 [1.809, 2.199]1.41
H4b · evidence leaves more survivors than reasonsevidence − reasonsurvivors0.150 [0.086, 0.211]0.33
H4c · evidence teaches better than verdictsverdict − evidenceharmful bites0.253 [0.234, 0.273]1.79
H5a · the H2a gap is larger under inversion than rotation(v − r) inv − rotsurvivors0.265 [0.209, 0.321]0.65
H5b · … than under dimension shift(v − r) inv − shiftsurvivors0.277 [0.220, 0.333]0.68
H6a · the H2a gap grows with 1800 s lifespans versus 900 s(v − r) 1800 − 900survivors0.206 [0.147, 0.263]0.49
H6b · the H3 difference holds with 900 s lifespansreason − verdictmyths0.771 [0.583, 0.965]0.56
One-sided, Holm over eleven. With 10,000 permutations the smallest reachable p is 0.0001, so every adjusted p is 0.0011. Measures are per ant.

Confirmation in the game

HypothesisnDifference [95% CI]dzp (Holm)lab
H1 · reasons teach better (gen. 1–3)750.332 [0.243, 0.411]0.910.00030.224
H2a · fewer survivors at the inversion (gen. 4)750.223 [0.133, 0.317]0.540.00030.274
H3 · more myths at the end of gen. 4750.827 [0.630, 1.027]0.920.00030.863
Two-sided, Holm over three. The preregistration required lab and game to agree in direction on H1, H2a and H3: they agree, with similar sizes.

What exploration shows (not preregistered)

  • The large drop occurs with the inversion studied. If the poison rotates to another value or moves to another dimension, reasons lineages also carry more myths (1.3–2.5 times), without a comparable survival drop: survival is 98–100% in every format. Only inversion makes the old reason point right at the new food, and rejection turns into starvation.
  • Conjunctive chemistry (poison = color AND smell): same pattern, smaller (80% versus 92% survivors).
  • Recovery. After any change, what is taught to newborns takes longer to correct with reasons (1.7–2.1 generations versus 1.2–1.7).
  • Short lifespans reduce deaths but not myths: the belief is just as false, there is simply no time to starve because of it.
  • After the inversion reasons lineages are again the ones that suffer least harm: the survivors relearn.

Replication with a coverage-matched budget confirmatory

Protocol frozen at a9c3265 (5 October 2026), new seeds 4001–4200, 200 lineages per cell, Holm over six. The budget is no longer counted in items but in coverage: how much of the world what is passed on covers (SOCIAL.cost "coverage"). The item mode reproduces the original study with its original seeds; with new seeds, C0 estimates a 0.232 gap, versus 0.274 in the main study.

TestDifference [95% CI]dz
C0 · H2a replicates counting items0.232 [0.178, 0.285]0.61
C1 · that gap is larger counting items than coverage0.186 [0.129, 0.242]0.45
C2 · at equal coverage, reasons carry more myths0.902 [0.722, 1.076]0.71
C3 · at equal coverage, evidence carries fewer myths than reasons2.071 [1.910, 2.231]1.76
C4 · at equal coverage, evidence teaches better than verdicts0.119 [0.101, 0.136]0.93
C5 · at equal coverage, reasons teach better than verdicts0.029 [0.013, 0.044]0.25
6 of 6 supported; every adjusted p is 0.0006. Results in docs/research/results.md and research/results/coverage-*.
items (replication C0; main H1/H3/H4a) matching coverage (replication)
Figure 9. Each bar is a difference between formats, in paired lineages. Counting items: the replication's H2a (C0) and the main study's H1, H3 and H4a; matching coverage: the preregistered descriptive and C5, C2 and C3. The survival gap and teaching edge shrink; differences in myths remain similar in size.

Reading. With the budget matched by species coverage, reasons' survival trap shrinks by 80% (from 0.232 to 0.046 [0.017, 0.078]; the preregistration predicted an interval including zero; that did not hold: a small gap remains) and their teaching edge nearly vanishes (0.224 → 0.029). What does not change are the myths: reasons still carry more false beliefs, and evidence still cuts them. The comparison indicates that coverage accounts for much of the survival gap in this design. Differences in myths persist, without establishing a universal property of the format.

Sensitivity analysis (7 Oct): in 101 of the game's 600 maps a species tree lay off the map. Dropping those lineages, H1, H2a and H3 still hold (0.304; 0.210; 0.992). This post-hoc analysis does not validate absolute survival levels or the other studies affected by species maps.

A limitation found while reading the resultsEach lineage's catalog is drawn so that every epoch has at least two poisons and two foods, so the world before the change depends on which change comes after. Comparisons between formats are not affected (they are paired within the same world); the H5a/H5b interactions are not a pure common-random-numbers contrast.

Try it: this study in your browser

This is not an animation: it is the study code running in your browser. Each button launches four lineages of 12 generations —one per format— in the same world (same chemistry and catalog, without a simulated spatial map), with the game's brain, body and social code. The seed, parameters and code version allow the experiment to be repeated. Numerical identity across browsers, architectures and Node versions is not guaranteed.

How to read this lab
  • Pick and run: the dropdown decides how the world changes at generation 6 and the seed decides the specific world. The button really runs four lineages —one per format— in your browser.
  • Top panel: the same curves as Figure 7, but from a single lineage per format, so they are much noisier. The buttons switch the measure: survivors, myths or harm.
  • Bottom panel: the genealogy of beliefs. Each row is one specific belief and the columns are generations. The bar is green while it is true in that world and red when it is false, and it grows thicker the more ants carry it.
  • What to look for: with the inversion, reasons that were true turn red at generation 6 without changing a letter, and keep passing from mother to daughter. With verdicts or with evidence they get cut sooner.

. true in that world false; thickness is how many ants carry it.

The default seed (1033) is a clear case, chosen on purpose from the study's seeds. A single lineage is noisy: with other seeds, such as 1001, reasons lose no one. The study's effect is a mean of 200 lineages per cell (Figure 7). The genealogy on the right is the "phylogeny" of the culture: each row is one specific belief, born in one ant and passed mouth to mouth and mother to daughter; after the inversion, reasons that were true become false without changing a letter.

Result sourcesdocs/research/results.md · docs/research/preregistration-coverage.md

10Other studies with the same organism

Each protocol is frozen in docs/research/. The detailed reports were removed from the tree on 5 October and remain in history (git show b0815b8^:research/results/<study>/report.md). The LIBERA batteries are in docs/research/libera/ and the language-model plan in research/code-culture/; the largest raw data stayed out of the repository (see DATOS.md in each folder).

Memory, sleep and consolidation frozen

14 conditions × 2 worlds × 120 lives. Learning matters: judgment 0.852 versus 0.500 for a Fagi that does not learn (dz 3.6); it lives 2069 s versus 344 s for a random agent. With fixed learning, 9 of 12 populations go extinct; with full learning, 2 of 12.

Follow-up (4 of 4 supported): interleaved nightly replay worsens judgment (0.928 without it versus 0.904) and consolidation slows adaptation after a change. That is why replay is off by default.

organism-protocol.md · organism2-protocol.md

Concepts 4 of 4

Faced with things that have no innate category, it correctly names new species at first sight (0.967 versus 0.25 by chance, dz 10.2), concepts save it stings (0.042 versus 1.450), it drinks new sap before examining it, and doubting after a surprise helps when the world turns (0.847 versus 0.392).

concepts-protocol.md

Diversity in the face of change 3 of 4

4 founders, 8 species, chemistry inverted halfway through the run. The population recovers (judgment 0.810 at the end versus 0.402 after the change) and keeps genetic diversity (0.189 versus 0.152). What was not supported: the clonal population did not die more from poison (0.132 versus 0.121).

diversity-protocol.md

The misinformed sister 2 of 3

A sister who tells false rules meets the preregistered 0.05 non-inferiority margin for judgment (0.800 versus 0.813); this does not mean zero harm, and only 26% of the false rules adopted are still standing at the end. But a well-informed sister did not reduce the poison eaten either.

social-protocol.md

Explore or return 2 of 6

10 conditions × 120 colonies. Sisters whose first foraging trips paid off explore more later (r = 0.455, 596 sisters) and after a full nest wait longer before foraging again (983 s versus 153 s). Learned choice did not eat more than fixed rules and did not explore more in short-lived worlds.

forage-protocol.md

Caution in the game 2 of 2

Two lines —test new species first, leave what harmed you— raised survival from 0.882 to 0.955 (+0.073 [0.033, 0.111]) with 200 worlds per profile; poison deaths fell from 29 to 4, at the cost of 4 starvation deaths that did not happen before. Today they are the default behavior.

caution-protocol.md

Is there anything to learn without sabotage? exploratory

We tried all 171 possible moves (an innate line put in front of one above it), 24 lives each, in the scarce world and in five more (warm nights, cold, long nights, hot days, rain). None beats the innate order: 102 change nothing and several are lethal. The one hint (memory>thermal on long nights) did not replicate on 48 new seeds.

No improvement over the innate order was found among the moves and worlds examined, partly because its behaviors already learn inside (she goes home at dusk only once darkness means cold to her).

world-calibration.md · scripts/order-screen.js

A world that presses, in the game exploratory

With fruit every 8 s colonies lived at 71–73% of their ceiling and died of old age. At 30 s, food and winter decide how many live and cold kills more than age; in 3 years no map dies out (in 20 years, 2 of 16 do). The autopsy is consistent with exposure and hunger deaths: all 57 in winter, 39 at night, nearly all far from the nest and 38 very hungry: foragers caught out by the cold.

Along the way a bug turned up: water and trees of the further nests fell off the map (583 of 2000 objects) and ants were dying of thirst by the edge. Fixed.

world-calibration.md · scripts/game-world.js

Scientific night 0 of 4

Four frozen batteries (H3, H3b, H3c, H7, 60 lives each) on whether ordering the night's questions by what teaches most speeds up learning: no (AUC +0.001 and +0.015). With 16 species she survives 10% more [3, 18], from putting safety first. What is worth a lot is having an agenda at all: +28% survival against none.

docs/research/libera/notes/bateria-*-resultados.md

Learned drives and stomach 3 of 4

Learning food value meets the 0.02 non-inferiority margin for safe life (difference −0.002) and, as in animals, after the first deprivation she takes longer to go and drink (+61 s [32, 92]); the second prediction did not hold. A two-stage stomach reduces bites and waste compared with no satiety; those outcomes do not differ from the instant stomach. Drives are on in the game; the stomach is not.

docs/research/libera/notes · src/drive.js · src/stomach.js

Free-flow selector null

Four batteries (H2–H2d) against the current hierarchy: ties, 2–3 wins and 2–4 losses on Tyrrell's (1993) 14 requirements. Part of the gap was a bug in the consume bonus; fixed, it ties. As in Bryson (2000), the hierarchy does not lose. The game keeps the hierarchy.

docs/research/libera/notes · src/decision/select.js

A language model rewrites its code line closed

A local LLM rewrote each ant's bite judge and selection chose. With a tournament, texts beat the current one in new worlds (+0.056 [0.019, 0.087]), but through vocabulary: "leave what harmed" shows up in 10 of 10 texts with clear names and in 1 of 20 with blind names. A rule specific to each lineage is learned by none (0 of 10), and a seeded rule is erased by rewriting (70–84%). In these tests, the model appears to contribute prior knowledge without learning the lineage-specific rule.

research/code-culture/ · src/learned/code-judge.js

11What did not work

We publish it with the same detail as what worked. A project whose end goal is for the organism to rewrite its own code has to say clearly where it stands today.

IdeaResultStatus
An adaptive decision model beats the current heuristicIt beats the current version (+0.056 [0.024, 0.089]) but loses to a simple heuristic (−0.030); planning two steps ahead adds nothing (−0.004). Verdict: prefer the heuristic.not supported
Behavior rules written by the ant itself, within one lifeTwo variants: −0.080 and −0.072 versus the current Fagi.worse
… across lineages≈ −0.23; with prohibitions "with an exit", −0.254 and −0.232.worse
Rewriting its program within a lifeWith logs from 24 lives pooled, the innate order is a local optimum. It repairs a sabotaged program only with a lot of evidence: sharing moments between sisters in the nest made it possible (8 of 8 colonies, versus 0 without sharing; development notes, no protocol). The preregistered study in section 07 takes up this question.exploratory
Night mind that proposes rules+0.060 in the lab with color-and-smell chemistry; no gain in the game.exploratory
Nightly consolidation improves judgment0.852 versus 0.838, p 0.229.not supported
Learning her program judged by 15 s of distress0.58 versus 0.75 for the innate program (9 versus 1 pairs, replicated). The cost is the trials; the lines she writes do not help.worse
Selection as the judge (only mothers that live pass their program on)No effect: 24 versus 23 pairs. Every life writes the same lines.not supported
H4 · rule out a 5-point cost with the intact program0.750 versus 0.771; 96 lives cannot rule out a 5-point cost. With 32 populations (study 2): learning −5.3 and inheriting −9.0.not supported
Each colony adapts to its habitatSix tests: reciprocal transplant, opposite habitats, 20 years, 24 maps, milder winters, refounding with parties. No local adaptation. Size genes lean bigger in the cold (+0.037, 15 of 23 maps) without holding up on the new maps.line closed
A milder winter keeps colonies from emptyingNo: 6.6% of years empty versus 8.3% and 6.9%. Colonies that empty had already dwindled to 1–5 the year before.not supported
Refounding a nest with 4 or 6 instead of a pairNo difference (4.9 / 4.9 / 3.5% of years empty).not supported
An LLM rewrites her code from her life0 of 10 lineages learn a rule specific to their world, with or without the mother's diary; rewriting erases seeded rules.line closed
Ordering the night's questions by what teaches most0 of 4 batteries: she does not learn faster.not supported
A free-flow selector beats the hierarchyTie across four batteries.null
One-trial crisis plasticityWrites few lines (≈0.1 per life) and none changes an action; survival identical with and without it. An earlier report of 10 of 10 lives does not reproduce; corrected in docs/research/one-shot-crisis-plasticity.md.no effect
Inheriting only revisions with strong evidenceEvidence strength does not tell repairs from errors (median z 3.72 and 3.83); no threshold met the rule fixed before the pilot. Dropped from the fourth study.not viable
A world with nightly sleep for the studiesWith a body that sleeps at night, breaking dusk costs nothing: the body already does what the line did. The research worlds keep it off; the game has it.dropped
Trees that die, in their first version5 of 16 game maps died out in four years: the Fagis ate the fruit of nearby trees, only far trees seeded and the wood drifted away from the nests. Fixed (seeding near the nest, seedlings): 0 of 16.fixed
Where we stand on self-rewritingToday the organism writes rules about what to eat, with confirmed success, and reorders lines of its program with a fixed grammar. With evidence, it repairs a broken program within a life and its daughters inherit the repair (+22 points, preregistered). Without sabotage, no improvement was found among the 171 reorderings and six worlds examined. This does not prove that no better behavior exists. That it can invent new behavior structure that beats the human design is not yet shown; for that the world must demand a priority nobody programmed, or the grammar must let it build more than an order.

12In the game: colonies that evolve

exploratory  Six heritable organs —brain, gut, muscle, eyes, antennae, size— each a multiplier with a benefit and an energy cost. Costs grow faster than linearly and metabolism scales with mass to the ¾ (Kleiber, 1932). A large brain costs about 18 times as much as muscle per gram (Elia, 1992) and, as in the fish of Kotrschal et al. (2013), shrinks the gut and the offspring. Within a life, each organ can adjust by up to ±25%, but only when experience moves outside the typical.

We compare three forms of inheritance: Darwinian (genes only), Baldwin (the capacity to adjust is inherited) and epigenetic (part of the mother's adjustment is inherited, like the learned avoidance that C. elegans keeps for about 4 generations; Moore et al., 2019).

  • exploratory With cold winters, cold became the cause of half or more of the deaths (before, 100% were old age); epigenetic inheritance had fewer cold deaths. With 3 seeds per cell, no difference is firm.
  • not confirmed The prediction of de Bruin et al. (2026) —inheriting what was lived pays off more when change is predictable— was not confirmed in 90 runs with 10 seeds: 4.4 [−15.8, 24.6], nor with far-fruit years (−11 [−36, 14]). Body size does track cold and hot years in all three modes (temperature-size rule, Atkinson 1994).
  • exploratory With colonies of ~30 drift beat selection. With own provisioning, mate choice by strength, maternal effects and three colonies, muscle already rises in 7 of 8 seeds in just 4 years (t 2.8).

Twenty years in the game

exploratory  The game version measured on 8 October 2026 —three colonies, habitats (cold −3 °C, hot +6 °C, poison close by), fruit every 30 s, evolving body, individual variation, inheritance of what was lived and of what was learned— over 20 years (~50 generations) on 8 maps (seeds 7500–7507, run on 8 October 2026). Genes from year 1 to year 20, all colonies of each map together:

How to read these figures
  • Each organ is a gene, a multiplier with a benefit and a cost: 1 is the founders' value. A 1.15 means 15% more of that organ than at the start.
  • Three habitats, three colors: cold (−3 °C), hot (+6 °C) and toxic (a poisonous tree near the nest). Each map has one colony in each.
  • Figure 10: the buttons pick the gene (muscle, brain, size). The horizontal axis is the 20 years; the vertical one, the gene's mean in the living ants of 8 maps. If the lines rise or fall, there is evolution; if they split by color, each colony is adapting to its habitat. Here they move, but together.
  • Figure 11 is a reciprocal transplant: every newborn is raised in her own nest or another at random, and the offspring she leaves over her whole life are counted. If there were local adaptation, the born-there bar would win in all three habitats. It does not.
  • In one sentence: the colonies evolve —more muscle, less brain— but all towards the same thing, because they adapt to the world they share, not to their habitat.
Genechangetmaps in that direction
muscle+0.1605.68 of 8
brain−0.096−4.17 of 8
size+0.0683.58 of 8
Gut, eyes and antennae drift without direction. Carrying fruit that weighs pays for muscle; a costly brain does not pay for itself. The first 20-year run (cold −6 °C, refounding from the fullest nest) gave the same: muscle +0.185, brain −0.128, size +0.061.
cold habitat hot habitat toxic habitat
Figure 10. Mean genes of the living ants of each habitat over 8 maps, at the end of each year; 1 is the founders' value. All three habitats raise muscle and lower brain almost in step: they do not pull apart. Data: node scripts/game-world.js --interval 30 --seeds 8 --seed 7500 --years 20 --json … and scripts/site-game-data.js.

Evolution happens, the same way everywhere. It is adaptation to the world all colonies share. Conduct also passes from mother to daughter: by year 20 each ant carries 0.9–1.0 lines of her own, about 0.75 inherited, and they are the same in every habitat ("memory before pursue", "memory before scent"). In today's game the habitat that suffers is the hot one: 7 alive on average (23% of the ceiling) and empty in 36 of 160 nest-years, against 16.5 in the cold and toxic ones; 91 refoundings on 8 maps.

It is not local. We looked for each colony adapting to its habitat with a reciprocal transplant (every newborn raised in a random nest and followed until death) and with 20-year runs on 24 maps, in which 2 of 16 new maps died out. What showed up was a stranger advantage: in every habitat, young from elsewhere left more offspring than locals (−0.41, t −2.9). We explained it: a local female may not mate with her brothers, often the best males of a small colony, and a newcomer is kin to no one. Once inbreeding depression was added the rule makes sense, and the advantage persists for a reason seen in nature too (genetic rescue). No consistent local adaptation was detected. Repeated with today's game (12 maps, seeds 7400–7411, 3 years then 2 of transplant): local − foreign = −0.19 offspring (t −0.67, locals ahead on 6 of 12 maps). Neither local adaptation nor, any more, a clear stranger advantage.

born in that nest brought from another nest
Figure 11. Reciprocal transplant with today's game: every newborn is raised in her own nest or another at random and followed until death. Means per map (11 maps per habitat). In the toxic habitat those from elsewhere leave more offspring (2.67 vs 1.82); in the cold and hot ones locals are slightly ahead (2.41 vs 2.32; 2.65 vs 2.35). No consistent pattern of "those from here do better here".

Why, as far as we measured: colonies of 12–19 adults dwindle to a handful and are replaced by their neighbours (≈7% of nest-years empty and 115 refoundings on 16 maps in the 24-map run; 91 on 8 maps today, mostly in the hot habitat), erasing what had built up. Bigger colonies (a ceiling of 60) remain the untried remedy. The game's Evolution panel draws these curves live, colony by colony.

Rare leaps in the body (fifth study) confirmatory

In nature almost all variation between mother and daughter is small, but now and then a mutation in a developmental gene makes a big leap in the body (Goldschmidt's "hopeful monsters", 1940). We tested it in the game: with a 5% chance per birth, one to three of the young's organs leap ×1.5–2, up or down, with their normal cost and benefit. Each leap starts a marked line. The control, sham leap, marks the same young with the same draws but changes nothing in them: it measures how far a line spreads by chance alone. Preregistered on 10 October 2026 (commit bb8ca2f, published before running), 96 maps × 4 years per arm; no map died out.

How to read this table
  • A leap: now and then (5% of births) a pup is born with one to three organs greatly changed (×1.5–2). Each leap starts a marked lineage.
  • A lineage “takes” if the pup that leapt leaves at least one daughter. The control, the sham leap, marks random pups without changing anything: it tells how often a lineage takes by pure luck (about 60%).
  • How to compare: if a kind of leap takes less than the sham, it is a burden; if more, an advantage. “40% vs 60%” means costly leaps took 40 times in 100 and the control 60.
  • In one sentence: almost every big leap is a burden, and the costlier the organ, the worse it does.
HypothesisresultpVerdict
L2 (primary) · costly leaps (brain, muscle, size) take less often than sham leaps40% against 60%< 0.0001supported
L3 (primary) · with leaps only upward, the population's organs end bigger+0.032; 88 of 96 maps< 0.0001supported
L6 (primary) · cheap leaps (antennae, eyes) take more often than costly ones70% against 40%< 0.0001supported
L1 · leaps in general take less often than sham leaps47% against 62%< 0.0001supported
L4 / L5 · the same with leaps only upward (all / costly)41% / 36% against 62% / 60%< 0.0001supported
L7 · leaps do not lower the population by more than 3 Fagis per map−0.80.0008supported
A line "takes" if the first Fagi who leaps leaves at least one young. One-sided permutations swapping the arms within each map (20,000), Holm over the three primaries.
  • Most leaps are a burden, as in nature, and the world sorts them by their cost.
  • Exploratory, by organ: a body twice as large never left young (0 of 12: it burns too much); twice the muscle took 79% of the time (faster, and strong enough to carry); a bigger brain, 33%. The biggest lines —a whole nest— came from leaps in muscle, or in muscle and gut.
  • Drift is huge: by the fourth year, 58% of the living descend from a sham mark. A line spreading says nothing by itself; only the comparison with the control counts.

Sourcesdocs/research/prereg-leaps.md · docs/research/prereg-leaps-results.md · research/prereg-leaps/

Result sourcesdocs/research/world-calibration.md · investigacion/data/game.json

13Method and rigor

Determinism and fingerprints

In research runs, random numbers come from a seed. A lineage depends only on its seed and its options: run alone or inside a batch, it comes out identical byte for byte on the same machine (rounding can differ between ARM and x64 processors or between Node major versions, so fingerprints are kept per machine). A live game is not seeded: it is recorded and replayed from its events. Seeded lives are reduced to a fingerprint of decisions; the tests compare them against fingerprints recorded before each architecture change, so a refactor cannot silently change what the ant does.

Preregistration

Hypotheses, measures, contrasts, direction, correction and success criterion are frozen in a commit before running. Anything that was not there is reported as exploratory. Execution deviations are documented (a container restarted and the runs were relaunched per lineage, with an identity check).

Statistics

In transmission studies the unit is the lineage; in other protocols it is the colony or life according to the design. The first inheritance study counted paired lives, but daughters of one population share mothers; the second takes the population as the unit, and the first, re-analysed that way, holds (31 of 32 populations). Cells with common random numbers: the same worlds in every condition, paired contrasts. Paired sign permutations (10,000), Holm for multiple tests, 95% bootstrap, dz and lineages needed for 80% power. Latin hypercube designs over the hand-tuned parameters to see whether an effect keeps its sign.

Lab versus game

The lab removes space, water, nest and larder, but keeps the learning and transmission mechanisms evaluated in that study, with the same code. It runs about 20 lineages of 12 generations per second on 4 cores. Three preregistered contrasts from the main study were checked in the game: H1, H2a and H3. The coverage replication has no equivalent game confirmation here.

14Isn't it all programmed?

Yes, and it is worth saying first. What is programmed are the rules: what a body is, what it senses, how a synapse forms, how a rule passes from mother to daughter. What no line says is what each Fagi does with them. It is the same gap as between the laws of chemistry and what an animal does.

Nobody wrote the result

There is no line that says "the daughter who inherits lives longer". The +22-point advantage came from running the world, and the hypothesis was frozen before running it precisely because it could have come out the other way.

Predictions fail

If the result were written in advance, no prediction would fail. Many did: six tests found no local adaptation, filtering inheritance by evidence was not viable, and inheriting with the intact program turned out to cost. They are in section 11.

Behaviour nobody wanted

In the first three studies the Fagis walked in circles 18% of the time. Nobody wrote it: it came from smell, trees and puddles meeting, and it had to be found and fixed. In the first version of the trees, the wood drifted away from the nests and 5 of 16 maps died out. These are behaviours of the whole, not of a line.

Same code, different lives

With the same code, changing only the world's seed gives other lives, other lineages and other learned rules. That is why the studies count dozens of populations per condition: the result cannot be read from the code, it has to be measured.

What "spontaneous" means here

Not that it has no cause: nothing alive works without causes, and an animal is genes, environment and history. Here spontaneous means something testable: behaviour nobody wrote that cannot be predicted without running the simulation. In that sense Fagi is spontaneous. In the sense of free of causes it is not, and neither is anything else.

What we do not claimHer repertoire is bounded by what her body can sense and do; she reorders her program with a fixed grammar and does not yet invent new structure of behaviour (see "Where we stand on self-rewriting"). The LLM that rewrote her code did not learn from lived experience (0 of 10 lineages). We claim no consciousness or experience: the project's measure is whether she behaves and learns like something alive, not whether she is.

15Limitations

  • Inheriting what was learned only helps when something is broken. The gain was measured repairing damages made on purpose (dusk and shelter moved last); with the intact program, learning and inheriting cost. It does not show that learning finds something the innate program lacks. The first three studies ran with a movement bug (walking in circles, 18% of the time); the fourth fixed it in two recalibrated worlds (one fruit every 550 and 570 s). 2-hour lives; daughters live alone, not in a colony.
  • Leaps are clean. In the fifth study a leap changes one to three organs and nothing else; real large mutations have side effects. A single rate of leaps (5%) and four years.
  • Original maps and sensitivity. In 101 of the 600 game-confirmation maps a tree was outside the boundary. The three contrasts retain their direction after affected lineages are excluded; absolute levels and other studies are not validated by this check.
  • The main study matched formats by items. With budgets matched by species coverage, the survival trap shrinks by 80%; the myths stay. The 22–27 point figure should be read with that replication (Prystawski et al., 2025, show that channel rate matters).
  • A verdict only covers fruit the teacher knew. That is the nature of a conclusion, and also why it generalizes less.
  • The pilot shaped the hypotheses. Confirmatory tests use new seeds, but some hypotheses (explore or return, diversity) were written after seeing a pilot.
  • Survivorship bias. In the self-rewriting studies deaths are not yet logged, which biases what is learned toward those who survive.
  • It is a toy ant. Parameters are inspired by the literature but tuned by hand; neither the direction nor magnitude of the effects alone establishes validity in animals or human cultures.
  • Small colonies. With 12–19 adults per nest, drift and mixing through refounding outweigh weak local selection; that is why the game shows global evolution and not local.
  • Studies run on earlier code. The LIBERA batteries (2–3 Oct) and the language-model plan (1–5 Oct) ran on the code of those days; the game has changed since (habitats, colonies, inheritance of what was learned), so their numbers describe that organism.
  • A single author. External review is missing; this site exists partly to get it.

16Roadmap

Done since the previous version: Tyrrell's realism metrics as a baseline; scientific night, learned drives and free-flow selector tested (the first two switched on in the game); budgets matched by species coverage; a body that evolves under real pressures; inheriting what was learned, preregistered; a second study that replicates it, extends it to another damage and measures its cost with the intact program; the circling bug fixed and a fourth study that doubles the gain (+22) and shows that what is inherited is the repair; rare leaps in the body, preregistered; trees that are born and die in the game.

  1. A predator (next milestone, planned): when a mistake can kill, learning by trying is the most expensive way to learn. Does inheriting help more than it does with food? And how long does inherited fear last once the predator is gone? Plan in docs/research/plan-predator.md.
  2. Learning without breaking what works (still open after H5): trying only after a bad moment lowered the cost of inheriting from 9 to 5 points; without the movement bug learning and inheriting cost about 5, and that cost is the trials. Next: a bad moment opens trials only if it repeats, or trials depend on how long the nest has gone without food.
  3. A world where the innate order is not optimal without sabotage (seasons or maps where the right priority changes): the next step the inheritance preregistration set.
  4. A richer grammar, so entities can build more than an order of lines: the underlying aim is that they rewrite their own behavior.
  5. Bigger colonies (a ceiling of 60) to take up local adaptation again.
  6. Realism as the main measure in the game, with Tyrrell's 14 requirements alongside survival.

17Reproduce

Many raw rows are not versioned: research/run.js writes next to them a manifest.json with the design, the seeds and the commit, to repeat them with the same revision and runtime environment. The commands below use the checked-out code; reproducing historical figures requires each study’s recorded commit. Node ≥ 22.

# main lab study (12,800 lineages, ~5 min)
node research/run.js --design research/designs/main.json
node research/confirm.js research/results/main

# sensitivity over the hand-tuned parameters
node research/run.js --design research/designs/sensitivity.json
node research/sensitivity.js research/results/sensitivity --a verdict --b rule

# inheriting what was learned (preregistration: docs/research/prereg-lineage-inheritance.md)
for arm in born learn inherit inheritAny; do for p in $(seq 0 31); do
  node scripts/lineage-selection.js --arm $arm --pop $p --seed0 20000 --sabotage dusk \
    --set PROGRAM.judge=1 --set PROGRAM.darkTrials=1 --set PROGRAM.exploreByState=1 \
    > research/prereg-lineage/$arm-$p.json
done; done
node scripts/lineage-analysis.js research/prereg-lineage   # + H4: see the preregistration
node scripts/lineage-by-population.js research/prereg-lineage   # the population as the unit
# second study: commands in docs/research/prereg-inheritance-2.md (416 runs)
node scripts/lineage-analysis2.js research/prereg-inheritance-2
# third study (H5): commands in docs/research/prereg-inheritance-3.md (352 runs)
node scripts/lineage-analysis3.js research/prereg-inheritance-3

# the game's world: colonies, habitats, years
node scripts/game-world.js --interval 30 --seeds 8 --seed 7500 --years 20 --jobs 16   # with the game's current settings

# coverage-budget-matched replication
node research/run.js --design research/designs/coverage-items.json
node research/run.js --design research/designs/coverage-coverage.json
node research/confirm-coverage.js research/results/coverage-items research/results/coverage-coverage

# all tests, including the decision fingerprints
npm test

18References

Grouped by the idea the project takes from each one. The full review is in reports/Razones frente a conclusiones culturales.md, which worked mostly from abstracts.

Transmitting theories and cumulative culture

  1. Derex, M., Bonnefon, J.-F., Boyd, R. and Mesoudi, A. (2019). Causal understanding is not necessary for the improvement of culturally evolving technology. Nature Human Behaviour, 3, 446–452. Passing on a theory did not speed up improvement and narrowed exploration.
  2. Derex, M., Bonnefon, J.-F., Boyd, R., McElreath, R. and Mesoudi, A. (2025). Proceedings of the Royal Society B, 292, 20242499. Transmitted theories guide learners, whether correct or misleading.
  3. Osiurak, F. et al. (2021, 2022). Nature Human Behaviour; Science Advances, 8, eabl7446. Partial replication: understanding grew with performance.
  4. Roberts-Gaal, X., Bolic, A. and Cushman, F. (2025). PNAS, 122(28). When the world varies, people pass on goals and causes, not procedures.
  5. Harris, J. A., Boyd, R. and Wood, B. M. (2021). Current Biology. The causal theories of Hadza archers are incomplete and culturally learned.
  6. Saral, A. S., Derex, M. and Ibáñez de Aldecoa, P. (2026). PNAS Nexus, 5, pgag090. Causal reasoning speeds up early gains and then fades.

Formal models of transmission

  1. Rogers, A. R. (1988). Does biology constrain culture? American Anthropologist. Rogers' paradox: copying does not raise mean fitness in a changing world.
  2. Enquist, M., Eriksson, K. and Ghirlanda, S. (2007). Critical social learning —copy, then check— resolves the paradox.
  3. Rendell, L. et al. (2010). Why copy others? Science, 328, 208–213. Copying wins because demonstrators filter.
  4. Kalish, M., Griffiths, T. and Lewandowsky, S. (2007). Transmission chains converge to the learner's prior biases.
  5. Kirby, S., Cornish, H. and Smith, K. (2008). PNAS, 105, 10681. Rule systems become regular and compressed as they are transmitted.
  6. Beppu, A. and Griffiths, T. (2009). Passing on beliefs beats passing on behavior.
  7. Prystawski, B., Arumugam, D. and Goodman, N. (2025). Channel rate has nonlinear effects: the basis for matching budgets.

Avoidance, the hot stove and epistemic vigilance

  1. Denrell, J. and March, J. G. (2001). Adaptation as information restriction: the hot stove effect. Organization Science, 12, 523–538. Overestimates get corrected; underestimates do not.
  2. Denrell, J. (2007). Psychological Review, 114, 177–187. Adaptive sampling and systematic biases.
  3. Denrell, J. and Le Mens, G. (2017). Management Science, 63, 528–547. Sampling what is popular creates lasting collective illusions.
  4. Toyokawa, W. and Gaissmaier, W. (2022). eLife, 11, e75308. Conformity can rescue a group from the hot stove trap.
  5. Laland, K. N. and Williams, K. (1998). Behavioral Ecology, 9, 493–499. A maladaptive tradition in guppies outlived its founders.
  6. Galef, B. G. (1985). Rats learn socially what to eat, not what to avoid.
  7. Sperber, D. et al. (2010). Epistemic vigilance. Mind & Language, 25, 359–393.
  8. O'Connor, C. and Weatherall, J. O. (2018). European Journal for Philosophy of Science, 8, 855–875. Weighting by trust can produce stable false polarization.
  9. Doyle, J. (1979). A truth maintenance system. Beliefs with recorded justifications: the idea behind origin.

Learning, memory and sleep

  1. Garcia, J. and Koelling, R. A. (1966). Sickness is attributed to taste more than to appearance; aversion after one trial.
  2. Rescorla, R. A. and Wagner, A. R. (1972). The value-learning rule.
  3. Kalat, J. W. and Rozin, P. (1973). Learned safety.
  4. McClelland, J. L., McNaughton, B. L. and O'Reilly, R. C. (1995). Interleaved nightly replay against interference.
  5. Behrens, T. E. J. et al. (2007). Volatility: surprise breeds doubt.
  6. Charnov, E. L. (1976). Optimal foraging, the marginal value theorem. When to leave a patch.
  7. Seeley, T. D. Bees switch tasks when no one unloads them.

Action selection and motivation

  1. Tyrrell, T. (1993). Computational mechanisms for action selection. PhD thesis, University of Edinburgh. Free-flow selection and 14 requirements.
  2. Lorenz, K. (1950); Hinde, R. A. (1956, 1960). The hydraulic model of drive and its critique.
  3. Brooks, R. A. (1986, 1991); Maes, P. (1989). Reactive and subsumption architectures.
  4. Zhang, J. and Berridge, K. C. (2009). Wanting versus liking: W = κ·V.
  5. Keramati, M. and Gutkin, B. (2014). Homeostatic reinforcement learning.
  6. Cabanac, M. (1971). Alliesthesia; Sterling, P. (2012). Allostasis.
  7. Oudeyer, P.-Y. et al. (2007). Curiosity driven by learning progress.

Body, cost and inheritance

  1. Kleiber, M. (1932). Metabolism scales with mass to the ¾.
  2. Elia, M. (1992). Brain costs about 18 times as much as muscle per gram.
  3. Niven, J. E. et al. (2007); Chittka, L. and Niven, J. (2009). The benefits of larger organs saturate.
  4. Kotrschal, A. et al. (2013, 2019). Large brain: smaller gut, fewer offspring, shorter life.
  5. Atkinson, D. (1994). Temperature-size rule.
  6. Hinton, G. E. and Nowlan, S. J. (1987). How learning can guide evolution. Baldwin effect.
  7. Moore, R. S., Kaletsky, R. and Murphy, C. T. (2019). C. elegans inherits a learned avoidance for about 4 generations.
  8. Ralls, K., Ballou, J. D. and Templeton, A. (1988). Conservation Biology, 2, 185. The cost of inbreeding in 40 captive mammal populations: 1.57 lethal equivalents.
  9. de Bruin et al. (2026). Predictable versus unpredictable change for inheriting what was lived.

Related systems

  1. Grand, S. and Cliff, D. (1998). Creatures. The closest precedent of creatures that learn.
  2. Yaeger, L. (1994). PolyWorld.
  3. Ackley, D. and Littman, M. (1991). Interaction between learning and evolution.
  4. Todd, P. M. and Miller, G. F. (1991). Learning toxicity from cues in simulated creatures.
  5. Blount, Z. D., Borland, C. Z. and Lenski, R. E. (2008). PNAS, 105, 7899. Replaying evolution from frozen clones: the logic of paired seeds.
  6. Park, J. S. et al. (2023). Generative agents. Societies of LLM agents.

Some 2025–2026 references were taken from abstracts and are marked as unverified in the repository's research notes.

19Glossary

Terms that may not be obvious. In the text, words with a dotted underline show their definition on hover or tap.

α (alpha)
Threshold fixed before the study: a p-value below 0.05 counts as a real result.
Arm
Each version of an experiment. All arms run in the same worlds and differ in one rule only (for example, whether she learns or inherits), so any difference comes from that rule.
Artificial life
A field that studies life by simulating it on a computer, to understand how behavior, learning or evolution arise.
Baldwin effect
The idea that learning during life can steer evolution even when what is learned is not inherited: the ability to learn is inherited, not the lesson.
Bootstrap
A statistical technique that resamples the data thousands of times to estimate how much a result could vary.
Bound (non-inferiority)
In “costs no more than 5 points” hypotheses, the worst plausible value given the data. If the bound stays above the margin (−5), the hypothesis is supported; if below, it is not.
Cell
One specific combination of experimental conditions, for example the “reasons” format in a world that inverts. Each cell is repeated over many lineages.
Confidence interval (95% CI)
The range where the real effect probably lies. If it does not include zero, the effect is convincing.
Confirmatory
A result that answers a question fixed before seeing the data, under a frozen protocol (preregistration). It is the strongest evidence.
Control
The reference version of an experiment, without the thing being tested. It shows what would have happened anyway.
Coverage
How much of the world what is passed on covers. A reason (“the sour makes you sick”) covers many fruits; a verdict, only one.
Damage
Part of a Fagi’s program broken on purpose for the experiment; for example, moving “go home at dusk” to the end of the list, so she gets home late and cold.
Darwinian inheritance
Inheritance through genes only: what a mother learns or lives through does not pass to her daughters.
Deterministic
With the same seed, the world repeats exactly. That lets us replay a life changing just one thing.
Drift
Changes in a population by pure chance (who gets lucky and leaves offspring), not because a trait is better. In small populations it can outweigh selection.
Effect size (dz)
How much a difference matters, not just whether it is real. A dz above 0.8 counts as large.
Epigenetic inheritance
Inheriting part of what the mother lived through or adjusted, without changing genes. In C. elegans worms, a learned avoidance lasts about 4 generations.
Episode
A stretch that starts when she eats or drinks and ends when the effect on her body shows. When it closes, it yields the reward.
Evidence
The specific bites or experiences that back a rule. A rule with evidence can be revised if the facts change.
Exploratory
A result found by looking at the data, without a question fixed beforehand. It is a lead, not proof.
Filter
Rule from the third study: a Fagi only experiments after a very bad moment. If her life is going well, she does not try new things.
Fingerprint
A summary of every decision in a life. The tests check that it does not change by accident when the code is touched.
Gene
An inheritable value that sets a body trait (brain size, muscle…). It passes from parents to daughters with small variations.
Genetic rescue
When newcomers from outside improve a small, closely related population.
Holm correction
A statistical adjustment used when several hypotheses are tested at once, so that a chance result is not taken as real.
Hopeful monsters
Goldschmidt’s idea (1940): sometimes a mutation makes a big change at once. It is almost always a burden, but rarely opens a new path.
Inbreeding
Mating between relatives. Eggs from close relatives hatch less often, as in real animals.
Inherited learning
In Fagi, daughters are born with the rules their mother wrote during her life, besides her genes.
Innate (born)
What a Fagi has from birth, without learning. The “born” arm neither learns nor inherits: it is the control.
Inversion
A change of the world midway through the experiment: poisonous becomes nutritious and vice versa. It tests whether what was passed on can adapt.
Kleiber’s law
A biological rule: energy use grows more slowly than body size (with mass to the power ¾).
Leap
A pup born with one to three organs greatly changed (×1.5–2), as from a mutation in a developmental gene.
Lineage
A chain of mothers and daughters over several generations.
LLM
Large language model, such as Claude or ChatGPT: a program that generates text.
Local adaptation
When each population fits its own surroundings, so those born there do better there than newcomers.
Maternal effects
Traits of offspring that depend on what their mother lived through, not just on their genes.
Myth
A belief that is false in the current world and that the ant never tested herself: she received it from another.
Oracle
Control in the fourth study: the damaged program with the repair built in from birth. It marks the most that can be recovered.
p-value
The probability of seeing a difference like this by pure chance if there were no real effect. Below 0.05 it is taken as real.
Paired
A one-to-one comparison: each life in one arm is compared with its twin in the other arm, which lived in the same world.
Permutation test
A statistical test that randomly shuffles group labels thousands of times, to see whether the real difference beats what chance would give.
Pheromone
A chemical signal an ant leaves on the ground that others can smell.
Points
Percentage points of survival. +11 points = 11 more lives in 100.
Population
In the inheritance studies: 16 lives per generation over 6 generations, in one world. It is the unit being compared.
Preregistration
Publishing the question, design and analysis before running the experiment, so they cannot be adjusted afterwards to fit the results.
Primary hypothesis
The main question of a study, fixed before running it. The others are secondary.
Program
A Fagi’s ordered list of behaviors (drink, eat, go home…). The first one that fits the situation takes charge.
Reasons
A transmission format: rules about traits (“the sour makes you sick”) that also apply to fruits never seen.
Reciprocal transplant
A biology test: raise individuals at home or elsewhere, to see whether each site’s natives do better at home.
Refounding
When a nest is left empty, a pair from a neighboring colony moves in again.
Repair
The rule that fixes the damage done on purpose; for example, going home at dusk before chasing a fruit.
Reward
How good or bad what happened to the body after eating or drinking was, from −1 to +1. It is the signal she learns from.
Rule
A written instruction that can be read and that keeps its origin: from birth, learned, told, seen or inherited.
Seed
A number that fixes all the randomness of a run. Same seed, same world and same events.
Selection
The process by which the traits of those who survive and leave offspring become more common.
Sham leap
Control in the leaps study: marks random pups without changing anything, to measure how far a lineage spreads by pure luck.
Sign test
A test that only counts how often each arm wins in one-to-one comparisons.
Take (a lineage)
A marked lineage “takes” if the pup that leapt leaves at least one daughter.
Trial
A moment when a Fagi lets a different behavior act to test whether it works better. Testing costs: while trying, she can lose food or time.
Trophallaxis
Passing food mouth to mouth, as ants do. In Fagi it also passes on information.
Verdict
A transmission format: conclusions about specific fruits (“don’t eat the red drop”).