Skip to content

Agent-friendly Provenance Capture with con-duct

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)
Scientific Computing and Data Management

Abstract

Agent-friendly Provenance Capture with con-duct Presenters Austin Macdonald , ORCID 0000-0002-8124-807X Cody C. Baker , ORCID 0000-0002-0829-4790 John A. Lee , ORCID 0000-0001-5884-4247 Yaroslav O. Halchenko , ORCID 0000-0003-3456-2493 All: Center for Open Neuroscience, Department of Psychological and Brain Sciences, Dartmouth College Keywords agentic workflows, provenance, reproducibility, resource monitoring, HPC Abstract Whether trying out a new tool, testing pipelines, or meticulously analyzing data for research, the daily work of RSEs and their agents depends on keeping context lean but relevant. The terminal outputs of tools and scripts frequently hold the necessary information, but they are often either bloating an agent’s context window, or forgotten after a human’s terminal scrolls past the buffer. con-duct is a lightweight, Python-based command line tool with no third-party dependencies: just use duct instead of to run a command. A wrapped run leaves a trail: full stdout and stderr streamed to disk (or skipped, for sensitive output); resource usage sampled across the command’s process tree; and a record of the invocation, wall clock time, peak memory, exit code, and system and environment details. Workflow managers and experiment trackers produce richer records (the poster compares them); con-duct collects basic provenance with so little effort it can be used on everything, producing uniform records. In daily work, humans and agents now execute commands side by side. Using con-duct, the full record stays out of the context window until it is needed. Even better, multiple runs can be filtered and grepped, ready for the questions nobody knew to ask. When did our tests start having that warning? Did this run take longer? con-duct ls makes the answers discoverable, filtering on any captured field with a Python expression: con-duct ls -e "message==' '" retrieves runs tagged at capture time with duct -m " ". con-duct ls -e "exit_code != 0" lists failures. con-duct ls -e "peak_rss > 8e9" finds runs that exceeded a memory budget. At the tool level, projects can adopt con-duct internally rather than reinventing per-tool monitoring: ReproNim’s containers [5] and ReproStim [6] both offer it already, and the same con-duct ls queries read their records. For research, the record stops being a convenience, and starts being a part of the provenance chain [4]. Pairing con-duct with datalad (git-based version control for data)[2] is an easy win for rigor. datalad run "duct ..." completes the execution and then commits the diff (including the duct logs). On HPC, last month’s measured wall time and peak memory are already recorded, and can help inform tomorrow’s SLURM request. When an expensive job fails, the bug-report evidence is already on disk, no re-run necessary to file an issue. con-duct is on PyPI (pip install con-duct), conda-forge, registered as RRID:SCR_025436, and developed openly [1]. The poster shows three real cases: an fMRIPrep run on a SLURM cluster, its five hours of CPU and memory plotted from the record; a Kubernetes upgrade worked deploy by deploy, with every attempt’s command, exit code, and wall time kept by con-duct; and duct wrapped around duct to measure its own overhead. Keeping agents’ work auditable will take more than one tool; con-duct is one small piece: a wrapper that makes the agent’s work, like the human’s, leave a trace. Acknowledgments We thank the broader ReproNim and OpenNeuro communities for ongoing feedback on con-duct’s design and use. con-duct’s resource-monitoring approach is based on brainlife’s smon [3]. AI disclosure (per IEEE policy): Prose in the Abstract and Connection-to-Mission sections was drafted with assistance from Anthropic’s Claude; the authors specified the content, edited the text, and verified all technical claims, commands, and references. The con-duct software itself is developed with AI assistance, and with human review of all merged code. References con-duct. Center for Open Neuroscience. https://github.com/con/duct. RRID:SCR_025436. DataLad. https://www.datalad.org/. RRID:SCR_003931. brainlife smon. https://github.com/brainlife/abcd-spec/blob/master/hooks/smon Hoffstaedter, F. ds000007-mriqc (duct logs in logs/duct/). https://cerebra.fz-juelich.de/f.hoffstaedter/ds000007-mriqc/src/branch/base/logs/duct/ ReproNim/containers. https://github.com/ReproNim/containers. RRID:SCR_018467. ReproStim. https://github.com/ReproNim/reprostim. https://doi.org/10.5281/zenodo.4416842 Connection to Mission, Goals, & Interests of US-RSE Community con-duct was built by RSEs at the Center for Open Neuroscience to record provenance for neuroimaging pipelines. The dev-side payoff (reaching back into outputs that would otherwise be gone) was an unexpected bonus. As LLM agents take on more of the executing (writing throwaway pipelines, exploring datasets, calling tools), the volume of unrecorded work explodes: more commands, more parallel streams, results produced faster than anyone reads them. RSEs are the people who decide whether that work remains auditable: who preserve the context, make it discoverable, and keep capture cheap enough that nobody skips the step. Integrating at the tool level saves each project from building its own monitoring and logging, and keeps the records uniform across tools, so the collection stays queryable as a whole.

View source

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Trajectory Balance: Improved Credit Assignment in GFlowNets

It is proved that any global minimizer of the trajectory balance objective can define a policy that samples exactly from the target distribution, and empirically demonstrate the benefits of the trajectories balance objective for GFlowNet convergence, diversity of generated samples, and robustness to long action sequenc...

Esmeralda S. Whitammer, Moksh Jain, Emmanuel Bengio et al. · 302 citations · ⚡60

Related blog posts

Microsoft Research Blog Oct 22, 2026

Flint-interactive: A language for creating interactive data visualizations

Flint-interactive gives AI agents a language for creating interactive visualizations. Click a chart, filter data, highlight related content, and explore beyond the view the author originally chose. The post Flint-interactive: A language for creating interactive data visualizations appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.