Our Minimum Telemetry Map for an AI Agent: 12 Fields, 4 Places
From the publisher’s feed, collected in the ZeroLabs newsroom.
Method note · for practitioners. Where each record should be written, and the failure it exists to catch. Then we checked our own test harness against it: 3 of 12 fields.A telemetry map for an AI agent says which facts get recorded, where in the system they get written, and which failure each one exists to catch. This week’s tests gave us one. Twelve fields, written from four places, would have proven every failure we hit this month. Then we ran the map against our own retry-test harness. It recorded 3 of the 12. Everything it captured lived in the orchestrator; nothing came from the tools.Written with AI assistance; every number comes from a measurement we ran and log with the draft. This is the method note behind Flagship 3 and the six trace fields.Our own harness against the map, 10 Oct 2026. Chart: Decoding AI.Key takeawaysFour places write telemetry: the orchestrator, the tool wrapper, the file reader and the write step.Twelve fields cover every failure from this series: partial data, stale input, outages, wrong scope, silent “done”.Each field is there to catch one named failure. A field without a failure is noise.Our own harness recorded 3 of 12, all from the orchestrator. It could grade a run but not explain one.The tool wrapper is the gap that matters most: 5 of the 12 fields live there.TL;DRWhat is the minimum telemetry an AI agent needs? From our tests: the orchestrator records the run ID, final status and evaluation result; the tool wrapper records each call, exit code, HTTP status, row count and completeness; the file reader records the path and date of each input; the write step records how many records changed and which. Twelve fields, each tied to a failure we actually hit.Why a map and not a list?Because a field is only useful if the right component writes it. The agent cannot be trusted to report what its tools returned: in our tests, agents summed half the data and said “done”. The record has to come from the code that saw the fact. So the map is organised by place, not by field.Twelve fields, four places. Diagram: Decoding AI.The orchestrator: did the run succeed?Fields: run_id, final_status, evaluation_result.Run ID joins everything else. All 4 of our log-based debuggers needed it to find their run.Final status is the agent’s own claim. Keep it, but never alone: status-only debuggers found 2 of 4 root causes.Evaluation result is the only field that notices a wrong answer by itself. Retrying on it fixed 4 of 4 silent failures in our retry test.The tool wrapper: what did the tool return?Fields: call, exit, http_status, rows, complete.Call with arguments was cited in every log and trace diagnosis.Exit code and HTTP status proved the outage: six 503s.Rows and completeness proved the partial-data failure: "rows": "10", "end_marker": "false". A success exit code alone is how that failure stayed silent.The file reader: was the input current?Fields: path, generated_at. The stale-input failure was proven by two dates: 30 September for the file the agent read, 9 October for the one it skipped. A read without a date is a guess about freshness.The write step: what changed?Fields: records_changed, keys. The wrong-scope edit produced valid JSON with three changed records where one was asked for. The count was the whole diagnosis.How did our own harness score?3 of 12, all orchestrator fields. The harness behind our retry test recorded a run ID and final status for all 40 attempts, and an evaluation result per policy. For the tools, it kept only a call count per attempt: no exit codes, no row counts, no completeness. No file dates. No write counts.That fits what we saw. We could say which runs were wrong in seconds. To explain why, we needed the agents’ own reports and the answer key. A production system has neither.The audit, 10 Oct 2026.How do you check your own map?List the fields your traces actually contain and compare. This is the whole check:MAP = { # where each record is written, and the failure it exists to catch "orchestrator": ["run_id", "final_status", "evaluation_result"], "tool wrapper": ["call", "exit", "http_status", "rows", "complete"], "file reader": ["path", "generated_at"], "write step": ["records_changed", "keys"],}def missing(trace_lines): seen = {k for line in trace_lines for k in line} return {where: [f for f in fields if f not in seen] for where, fields in MAP.items()}Feed it a day of your trace records as dictionaries. Every missing field is a failure you will diagnose by guessing. Tell us in the comments which place your stack is missing.What this does not showA universal schema. Twelve fields came from five failure types. Timeouts, costs and multi-agent hand-offs will need more; we test timeouts tomorrow.Field names. Use whatever your tracing system calls them. The places matter more than the names.That 12 of 12 is enough. It is the minimum that would have proven our own failures, nothing more.FAQWhat is a telemetry map for an AI agent? A list of the facts to record, which component records each one, and which failure each one catches.Where should AI agent telemetry be recorded? In the code that sees the fact: the orchestrator, the tool wrapper, the file reader and the write step, not the agent’s own report.Which telemetry gap is most common? In our own harness, the tool wrapper: 0 of its 5 fields were recorded.Is the agent’s final status enough? No. In our test, status alone left half the root causes unknown.How many of the 12 does your agent record today?Tomorrow: Flagship 4, where a tool times out halfway through a task. Follow Decoding AI to get it.What we measure nextFriday 23 October: tool timeouts injected halfway through agent tasks, and what the agents report.Monday 26 October: a compact evaluation set for agents, and what it catches.Tuesday 27 October: why 10 regression cases beat a vague 1,000-case claim.Today we drew the map and failed our own audit. Tomorrow a tool goes quiet mid-task, and we find out what the map misses.NEXT → tool timeouts · halfway through · FridayNext: tool timeouts.If this showed you where your telemetry stops, clap so more people running agents see it, tell us in the comments which place your stack is missing, and follow Decoding AI — then hit subscribe so Friday’s timeout test lands in your inbox.Sources & ReferencesOpenTelemetry, Observability primerDecoding AI, Retrying a Failed AI Agent Fixed Nothing Until We Checked Its Output (the harness we audited)Decoding AI, Better AI Agent Telemetry Didn’t Find Root Causes Faster. It Found Them. (Flagship 3)Decoding AI, Five Ways a Valid-Looking AI Agent Output Still FailsOur Minimum Telemetry Map for an AI Agent: 12 Fields, 4 Places was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.