Diagram of three agent-memory traces drawn from the published span dump. Trace one has an invoke_agent parent and one create_memory child labelled record.count 51. Trace two has an invoke_agent parent with two search_memory children for the same query: the first returns the value UTC+8, the second returns UTC+9, with record.count 1 on both, and a callout to the left states that no write span exists between the two reads, so the changed value arrives without a recorded write. Trace three has an invoke_agent parent and one delete_memory child labelled evicted_reason=superseded_by_newer_value. A footer states that the layout is the fixture span shape, not a performance measurement, and that the two returned values come from the run log in method.md rather than from the span dump.

Agent Memory Tracing: OpenTelemetry Spans for Write, Retrieve and Evict

A memory-backed agent gives a stale answer and the stack shows a clean turn. The prompt was assembled, the tool returned, the model spoke, and every span on the trace is green. Nothing reports whether the fact was ever written, whether the retrieval that should have supplied it actually matched, or whether the record was quietly evicted two turns earlier. Those three causes produce the same user-visible symptom, and the usual log line — a query string and a hit count — cannot separate them. ...

November 25, 2026 · 10 min · baeseokjae