Autonomous Research Agents
Research Assistant · June 2026 — Present
California State University, Long Beach · Long Beach, CA
I build execution-grounded pipelines for autonomous research agents — systems that plan their own experiments, run the code, and draft the LaTeX paper at the end. The interesting part is not getting them to write. It is making sure that every number they write down was actually measured.
Publication
Coming soon — pending peer review
The paper is under review. This page is the interim home for it, and the link will land here the moment it clears. Until then, the system it describes is public and readable in full.
github.com/bananatruck/gatesThe Problem
WHY_THIS_EXISTSAutonomous research scaffolds regularly publish numbers their experiments never produced. The usual explanation is that the model fabricates. In the scaffold we audited, the mechanism turned out to be mundane and mechanical: experiment output was truncated to 1,000 characters before any agent could read it, and the crash marker was appended after the program's own output — so it fell off the end of the same slice.
The writing agent could not see the real numbers. The failure detector could not see the crash. A run that raised NameError on every attempt was scored a perfect 1.0 by the reward model and written up with a full results table to two decimal places. None of it was measured.
That reframes the whole thing. It is an information-flow defect, not a model tendency — which means it can be closed with plumbing rather than prompting.
G.A.T.E.S.
VALIDITY_LAYERA portable validity layer that closes the channel at three points. Every reported metric has to trace back to a hashed execution run before it is allowed into a manuscript. Zero runtime dependencies, no host scaffold imports — it drops into whatever environment the agent already runs in.
Execution validity
implementedDid this code actually run, and were the reported numbers produced by this run rather than inherited, hardcoded, or invented?
Source ↔ result coherence
designedAre the measured results consistent with what the cited literature actually reports?
Report validity
designedDoes every number and citation in the finished manuscript trace back to something that exists?
Results
MEASURED15
reproducible agent-generated papers
90%+
causal chain integrity
25–35%
lift in unsupported claim detection
98%+
fewer repeated undetected failures
<10%
false positive flag rate
3 / 4
arXiv baselines / reported research metrics
Unsupported claim detection went up 25–35% against a live agent scaffold, benchmarked against three published arXiv baselines and four reported research metrics. Repeated undetected failures — the same crash sailing through run after run — dropped by over 98%, while false positive flags stayed under 10%, because a false flag costs the agent a rewrite for nothing.
The pipeline delivered 15 reproducible agent-generated papers at over 90% causal chain integrity, where a chain is the full link from task → command → log → value. Each link is marked resolved or not, so a broken chain gets reported rather than papered over. That distinction is the point: a number that merely matches something in a log is not the same as a number causally attributable to a recorded run.
How It Works
MECHANISMExperiments declare their results through an API injected straight into the namespace — nothing to import, nothing for the agent to get wrong:
record_result("exp1.K2.test_acc", test_acc, unit="ratio")You pass the variable. A number typed into the call is rejected — the gate re-parses the source, finds the call site, and fails any value that is a literal rather than the result of a computation. Constant folding does not launder a typed number either.
Around that sits a static tier that rejects broken code before it costs any compute, and a runtime tier that runs the experiment in a fresh process with an empty namespace and hashes the source the child actually executed against the source that was submitted. That hash is what turns "this value came from this code" from an assumption into something checkable.
Source
G.A.T.E.S. repo
Paper
Pending review