arXiv:2609.11728cs.SESep 2026

Manuscript Offprint

arXiv:2609.11728

Reproducibility in the Age of Agentic AI: Context Engineering at the Timescale of a Codebase

Lorena A. Barba

Abstract

Reproducible research practices are context engineering for AI coding agents. I argue that agents lower the cost of maintaining tests, commit histories, repository structure, instructions, and decision records while making their benefits immediate. Researchers remain responsible for verifying these artifacts and the scientific judgments they encode.

Since the start of my career as a principal investigator, I have been advocating for reproducible research practices. It was the upshot of the toils of my own PhD studies. [1] Version control, open code development and public release, sharing of research artifacts like figures and data, and posting preprints were all part of my Reproducibility PI Manifesto more than a decade ago. [2] Over the years, my group established our internal habits for code testing, maintaining clean repository layouts, writing commit messages that explain why and not just what: these are practices I encouraged on every student cohort, in every course, in every collaboration. Despite the copious writing and speaking about reproducibility, by myself and many others, the uptake has been modest. Friction remains a powerful argument. Each of these practices costs time and effort on a per-session basis that pays back only over many sessions, and graduate students live under the kind of immediate-deadline pressure that punishes long-horizon investment. The research community has accepted it as the cost of doing science with people who are not trained or paid to be software engineers. I admit to becoming disenchanted over the years, even a bit cynical. It thus came as a revelation to find that the calculus has changed, and to see how generative AI is spurring new interest in reproducibility. In this paper, I put forward an updated view on computational reproducibility, for the time of agent-driven code development.

1 Context Is Everything for AI Agents

While preparing a class for my recent course on Generative AI for Engineering Research, [3] I was working through the exercise of how to dissect an existing agentic system and explain its parts through the vocabulary of context design. The exercise was meant to be diagnostic: take a working LLM-based automation, name its context-engineering decisions, identify where the design is principled and where it is incidental. What emerged was a bit of a surprise. Every significant design choice in the system could be expressed in terms of context. The static files the agent reads at startup are its always-on semantic memory. The structured outputs it produces are its episodic record. The pre-processing applied before content reaches the model is attention-budget management. The narrowing of the agent’s tool surface is scope control. After working through the system components like this, there was nothing left over. A working agentic system is a collection of context-engineering decisions: stacked in layers, made at different times, often by different hands, but reducible to that single discipline.

That observation is interesting, but the next step is more consequential. Once you can read a system as an implementation of context engineering, you can flip the question: how might you design a system so that an agent can be maximally productive in it? This is a different question. Inspecting and assessing are diagnostic while designing is generative. And once you start asking the design question seriously, you find that it fits in a new field, opening the door for both serious concerns and clear opportunities.