Your Self-Improving Agent Is Optimizing the Wrong Thing, and the Metrics Won't Tell You
The dominant failure of automated agent improvement is not bad fix generation but a misaligned eval substrate: because targets shift and curation is manual, the loop converges confidently on stale criteria, so the correct investment order is dataset lifecycle and criteria versioning before fix automation.
AngleArgue against the intuitive build order (automate the fixer first) using the observation that generation automation without specification automation just moves the queue, and pair it with the concrete contamination symptom of internal jargon reaching end users.
Source video ↗Stop Writing Prompts, Start Reading Traces: The Inversion of Agent Engineering Work
Agent engineering has flipped from write-intensive to read-intensive, which means the highest-leverage artifact in an agent stack is no longer the prompt file but the trace schema, sampling policy, and feedback attachment that make execution data machine-consumable.
AngleTreat observability as the eval supply chain rather than a debugging utility, and show that telemetry completeness and schema stability are correctness concerns because they gate what the improvement loop can even see.
Source video ↗Delegate the Generation, Never the Oracle: A Concrete Rule for Human-in-the-Loop Placement
Human-in-the-loop placement should be specified as an access-control rule rather than a vibe: agents get write access to prompts and code fixes, humans retain write access to evaluators and dataset boundaries, and this asymmetry is what keeps a self-modifying loop corrigible.
AngleReplace generic 'keep a human in the loop' guidance with an enforceable interface for the meta loop, illustrated by agent-drafted changes flowing through review gates with evidence attached.
Source video ↗Leak Gate
gatehouseA fully automated trace-to-dataset curation loop produces measurably more internal-vocabulary leakage in user-facing output than a human-gated loop, and a leaked-vocabulary detector computed over internal-only trace fields catches these regressions before semantic eval scores do.
Proof of conceptInstrument a customer-support agent's traces with a marker set of internal-only field values (pipeline names, tool identifiers, internal status strings). Derive eval datasets two ways (automated vs human-approved boundaries), run the same candidate fixes through both, and run the leak detector as a mandatory deployment gate. Report leakage rate and lead time between leak detection and score-based detection.
MeasurementLeakage rate per 1,000 user-facing outputs in automated vs gated arms; fraction of leaks flagged by the detector before any semantic eval delta appears; false-positive rate on clean outputs.
Source video ↗Loop-Level Fault Router
beyond-evalsProduction agent failures can be classified into token-loop, goal-loop, and meta-loop origin from trace features with materially better than chance accuracy, and routing fixes by predicted loop level reduces iteration count to resolution versus unconditional prompt-level fixing.
Proof of conceptTake a seeded set of injected defects at each loop level (bad tool call formatting; contradictory goal spec; agent-config regression) on a single agent, capture traces, label by loop level, and train a lightweight classifier. Then run two fix pipelines: always-attempt-prompt-fix vs route-by-classifier, and count iterations to green.
MeasurementClassifier accuracy and confusion between goal-loop and meta-loop defects; mean iterations to eval-set pass; rate of churn where a correct fix is applied at the wrong level and reverted.
Source video ↗Cadence Sweep
movement-labBeyond some threshold, increasing meta-loop cadence stops improving eval scores and instead increases regression rate, because criteria updates lag target drift and the review queue saturates.
Proof of conceptRun the same trace corpus and fix-proposal agent on per-merge, daily, and weekly cadences against a deliberately drifting objective. Track eval score, out-of-distribution regression count, eval-set staleness (age of criteria vs. observed failure modes), and human review minutes per accepted change.
MeasurementEval score versus cadence curve with saturation point; regressions per accepted change; review minutes per accepted change; correlation between criteria staleness and production failure modes.
Source video ↗Evidence-Packaged Change Review
gatehouseAgent-proposed changes bundled with the failing trace, the eval delta, and an estimated blast radius are accepted at equal quality but in significantly less reviewer time than raw prompt diffs, which raises the loop's effective throughput ceiling.
Proof of conceptBuild a reviewer-facing diff format that auto-attaches the triggering trace, before/after eval results on the gated dataset, and the set of affected test cases. Run a within-subject comparison where engineers review the same batch of agent-proposed fixes in raw-diff and evidence-packaged form.
MeasurementMedian review seconds per change; acceptance rate and post-merge revert rate as quality controls; variance in review time across reviewers as a proxy for review confidence.
Source video ↗