a builder's codex
codex · operators · Harrison Chase · ins_traces-need-feedback-to-learn

A trace alone teaches nothing; learning requires feedback attached to the trace

By Harrison Chase · Co-founder & CEO, LangChain · 2026-05-05 · essay · Agent observability needs feedback to power learning

Tier A · TL;DR
A trace alone teaches nothing; learning requires feedback attached to the trace

Claim

Agent observability infrastructure that captures traces without attaching feedback to them is not a learning system. A trace records what happened; it does not record whether what happened was good. Without a feedback signal bound to each trace, every run is undifferentiated data — there is no gradient to learn from, no way to promote successful patterns into config, no way to demote regressions. Trace + feedback together is the minimum learning unit; either one alone is logging.

Mechanism

Learning is differential: you need to compare runs that worked against runs that didn't, then change the system to produce more of the first kind. A trace gives you the run record, but not the label. Labels can come from explicit user feedback (thumbs / verdicts / replies), implicit feedback (downstream task completion, retention), or evaluator runs (LLM-as-judge against a rubric). All of those have to be attached to the specific trace they describe — otherwise you're rolling up averages across heterogeneous behaviour and losing the signal in aggregation. Most agent stacks ship the trace half cleanly (OTel-style spans, full I/O capture) and leave the feedback half as an afterthought, which is why so many production agents have rich logs and zero compounding improvement.

Conditions

Holds when:

Fails when:

Evidence

"A trace tells you what happened. It does not, by itself, tell you whether what happened was good. To learn from traces, you need feedback attached to them."

— Harrison Chase, LangChain blog, 2026-05-05.

The same week, Eugene Yan reached the same conclusion from the opposite direction — see Close the feedback loop by mining session transcripts for patterns to promote into config. Independent convergence from a frameworks operator and an evals operator on the same gap is itself a signal that the gap is structural, not stylistic.

Signals

Counter-evidence

Cross-references

Open the interactive view → View original source → Markdown source →