Agents often fail not for lack of "intelligence".
They fail for lack of structure to act on.
Disclaimer: I am not here to sell you a model, a vendor, or a workflow.
I am here to argue that the boring infrastructure work we have been doing for 20 years
is exactly what decides whether agents help you or hurt you.
We are just giving some of the aspects new names.
Many names on the slides are links — follow along, click through later.
|
Mine — ReproNim webinar, Feb 2026 ReproFlow & YODA: structure your studies (video: YouTube · ReproTube)
|
Oscar Esteban — OHBM 2026 Educational Using LLMs in Neuroimaging Research: LLMs for Coding
|
| writing the code | → | verifying and situating it |
| can I create this? | → | is this right, and does it fit what already exists? |
What an agent finds in most labs
|
What an agent finds in a BIDS dataset
|
Not just rhetoric: a structured neuroimaging harness moved first-choice tool-selection accuracy from 23.3% to 93.6% across seven models — Chen, …, Poldrack, Bringing analytic rigor to agentic AI for science, arXiv:2608.19902, 2026 (brain-researcher.com).
|
→ |
|
|
YODA, 2018 — for humans composing studies |
STAMPED, 2026 — generalized, gradeable, domain-agnostic |
We did not invent these for AI. That is the point — they were already the right properties.
| “Actionable” required… | … so what could act | |
|---|---|---|
| Before | An exact command, API call, or documented CLI. Prose was not enough. | Tools, and humans who already knew the tool. Everything else stayed a paragraph in the Methods. |
| Now | A procedure described in human language — with scripts provided for efficiency and precision! | Any agent, on first contact. The interface moved from syntax to language, so vastly more of what we already wrote down became executable. |
| Next | Routines that fire without being asked. | The harness itself — CI, PR monitors, scheduled agents. |
1. Skills — logic written in language
|
2. Routines — the harness runs them for you
|
It says nothing about how they came to be, or what it cost to make them.
datalad run writes the record for you$ datalad run -m "run brain extract workflow" \
--input "inputs/ds*/sub-01/anat/sub-01_T1w.nii.gz" \
--output "sub-*/anat" \
bash -e code/brain_extraction.sh inputs/ds*/sub-01/anat/sub-01_T1w.nii.gz
$ git show --stat
commit 1223bc4bead3c7e6be15b78546c894c6465dd7a4
[DATALAD RUNCMD] run brain extract workflow
=== Do not change lines below ===
{
"cmd": "bash -e code/brain_extraction.sh inputs/ds000001/sub-01/anat/sub-01_T1w.nii.gz ...",
"dsid": "b656ac80-973c-45ef-887e-1b8d6f6a51dd",
"exit": 0,
"inputs": ["inputs/ds*/sub-01/anat/sub-01_T1w.nii.gz"],
"outputs": ["sub-*/anat"],
"pwd": "."
}
^^^ Do not change lines above ^^^
sub-001/anat.nii.gz | 1 +
sub-001/anat_mask.nii.gz | 1 +
datalad rerun reads it back and re-executes
Example from the DataLad Handbook.
Found in the wild
in ~15% of indexed DataLad repositories on
GitHub.
“Why did this get OOM-killed on the cluster?”
|
|
duct turns “it crashed, I think it ran out of memory” into a file.
Self-contained (S), tracked (T), immediately actionable (A).
More, including the patterns of use with AI agents
will be presented on our US-RSE’26 poster next Monday:
"Agent-friendly provenance capture with con-duct"
Already wired in: set REPRONIM_USE_DUCT=1 with
///repronim/containers
and every datalad containers-run gets a duct trace for free.
dandi/compression-comparisons-t261-study
— a reproduction of
Buccino et al. 2023 on ephys compression,
plus a comparison against the new ITU-T T.261 codec.
1. The layout (what)
BIDS-like, M-odular: data and tool are subdatasets pinned by commit, not copies. |
2. The record (how) — and 3. the cost (what it took)
The recorded command is a |
| commits | [DATALAD RUNCMD] |
of those, wrapping duct |
cells | recorded compute | AI disclosure |
|---|---|---|---|---|---|
| 1266 | 1216 | 1095 | 912, 0 errors | 3838 h (peak RSS 120 GB) | 26 Co-Authored-By: Claude |
rerun it — fresh clone, two months later
|
Did the science come back?
A hand-rebuilt environment, a different Python, no container — and every scientific number came back bit-for-bit. Only timings moved. |
formulation borrowed from Oscar Esteban, OHBM 2026
| Harness piece | What it is | STAMPED property |
|---|---|---|
AGENTS.md / CLAUDE.md |
The project’s operational contract: conventions, commands, what not to do | Self-contained |
| Skills | A named, reusable procedure with its own references and scripts | Modular, Actionable |
| Hooks / CI | Guard rails that run whether or not anyone remembered to | Tracked |
| MCP servers | The port to external systems — archives, trackers, databases | Distributable |
| Container / sandbox (con/yolo) |
Where it may run and how much it can break — and the one piece that enforces self-containment: what you did not declare is not in there | Self-contained, Portable, Ephemeral |
| Pre-flight check | Credentials, access and inputs verified before the run starts — fail in the first second, not in hour three | Actionable, Ephemeral |
Figure reproduced from: E. C. Johnson, T. T. Nguyen, B. K. Dichter, …, M. E. Martone, F. Pestilli, D. Yatsenko. SciOps: Achieving Productivity and Reliability in Data-Intensive Research. arXiv:2401.00077, 2024.
Either the system checks itself against goals and spec — or the work items stay small enough that a human still can.
|
A. Scaffolded self-verification the agentic system keeps itself in sync
Only then could large autonomous batches be trusted.
|
B. Small, human-reviewable, hand-tried where almost every research project actually is
Not a lesser mode — the correct default until A is actually built.
|
“Well, less is more” — Robert Browning, Andrea del Sarto, 1855
| FAIR | STAMPED |
|---|---|
| About sharing: can someone else find this and get it? | About the object being operational on its own: can someone — or something — re-run it? |
A FAIR dataset can still be a .zip of .mat files with a DOI. |
A STAMPED object carries its own layout, environment, and execution record. |
| Graded by a repository. | Graded by a checklist you can walk, item by item. |
|
ReproNim/containers — auto-rebuilt, versioned collection |
“Depend on where you run, you should not.” An agent’s sandbox is not your laptop — which makes portability a correctness property, not a courtesy.