~/writing / field guide

Pull the Telemetry Across the Boundary

The record of what your agents do already exists. It sits in a developer tool the security team cannot search, so no one who would recognize an incident is looking at it. This moves that telemetry into the pipeline that is actually watched.

Field guide: Securing the Agents Already in Production. Part 3 of 5. Last reviewed: September 2026.

You scoped the agent and put a guardrail in front of the actions it can take. Now you have to see what it does inside the scope you left it.

The record already exists. That is the part people get wrong. The agent is not acting in the dark. Every tool call, every model invocation, every prompt and response is being captured somewhere right now. It is just not being captured anywhere you can reach. It sits in a developer observability tool owned by platform or data engineering, with retention and access set for debugging and cost, not for an investigation that opens three weeks after the fact.

Part One had a column for this. Where its activity is logged today. The honest answer, for most of the register, was a tool the security team cannot search. This part is moving that record across the boundary, into the pipeline the security team actually watches, in a form it can use.

The boundary is a routing decision nobody called security

Human activity goes one way. It lands in the SIEM and the EDR pipeline, where it is searched, retained, and investigated. Agent activity goes the other way. It lands in developer observability, where it is read by the people debugging the agent and almost no one else.

Somebody made that routing choice, and almost nobody made it as a security decision. It happened because the volume was large and the dev tool was already there and the budget lived on the engineering side. The telemetry is not missing. It is in someone else’s house, with the locks set for their purposes. Security cannot search it, cannot retain it on its own terms, and cannot pull it in the middle of an incident.

So the first move is not technical. It is to put the decision back on the table and name it. Is agent activity in scope for detection and investigation, or is it not. Right now the answer is no, and no one chose that answer on purpose.

You cannot move all of it, and you should not try

A single agent run can be hundreds to thousands of tool calls. Point that firehose at a SIEM sized for human activity and you will blow the ingestion budget in a week. That cost is exactly why the routing decision went the way it did, and repeating the mistake in the other direction does not help anyone.

So do not move everything. Move the signal. Decide what a future investigation will actually need and carry only that across. The agent identity you assigned in Part Two. The action and its target, with the write surface first, because that is the line that decides blast radius. The tool that was called. The outcome. And the markers that bound a run, the start and the end, so a sequence can be reconstructed later instead of guessed at.

Shape that at the edge and leave the verbose debugging detail where it already lives, in the tool the engineers already pay for. This is a filtering problem, not a turn-on-every-log problem. The goal is a thin, queryable, security-relevant record, not a second copy of everything.

Move the signal into the pipeline you watch

The destination is the pipeline your team already investigates from. The SIEM, the data lake the SOC queries, whatever the on-call analyst opens at two in the morning. Not a new console. The one that is already watched.

The practical path is OpenTelemetry. Agent frameworks emit spans, and OpenTelemetry now defines semantic conventions for generative AI calls, so the traces can be shaped into one common structure and routed to two places at once. Developer observability for the engineers. Your pipeline for security. The same emission, forked at the collector. You are not taking the dev team’s tool away. You are adding a tap.

Update, 18 September 2026. OpenTelemetry has moved further into agentic workloads since I wrote this. Its 3.0 reference demo now includes an instrumented AI agent and MCP server, with model calls, tool calls, and downstream service activity carried through the same tracing pipeline. The GenAI semantic conventions have also moved into their own project, with explicit coverage for agents and MCP. That makes the path described here considerably more practical. The conventions are still moving quickly, so I would treat the schema as something to version and test rather than assume it will stay unchanged.

Then attribute it. Because you gave each agent its own identity in Part Two, the activity ties back to a specific agent and a named owner, and it can sit in the same schema as human identity. A query can ask what this identity did without caring whether the identity is a person or a piece of software. The agents you flagged as still running on a human’s credential cannot be attributed. In this pipeline they are the person, the same as everywhere else. That is the worst case from Part One, unchanged.

Retention is part of the move

The dev tool keeps traces for a debugging window. Days, sometimes hours, sized for cost. Investigations do not run on that clock. The question usually arrives weeks after the action, when someone notices the outcome. If the trace aged out before anyone went looking, the move failed even though the pipe worked.

Set retention on the security copy to the investigation horizon, not the debugging one. This is a real line item and it will show up in the bill. It is the price of being able to answer the question later instead of standing in front of someone explaining why you cannot.

This is plumbing, not detection

Be honest about what this buys. Moving the telemetry detects nothing. It does not tell you which sequence was the incident. It puts the material where the people who investigate can reach it, in a shape they can query, kept long enough to matter.

That is the precondition for Part Four, and it is worth doing on its own, because the alternative is discovering during an incident that the only record of what the agent did lived in a tool your investigators do not have a login for. The line from the note holds. The agent did not evade anything. The telemetry was simply in a system the security team did not own. You are closing that gap. You are not catching anything yet.

What you actually have

The traces were there the whole time. They were in a tool your investigators do not open.

Telemetry you cannot query during an incident is not telemetry. It is storage.

Until the agent’s activity lands in the pipeline you watch, kept as long as you would actually need it, you are governing the part of the agent you can see and trusting the part you cannot.

Now the signal is where you can reach it. The next question is what to look for. The old answer, the anomaly, the thing that does not belong, is the wrong one for an actor whose every action belongs. That is Part 4.


// keep reading