A bug reaches production. Error rates climb, a few customers notice, and somewhere a pager goes off. The usual story from here is familiar. An engineer wakes up, opens a stack of dashboards, starts paging through logs, and tries to reconstruct what happened from fragments. Now picture a different story. The moment the alert fires, an AI agent that already has access to all of that data is investigating, and by the time the engineer reads the page, there is a hypothesis and the evidence behind it waiting.

That second story is not far off. It is what happens when you connect a capable agent to good observability.

A quick word on MCP

The piece that makes this practical is the Model Context Protocol, or MCP. It is a standard way to give AI agents access to outside tools and data sources, and your observability platform can be one of them. With an MCP connection to your logs, metrics, and traces, an agent can query your telemetry the same way an engineer or a tool would, and reason over what it finds. My own product, Skein, is built as an MCP server, so this is a space I work in directly.

Why agents are good at production debugging

Investigating a production incident is, underneath, a search and correlation problem. When did the errors start. What changed around then. Which requests are failing, and what do they have in common. Pull the traces, find the shared factor, form a hypothesis, test it against the data. This is precisely the kind of tireless, high-volume correlation that agents are good at. An agent does not get tired at two in the morning, can hold the whole picture at once, and can pull on a dozen threads in parallel without losing the plot. For a large class of production bugs, that combination will outpace most engineers on speed and match them on accuracy.

I have watched this happen

This is not a hypothetical for me. An important customer was partway through a live demo when something strange happened on screen. Was it a bug, or just a misunderstanding? The sales rep pinged an engineer, who pointed an agent at the production server’s observability and started diagnosing right there, while the call was still going. Within minutes the agent had a hypothesis and a proposed fix that was not merely plausible, it solved the customer’s real use case. The developer patched the bug and shipped a release in minutes, while the demo was still warm in everyone’s memory.

That is not a story about a clever agent. It is a story about everything that had to be in place for the agent to be useful. It worked because the observability was good enough to diagnose from, because the engineering practices were solid enough to change code safely under pressure, because the CI/CD pipeline could ship a fix in minutes instead of days, and because the team measures velocity in real user value rather than lines of code. Take away any one of those and the story falls apart. The agent is the spark. The engineering foundation is what lets it catch. And throughout, the human kept the judgment, the same directed, reviewed, gated pattern I apply everywhere.

This raises the value of observability

Here is the part worth sitting with. Observability used to pay off mainly for the humans investigating an incident. Now it pays off twice, because it is also the substrate your agents need in order to be useful operators. A team with rich, well-structured telemetry hands its agents a great deal to work with. A team with sparse, unstructured logs hands them almost nothing. The better your observability, the more your agents can do with it, which means the investment you make before you need it compounds in a way it did not a few years ago.

Keep the human at the wheel

One caution. An agent investigating a problem is wonderful. An agent taking unsupervised action in production is a different risk, and not one I would take yet. Read access to your observability data is low risk and high value. Write access, the power to actually change production, should stay behind a human decision and a gate. Let the agent find the problem and propose the fix. Let the person decide.


Helping teams build the observability that makes their engineers, and now their agents, effective in production is part of what I do as a fractional CTO with Artificer Innovations. If you want your operations ready for this, let’s talk.