A behavioral architecture for realistic simulations of <i>Drosophila</i> larva locomotion and foraging.
Overview
Abstract
The Drosophila larva is extensively used as a model organism in neuroethological studies where precise behavioral tracking enables the statistical analysis of individual and population-level behavioral metrics that can inform mathematical models of larval behavior. Here, we propose a hierarchical model architecture comprising three layers to facilitate modular model construction, closed-loop simulations, and direct comparisons between empirical and simulated data. At the motor layer, the autonomous locomotory model is capable of performing exploration. Based on novel kinematic analyses, our model features intermittent forward crawling that is phasically coupled to lateral bending. At the second layer, navigation is achieved via active sensing in a simulated environment, and top-down modulation of locomotion. At the top layer, behavioral adaptation entails associative learning. We evaluate virtual larval behavior across agent-based simulations of autonomous free exploration, chemotaxis, and odor preference testing. Our behavioral architecture is ideally suited for the modular combination of neuromechanical, neural, or mere statistical model components, facilitating their evaluation, comparison, extension, and integration into multifunctional control architectures.
Reproduced under the paper's license (CC BY), from the paper cited above.
Code
No file of the authors' code could be read here: it is described below, and read at its source.
larvaworld.readthedocs.io
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
Software package and code availability
All data processing, analysis, and model simulations were performed using our open-source Python package Larvaworld (https://
The behavioral architecture introduced in this manuscript provides the backbone for constructing, extending, configuring, and fitting behavioral models within Larvaworld. The intermittent coupled-oscillator model developed here is included, alongside other preconfigured models.
A separate publication describes the software architecture and usage in detail and provides practical tutorials for science and teaching (Sakagiannis et al., 2025). Comprehensive documentation is available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 0 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
The current manuscript is a computational study, so no data have been generated for this manuscript. Data analysis, behavioral modeling, and simulations have been carried out using the larvaworld Python package: https://
The following previously published dataset was used:
ThoenerJ SchleyerM 2021Locomotion of naive Drosophila larvaeGIN10.12751/
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 3 authors, 6 keywords, 10 MeSH terms, 2 funders, 94 references.
Cite
This paper
Sakagiannis, P. P., Jürgensen, A.-M., & Nawrot, M. P. (2026). A behavioral architecture for realistic simulations of &
BibTeX
@article{sakagiannis2026
author = {Sakagiannis, Panagiotis Parthenios and Jürgensen, Anna-Maria and Nawrot, Martin Paul},
title = {{A behavioral architecture for realistic simulations of \&
journal = {eLife},
year = {2026},
month = aug,
volume = {14},
pages = {RP104262},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/
url = {https://
pmid = {42605607},
pmcid = {PMC13480992}
}
RIS
TY - JOUR
AU - Sakagiannis, Panagiotis Parthenios
AU - Jürgensen, Anna-Maria
AU - Nawrot, Martin Paul
TI - A behavioral architecture for realistic simulations of &
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/
VL - 14
SP - RP104262
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"type": "article-journal",
"title": "A behavioral architecture for realistic simulations of &
"container-title": "eLife",
"author": [
{
"family": "Sakagiannis",
"given": "Panagiotis Parthenios"
},
{
"family": "Jürgensen",
"given": "Anna-Maria"
},
{
"family": "Nawrot",
"given": "Martin Paul"
}
],
"container-title-short":
"volume": "14",
"page": "RP104262",
"DOI": "10.7554/
"PMID": "42605607",
"PMCID": "PMC13480992",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
17
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1016/j.isci.2023.108640 [code]
- Prediction error drives associative learning and conditioned behavior in a spiking model of Drosophila larva.Journal: iScienceIn common: drosophila, 15 references, 2 authors
- [2] doi:10.1098/rsob.220308 [code]
- High-resolution analysis of individual <i>Drosophila melanogaster</
i> larvae uncovers individual variability in locomotion and its neurogenetic modulation. Journal: Open biologyIn common: drosophila, 17 references - [3] doi:10.1126/science.add9330 [code]
- The connectome of an insect brain.Journal: Science (New York, N.Y.)In common: drosophila, 14 references
- [4] doi:10.1038/s41467-025-61805-y [code]
- Feeding state-dependent neuropeptidergic modulation of reciprocally interconnected inhibitory neurons biases sensorimotor decisions in Drosophila.Journal: Nature communicationsIn common: drosophila, 7 references, 2 authors
- [5] doi:10.7554/elife.70015 [code]
- High-throughput automated methods for classical and operant conditioning of <i>Drosophila</
i> larvae. Journal: eLifeIn common: drosophila, 12 references - [6] doi:10.3389/fphys.2023.1326307 [code]
- Minimal circuit motifs for second-order conditioning in the insect mushroom body.Journal: Frontiers in physiologyIn common: 6 references, 2 authors
- [7] doi:10.7554/elife.91582 [code]
- Neural substrates of cold nociception in &
lt;i& gt;Drosophila& lt;/ i& gt; larva. Journal: eLifeIn common: drosophila, 11 references - [8] doi:10.1038/s41467-025-56185-2 [code]
- Neural circuits underlying context-dependent competition between defensive actions in Drosophila larvae.Journal: Nature communicationsIn common: drosophila, 10 references
- [9] doi:10.1038/s41467-025-60648-x [code]
- Closed-loop two-photon functional imaging in a freely moving animal.Journal: Nature communicationsIn common: drosophila, 10 references
- [10] doi:10.1186/s12915-022-01336-w
- A neuromechanical model for Drosophila larval crawling based on physical measurements.Journal: BMC biologyIn common: drosophila, 8 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 0 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:447071e65103414e…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.7554/elife.104262)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.7554/elife.104262.svg
:target: https://openscicode.org/badge/doi/10.7554/elife.104262
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.104262"><img src="https://openscicode.org/badge/doi/10.7554/elife.104262.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
