← All transcripts

Agent Observability: 41 Problems My AI Agents Never Told Me About Transcript, AI Summary & Key Points

DevOps & AI Toolkit · 1 hour ago · Science & Technology · 23:28 · EN

Watch on YouTube

Answer

41 problems came from a single analysis pass over a few days of agent-run data — the title's answer is the six practices that surfaced them, not a list of all 41.

AI Summary

Running one AI agent under supervision needs no metrics — the human is the observability. Running dozens unsupervised changes everything: a CI alert silently failed for seven weeks because its secrets were never registered, main stayed red for 19 hours and nobody noticed, agents hit monthly API spending limits discovered only after the fact, and four agent questions sat unanswered for hours, one for 6 hours. Six practices fix this: instrument the full system in four layers (run, shell commands, pipeline, machine) joined by one run ID and metadata only; make agents come find you with alerts tested end to end; count failure patterns across hundreds of runs instead of treating one bad run as bad luck; measure the build-and-feedback loop agents live in (an agent-written build script cost ~1.5 minutes per build vs one third of a second once fixed); measure instructions instead of shrinking them (removing the whole CLAUDE.md file would have saved at most ~5% of cost); and verify telemetry before trusting it (an 'rm' followed by 'ls' supposedly ran for 38 hours — a ghost span). The final practice ties it together as a repeating loop: measure, collect a clean baseline, analyze (an agent did the analysis), file ranked findings as issues, and schedule the next round. The first round over ~3 days of data produced 41 issues, each specifying which metric it should move. Agents don't complain — they wait and do the same thing again — so metrics and traces are the supervisor when nobody is watching.

Key Points

  • A CI alert meant to signal a broken main branch was added with its secrets never registered, so for seven weeks every red main reached nobody; main once stayed red for 19 hours.
  • Practice 1 — Instrument the system, not just the agent: capture four layers (the run, every shell command as a span, the pipeline — checks, CI, reviews, main's greenness — and the machine: CPU, memory, disk per run), all glued by one run ID, metadata only, no prompts or file contents.
  • Practice 2 — Make agents come and find you: first reduce the moments that need a human by fixing recurring permissions, skills and instructions; alert only on what truly needs a human; send alerts to where you actually are, not a dashboard nobody opens; test each alert end to end.
  • Practice 3 — Count, then fix the cause: more than 1 in 5 pre-push check runs failed and 1 in 17 failed on formatting alone — a single command fixes it, so a formatter step now runs before checks; over half of reviewer change requests were about a review bot that put findings in a summary comment instead of threads, invisible one pull request at a time but obvious across hundreds.
  • Practice 3 follow-up: the orchestrator needed a human about five times an hour while Codex and OpenCode workers needed none in over 60 runs, so repeated steering belongs in the orchestrator's instructions; permission prompts were assumed to dominate time but added up to minutes.
  • Practice 4 — Measure the feedback loop: sandbox builds recompiled a large chunk of the project, taking ~1.5 minutes even when nothing changed because an agent-written build script watched Git files that kept changing; after fixing, the build took one third of a second. The machine was overloaded almost a quarter of the time while teams worked, and recompiling test helpers for every test binary was ~41% of a cold build's compile time.
  • Practice 5 — Treat instructions as something you measure: the CLAUDE.md file was roughly a third of an agent's first request, but removing it entirely would save at most ~5% of cost — instead review it for conflicting, repeating or obsolete rules. Claude Code's prompt suggestions cost ~3% of its cost in a setup where nobody is typing; every skill activation was logged under one generic name, so dead-weight skills couldn't be identified.
  • Practice 6 — Don't trust telemetry you haven't checked: a few dozen shell commands accounted for 88% of recorded shell time, one an 'rm' followed by 'ls' supposedly run for 38 hours — a failed command whose span stayed open until the run ended. A third of all human interventions belonged to runs with no agent recorded; Pi reported two status changes in 52 runs; thousands of events came from agents started outside the deck.

AI in practice

Used for

Agents

  • Analyze agent fleet telemetry one source at a time and produce a ranked list of improvement issues. 2 held 20:39

Tools & resources

5 items

HNo. 8488
AIAINotes.us Tool

Honeycomb

honeycomb.io

Honeycomb is an observability platform for AI-era software, providing fast queries over unified telemetry and support for LLM observability. In the video's agent-observability workflow, it serves as an OpenTelemetry backend for sending agent traces and metrics and querying telemetry across runs.

Mentioned in
1 video
Kind
Other
NNo. 8489
AIAINotes.us AI product

Nebius Agentic AI Builder Certification

nebius.com/certification/agentic-ai

The Nebius Agentic AI Builder Certification is a professional certification for software engineers who build AI workflows and AI-powered applications with Nebius products. It covers integrating models through Nebius Token Factory, building end-to-end agentic workflows and retrieval-augmented generation pipelines, fine-tuning models, and connecting agents to external tools such as Tavily; it focuses on the inference and agentic layers rather than the underlying AI Cloud infrastructure. Preparation includes a free hands-on course in which participants build an agent on Nebius and keep the code in GitHub. The remotely proctored exam uses an exam-partner platform and validates knowledge through timed multiple-choice questions. Nebius Academy develops and maintains the certification; successful candidates receive an official certificate and Credly digital badge, and the certification is valid for three years.

Mentioned in
1 video
Kind
AI
ONo. 0937
AIAINotes.us AI product

OpenCode

Open source · anomalyco/opencode

OpenCode is an open-source AI coding agent developed by anomalyco. It is used as a terminal-based coding agent and external coding harness, with a beta desktop application also available. The CLI includes a full-access build agent for development work and a read-only plan agent for code analysis and exploration; the plan agent denies file edits by default and asks permission before running shell commands. OpenCode also provides a general subagent for complex searches and multistep tasks, and can be installed through its shell installer, package managers, or platform-specific desktop packages.

Mentioned in
12 videos
Kind
AI
ONo. 0760
AIAINotes.us Tool

OpenTelemetry

Open source · open-telemetry

OpenTelemetry is an open-source, vendor-neutral observability framework for cloud-native software. It provides APIs, SDKs, automatic-instrumentation agents, and collector services for capturing distributed traces, metrics, logs, and contextual metadata such as baggage. Its context-propagation mechanism correlates telemetry across service boundaries and carries trace identity through an application’s request path, including standard HTTP communication. The OpenTelemetry Collector receives, processes, filters, and routes telemetry to observability backends such as Jaeger, Prometheus, commercial systems, or custom solutions. It supports native SDKs for more than 12 languages and is hosted as a graduated project by the Cloud Native Computing Foundation.

Mentioned in
15 videos
Kind
Other
PNo. 6381
AIAINotes.us AI product

Pi

In the AINotes directory

Pi is a lightweight coding-agent harness presented as an alternative for people seeking to avoid Claude Code lock-in and reduce cost per token.

Mentioned in
8 videos
Kind
AI

Links mentioned

🔒 Full analysis locked

Unlock more videos and the full analysis

A credit unlocks one video's full analysis for good — the build steps, the tools and how each was used, the methods behind every use case. Pro opens the whole library instead, and raises how many videos you can analyse a day.

Unlock full analysis — free

Transcript

Searchable transcript of Agent Observability: 41 Problems My AI Agents Never Told Me About — DevOps & AI Toolkit (23:28). Search for a phrase, then click its timestamp to jump straight to that moment in the video.

Captions sourced from the original video on YouTube, published by DevOps & AI Toolkit. The video, its captions and all related intellectual property remain the property of their respective owners; AINotes claims no ownership. Provided for research, accessibility and search — see the Transcript Notice and Copyright Policy.

00:07 When I work with one agent, I watch it. I read what it's doing, approve what it wants to run, and answer its questions the moment it asks them. If a build is slow, I see it. If a check keeps failing for the same silly reason, I see that, too, and I fix whatever causes it. I do not need matrix for any of that. I'm the matrix. That's not how I work anymore.

00:31 I give an agent a task, let it rip, move to the next one, and do the same thing again until dozens of them are running, many of them while I'm asleep. The slow builds, the failing checks, the questions waiting for an answer. I stop seeing any of it. Here's an example. One of my projects has a CI alert that's supposed to tell me when the main branch breaks.

00:59 It was added a couple of months ago and the secrets it needs to send anything were never registered. For seven weeks, seven bloody weeks, every time Maine went red, the alert fired and reached nobody. once main stayed red for 19 hours, which today with agents is like eternity, right? And the instructions my agents follow say that this alert is exactly how a broken man gets noticed.

01:32 Working next to one agent, I would have seen a red build within minutes. With a fleet, nobody noticed that the alarm itself was dead. That's what this video is about. improving agent workflows when nobody is watching. Not tuning the one agent you supervise, but finding what's wrong, what's slow, and what's wasteful in a fleet of mostly unsupervised agents working around the clock.

01:58 I will use real data from a few days of agents building a real project, but the point is what you can take from it. A handful of practices that work for your own agents, whatever tools you use. An agent you cannot observe isn't production ready. Right? Then again, observing one assumes you can build it and take it to production in the first place. AI is in prove it type of error.

02:26 What counts is what you can ship and run, not how many tokens or GPUs you've burnt. And that brings me to the sponsor of this video, Nebios, the AI native cloud for production AI. It has its own compute, a cloud platform token factory for managed inference of open models and Tavili for agentic search and it's open by design. Nebio Academy offers the agentic builder certification.

02:56 The prep is a free course of about 4 hours in which you build a working agent on Nebuse and keep the code in your GitHub. The exam is online and proctored and it covers agents inference, finetuning and production operations, not only prompting. Pass it and you get a credly badge valid for three years that goes on your LinkedIn and your CV. Learn by building on Nebuse.

03:23 Get certified for what you know. The exam is free for DevO toolkit viewers with the code VFRC 2026 until January 1st. Use the link in the description. Big thanks to Nebus for sponsoring this video. And now, let's get back to agents. Nobody's watching. Supervising a single agent is observability. It's just the human kind. You see every step of one run, you notice whatever annoys you and you fix it.

03:54 That works, but only while you're watching and only for the run in front of you. Letting agents run on their own changes three things. First, you're not there, and most problems never announce themselves. A build that's far slower than it should be, a test suite that keeps growing, checks that fall a few times before an agent quietly fixes whatever broke them, those you never find out about.

04:19 The run ends green and whatever it cost to get there is invisible. Second costs multiply. A minute wasted once is nothing. Spread across dozens of agents working in parallel all day. It adds up. Third, some problems exist only across many runs. Something that goes wrong in one run out of let's say 17 looks like bad luck when you happen to see it and like a problem only when you count it worse.

04:52 It gets worse. A lot of those problems come from the agents themselves. When agents write the code they also write the tests, the build scripts and the CI. When a team of humans makes its own build slower, the same humans feel it and fix it. When agents do it, the agents that come after them pay the price. And agents don't complain. They don't. They wait and then they do the same thing again.

05:16 The feedback a supervised setup gets for free is gone. So it has to be built. So where does that feedback come from? Watching isn't an option. Even if I wanted to, I could not I couldn't follow dozens of agents working in parallel around the clock. Asking agents to report their own problems does not work. Not really. Because again, they don't complain.

05:44 And an agent's account of its own run isn't evidence I should take on fate. Checking in on a few runs misses everything that only shows up across many. We've been there before. Nobody runs a fleet of applications by watching them. We instrument them. We collect metrics and traces in one place. And we ask questions across all of them. And we set up alerts that reach someone when something breaks.

06:10 A fleet of autonomous agents is another fleet of workloads. Of all the options, metrics and traces are the only ones that scale. Now, that does not make evils pointless. It doesn't. Evils are two agents for tests are two applications. A fixed set of tasks that tell you whether a new model, prompt or skill, does better or worse. Telemetry tells you what happens on real work, including problems that have nothing nothing to do with the agent itself, like that alert.

06:43 You need both, but this video is about the second, not devils. The first practice is to capture whatever your eyes used to see. And that's a lot more than tokens and cost. You need four layers probably. The run itself, which agent in which role, every status change between working, waiting and blocked, every time a human steps in, every handoff between agents and how it ended, what the agent does, every shell command as a span with how long it took, the pipeline around it, the checks it runs before pushing the CI on

07:24 its pull request, the reviews, and whether the main stays green, for example, and the machine as well. CPU, memory, and the disk per run. Most coding agents already export their own telemetry as well. Cloud Code, Codex, Open Code, and Pi all speak telemetry. What makes it useful is gluing it together. Every span and every event carries the same run ID.

07:52 So, one query returns everything one run did, whichever layer it came from. And keep it to metadata. No prompts, no file contents, no agent output. Every layer, one run ID, metadata only. Something has to send all that. And what that is depends on how you run your agents. A tool built for it. For example, an agent's own exporters or your own scripts.

08:18 What you're about to see comes from agent deck, the open source app I use to run all my agents. It sends the first three layers itself. A collector that comes with it covers the machine and it's all configured through the standard Open Telemetry variables. So it works with whichever back end you prefer. If you want to try it, the link is in the description probably.

08:39 If you haven't forgotten to put it and if you find it useful, you know what to do. Start it on GitHub. It it helps it helps people find it even though I built it only for me. Still, agent deck is only where my examples come from. The four layers and everything that follows apply to any setup. And that's what this video is about. The project I measure is one of mine and it's built entirely by agents.

09:06 Teams with an orchestrator, a coder, a tester, an auditor, and a reviewer running on cloud code, code codex, open code P or not P, PI, plus solo agents working through a queue of issues day and night. Everything goes to an open telemetry back end which in my case happens to be honeycomb together with the history of CI pull requests and tests from GitHub.

09:27 And to be honest, since we live in 2026 or 2027, I did not analyze any of it myself. An agent did and what it found is behind every practice that follows. The second practice is about the moments that need a human. A supervised agent has you right there. A fleet has to come and find you. That dead alert from the start left only a note on the CI run and nobody is notified about notes over 60 days.

10:03 One in 10 of the times main went red took 9 hours or more or even more to get back to green. Once two agents fixed the same broken main in parallel, each with its own pull request and nothing nothing told either of them about the other. There were no other alerts either. Agents, for example, run into the monthly spending limit of their API account and I found out only from the data after the fact.

10:29 Questions are the same story. Four of them set on screen for hours. The longest one for 6 hours. To be honest, some waiting is the price of not watching. Fair enough. However, the problem was that nobody knew. The hook that holds a question gave up after an hour. The deck kept showing the agent is waiting and a question that had been there for hours looked exactly like one that just arrived.

10:58 So, first make fewer of those moments. Please do. Look at what agents wait for. And when the same permission or the same kind of question keeps coming up, fix the permissions, the skills or the instructions so the next agent doesn't have to ask. Then alert only on what truly needs a human. An agent waiting longer than it should. A main that stays red.

11:21 Agent stopped by a limit and so on and so forth. An alert for every question is in a fleet of dozens and noise gets ignored. Send the alerts that remain to wherever you actually are, not to a dashboard. Nobody opens. Oh my, who watches dashboards? And test each one end to end because an alert that has never reached anyone is no alert at all. Remember, agents don't escalate on their own.

11:53 The third practice is to count, right? You can count 1 2 3 4. Right? Some problems look like bad luck in one run and like a pattern across hundreds. Before pushing, every agent runs the checks, formatting, linting, and tests. More than one in five of those runs in my case failed and one in 17 failed on formatting alone. Something a single command fixes automatically.

12:15 Now that seen once, you know, I tried who cares. Counted. It's a step every agent should run before the checks and nobody had told them to. More than a half of the change requests from the reviewer agent that I'm using were about a finding from a review bot that the coder never answered imbecile. The instructions told the agents to resolve every review thread and they did.

12:42 But one of the bots puts his finding in a summary comment not in threads. Nobody, this is the point of all this, nobody would spot that reading pull requests one by one. No worry. Across hundreds of them, it's kind of obvious. Counting also shows where the human goes. The orchestrator needed me about five times an hour. The codex and open code workers did not need me once in more than 60 runs.

13:09 So steering that I keep repeating to the orchestrator belongs not in me doing it, but it's in its instructions. And counting kills assumptions. I would, for example, bet anything that most of my time is spent on approvals. But agents blocked on permission prompts added up to minutes over the whole window. And none of that was an actual permission prompt.

13:35 And here it goes. Without the data, I'd have spent my effort tuning allow lists, right? So measure rates across runs, not anecdotes, wrong one. When the same failure keeps coming back, fix it once in the tooling or the instructions. Instead of letting every agent rediscover it and check, please check where the time actually goes before you optimize anything.

14:00 Fix the cause once, not the symptom on every run. The fourth practice is to look past the agents at the loop they work in. change, build, check, CI, review, every build in the sandbox where agents run their checks, recompiled a big chunk of the project, in my case, taking about a minute and a half, even when nothing nothing changed. The cause was a build script written by an agent months earlier watching Git files that kept changing under it.

14:36 To confirm the cause, the agent that did the analysis stopped those files from changing inside the sandbox. And the same build took a third. One third. One/ird of a second. One third of a second from minutes. So multiply a minute and a half by many agent each running into it many times a day and it stops being small. Right? Anyone watching would have complained on the first day.

15:02 Agents just, you know, waited and did it again. The machine told the similar story. While teams were working, it was overloaded almost a quarter of the time. And the load followed how much CPU the agents used, not how many of them were running. And compiling the same test helpers again for every test binary was about I think 41% of a cold build's compile time.

15:24 So measure, please measure the loop itself. How long it takes for a change to a check result. how often checks run when nothing relevant changed and how loaded the machine is per run. Agents will not complain about the slow build. So the numbers have to. If you only observe the agents, you miss it because most of what slows agents isn't the agents themselves.

15:58 The fifth practice is about instructions. When you supervise an agent, you still words. When nobody's watching, the instructions are the only steering left. So measure them. Please measure them like any other input. In my case, for example, the project has an instructions file cloud MD that every agent loads before it does anything. By a rough estimate, it was close to a third of everything an agent sent to the model in the very first request.

16:25 Now, the obvious reaction is to shrink it, right? However, data said otherwise. A session sends far more than that first request and even removing the whole file would have saved at most about 5% of the cost. The issue to shrink it was replaced with the review for rules that conflict re repeat each other and or no longer apply. Right? A long instruction that agents need stays long.

16:52 Other measurements were missing in my case. Every skill activation was recorded under the same generic name. My mistake. So I couldn't tell which skills ever fire and which are dead weight. And some defaults only make sense with a human at the keyboard. For example, clo codes prompt suggestions where 3% of its cost in a setup where most agents have nobody typing at all.

17:18 So please record which instructions and skills are actually used. Measure before you cut anything and look for defaults built for a person who isn't there. Measuring tells you where to look, not what to do. There's more. Six practice is the one people skip. Once telemetry replaces your eyes, bad telemetry is like bad eyesight and you cannot notice it by watching.

17:52 In the first round of data, a few dozen shell commands accounted for 88% of all recorded shell time. One of them, an RM followed by NLS, supposedly run for 38 hours. It didn't. The command failed. The agent reported a failure through an event nobody was listening to, and the span stayed open until the run ended. Any question about where shell time goes was answered mostly by those ghosts and it did not stop there.

18:25 A third of all human interventions belong to runs with no agent recorded. Pi for example in my case and this is just example of really bad metrics that you don't notice until you look. Uh, PI reported two status changes in 52 runs and thousands of events came from agents started outside the deck by other agents mixed in with the real ones. So before acting on anything, check the outliers.

18:53 Check that every agent reports what it should and check that you are counting only the runs you think you are. Fix the measurements first and then act on them. data you haven't verified is like an opinion with the charts. The last probably the last practice ties the rest together, right? A supervisor fixes what they see on the spot. A fleet needs a process so that improvements happen on a schedule instead of on someone's attention.

19:27 Right? Start by deciding what each problem costs. time because an agent waiting for an answer or rerunning a failed check finishes its work later and so does everything cued behind it. Tokens because a failed check means an agent reading the output, reasoning about it and running everything again. Compute because a saturated machine slows everything on it.

19:51 Quality because ignored findings and a silent red main let broken things through. and human attention. That's scarcest resource in the whole system, right? And the one a fleet is supposed to save. Weigh that against what the fix costs and you know what to do first. Let me tell you in advance. This is like TLDDR fixes cost less than whatever they're fixing, right?

20:18 So just do it. Agents do it for you. Nevertheless, then you run it as a loop. First measure, fix the telemetry until each signal arrives and means what it says. Second, collect, let normal work run and don't change anything while the data comes in. So it's a clean baseline. Third, analyze. In my case, an agent went through the data one source at a time from agent runs and checks to pull requests, CI tests, builds, instructions, and wrote down every query and every number.

20:50 And then comes the fourth one. Just improve bloody thing. Rank the findings and file each one as its own issue. Fifth probably schedule the next round which checks each fix against its baseline and finds whether or whatever is wrong now. Right? The data keeps flowing all the time and the analysis repeats every few months. The first round, a single pass over those few days of data produced 41 issues.

21:23 One round, 41 issues. Each one says which metric it should move, preferably a rate rather than a total, its value now, the conditions it was measured under, which direction is better, and which numbers it must not make worse. There are no targets, right? Because those numbers move. They move all the time with depending on how many reagents run at once and on what hardware.

21:48 A fix isn't an improvement until the next round data says. So some will work, some will not move anything and some turn out to be the wrong idea before anyone measures them, right? Like shrinking that instructions file from before. And keep the limits in mind. This is one project I'm showing here. mostly one machine actually two machines I think u and a little over three days of data that you've seen here so treat the numbers as a direction rather than a verdict anyways the numbers are never the point if your agents

22:22 run while you're doing something else they have their own versions of all of these problems so to sum it up instrument the whole system joined by one ID make your agents need you less and when they do make them come and find You count and fix causes once. Measure the loop your agents live in. Measure your instructions. Verify the telemetry before you trust it.

22:46 And make all of it a routine with baselines, not a oneoff audit. So, how many agents do you run without watching them? And how would you know if something was wrong with them? Let me know in the comments. Until then, when you stop watching your agents, something else has to. Metrics and traces are the supervisor you no longer are. Thank you for watching. See you in the next one. Cheers.