Researcher-in-the-Loop

AI agents are changing how research is done. They can now clean and merge your data, run your analysis, produce the tables, and even draft the paper, mostly without you opening a single file. A tempting way to use them is to hand over more and more of the research. However, once the agents choose the steps themselves, you can often no longer say how the result was obtained, and in research, that account is part of the result. I therefore argue for keeping the researcher in the loop. Instead of building armies of autonomous agents, I propose to automate the work you can forget and to set human gates at the decisions and tasks where you add most value as a researcher. AI then takes the boring work off your hands and leaves you more room for the work that needs you.
Why research needs a verifiable account
In research, a result alone is not enough. A reproducible result is the finding plus an account of how it was obtained, and that account must be defensible and verifiable. The same method applied to the same data must return the same result, and others must be able to verify every step on the way. Accounting is adopting this standard. It now has its own open science journal, Accounting Open, and the Journal of Accounting Research requires preregistration for studies that generate their own data and begin data collection after January 1, 2027.
AI agents put this standard at risk, because they work as a black box. An agent returns a table or a final dataset, but it chose the route itself. Even a log of the commands it ran does not show why it took each step. Along the way, the agent may also produce results that are simply wrong (e.g., a citation to a paper that does not exist, or a robustness check that it skipped but reports as passed). You can ask the agent to report every step it takes and every point at which it deviates from your instructions, but you cannot rely on that report either. Agents run on language models, and language models are probabilistic: the report is one more output of the same model, and nothing guarantees that it matches what the agent did. Thus, you cannot take an agent’s account of its own work on trust, but reproducible research requires an account that can be verified.
Researcher-in-the-loop
For research, a setup of AI agents must therefore do two things. First, it must set a clear goal and a written process for each task, because that is what reproducible research requires. Second, it must give the researcher and the agents clear roles, so that the agents take the steps that need no judgment and the researcher keeps the steps that need judgment. Thus, the written plan of a task also names who does each step and where the researcher decides. The written process works as a commitment device, because the steps are set before the work runs. The same task then follows the same steps each time and leaves a trace that you can inspect.
Keeping the researcher in the loop starts with sorting each task by one question: do the inputs of the task fix its result? If they do, the task is routine, such as running a command, fetching sources, extracting information from a file, or applying an edit I specified. For routine work, I check the result (e.g., the output of a command, a test, or a read of the change), but I need not account for the route, because two capable agents given the same routine task should return the same result. This is the boring work I am willing to automate and forget. Every other task is non-routine: reading what I want, planning, writing, combining results, and deciding what the work means. There the route is part of the claim, so I must be able to account for it, and the choices stay with me. An agent may draft such work, but the draft is only input: I decide on it at a gate.
I am not arguing against automation, and researchers who refuse to automate are likely to be less productive than those who do. My objection is to delegation (i.e., handing an agent the choices along the route), which only sometimes comes with automation. Automation that runs through a written process, with gates where judgment is needed, leaves the right traces, whereas delegation to an autonomous agent puts part of the research process in a black box. On the scale from using no AI to delegating all research, I let AI audit my work, assist with my tasks, and execute tasks whose results I verify, but I stop short of full delegation.
My work process
A harness (e.g., Claude Code or Codex) is the software around a language model that turns it into an agent: it lets the model read files, run code, and search the web. The work process lives in an instruction file, a text file with my rules and my process that the agent reads at the start of every session (AGENTS.md, or CLAUDE.md in Claude Code).
A gate works only if it is designed in advance. If it is left to the agent, the agent asks only when it happens to be unsure. A designed gate comes at a fixed point and in a fixed form, and it brings the judgment calls to me one at a time instead of burying them in output. My process has two such gates. The first comes before anything is built: the agent writes down its intent (i.e., its reading of my request, including the calls that only I can settle), and I correct it. This is the cheapest point to catch a misunderstanding, because nothing has been built yet. The second comes at the end, when I check the result. Between the two gates, the agents work without asking, unless the work cannot go on (e.g., an input is missing).
In a non-routine task, three roles do the work, and an AI agent fills each one. The main model runs my session and owns a task from my request to the result. The main model starts a helper model, often a smaller one, for one bounded, routine task, and the helper returns only its result. A peer model is a fresh session of the main model, with no memory of how the plan was made.

After I approve the intent, the main model turns it into a plan, a peer model reviews the plan with fresh eyes, and the main model revises it. The main model then does the work, hands the routine parts to helper models, and reviews its own work. Next, a helper model checks the result against the approved intent and the sources, and the main model fixes what the checker finds. This loop runs for at most three rounds. The checker gets the approved intent only, never the main model’s view of the work, because a checker who is told that the work is fine is more likely to agree. The intent I corrected and the plan are saved as files, so the work can be traced step by step afterward. At the final gate, I check the result and decide whether it is done.
Once the boring work leaves my hands, what remains is the work at the gates, and that is where a researcher adds most. My time goes to deciding what a comment asks for, what a result means, and which design choice to defend. This is where I see the productivity gain of AI for research.
Because the process sits in the instruction file, every session follows it. One rule is enforced by a script rather than by the written process: in a project repository, no agent can commit changes to git (i.e., the version history of a project), so I see and commit every change myself. The principles behind my setup are in my AI tooling philosophy.
Example: revising a working paper
A revision shows how this works in practice, because researchers revise often. The work also looks similar each time, whether the comments come from a referee report, an editor’s letter, a discussant, or a co-author. I give the main model the paper, the comments, and my own instructions. Before anything is edited, it writes its intent: how it reads each comment and what the revised paper must achieve. At this first gate, I correct that reading and decide which comments to follow and which to push back on.
Much of what follows can be automated. The main model turns each comment into a task and sets the order of the changes, and a peer model reviews that plan. Helper models then do the fetch and carry: they collect the insights from the comments, fetch papers that may be relevant, and verify new references. With this material, the main model drafts first ideas for each comment, makes preliminary edits to the paper, and drafts preliminary responses. A helper model then checks that every comment is addressed and that every new reference exists.
What comes back is a preliminary revision, and I use it only as input. At the final gate, I go through each change, each response, and each point left open, and I decide what the revised paper says. The fetch and carry has left my hands, so my time goes to the calls that make the revision mine: what a referee asks for, which argument to strengthen, and where to push back.
An autonomous paper-reviser agent will also return a revised manuscript, perhaps even a decent one. However, it has no fixed stages that you can verify. When you disagree with a change, you cannot find the point at which it was decided, and you end up reviewing your own paper as a stranger. The revision arrives as a finished product, and the choices in it were made without you.
Caveats
This setup is built for research and other knowledge work whose results must be verifiable and reproducible. Not all research and not all knowledge work has such strict requirements, and where it does not, more can be automated. For instance, some founders hand much of their work to autonomous agents, and they are not making a mistake: nobody audits how a successful company found its customers, the market tells them quickly whether a choice worked, and the tasks rarely repeat, so a written process pays off less.
Even within research, I find it challenging to say where the line between automation and human judgment lies. The line depends on the person and on the research. Still, any step whose route matters for the claim (e.g., coding the variables, choosing a test, or wording a hypothesis) stays at a gate, however capable the agent. When in doubt, I think it is better to be conservative and to keep the step at a gate. A written process also lowers the risk of errors, but it does not remove it. Thus, the final gate works only if I read the output with care.
A fixed process also fits the beginning of a research project poorly. When I generate research ideas or turn a hunch into a proposal, a process might march a half-baked idea confidently down one path, and I would never see the other papers I might have written. Thus, at that stage I first talk the idea through with the model until the design is agreed, and only then does the work process start.
Finally, as AI becomes more capable, the line may move toward automation, because more tasks will have results that can be checked without an account of the route. The tools will change, but the question of where the line lies will remain. For research to be reproducible, the researcher has to stay in the loop.
Keep the researcher in the loop
You can start with any model, even a single chat window, because sorting the work and setting the gates need no special tooling. Sort each task first. Then ask the model to write down how it reads your request before it starts, correct that reading, and decide on the result yourself. More models help with the checks, but the sorting and the gates are what keep you in the loop, whatever tools come next. For each table, dataset, and edit, ask whether you can say how it was produced and where you decided. If you cannot, that step was delegated rather than automated.
If you want agents to do the boring work you can forget while you do the research, you need a work process that leaves a trace you can inspect and brings the judgment calls to your desk one at a time, at gates you designed. If you delegate to autonomous agents instead, you will get output, but no trace of the process, and you will slowly stop being the person who did the research.