Try reloading the player or open this episode directly on YouTube.
In this episode, Aleksandr Smirnov discusses his creation, Scooby, an AI tool that investigates alerts at Pipedrive. He shares insights on how he built it, the skills involved, and the challenges of ensuring accurate responses while maintaining a read-only design.
Now Playing
Ship It Conversations: Claude Code as an On-Call Engineer at Pipedrive, 6.5K Alert Investigations, and Why It Stays Read-Only With Aleksandr Smirnov
Ship It Weekly
0:00Current chapter: Cold open and intro32:14
Chapters
Jump to a section in this episode.
Speed & share
Transcript
It can hallucinate and it will still sound very
convincing. Doesn't matter if it's wrong or not.
That's Aleksandr Smirnov, platform engineer
at Pipedrive. His agent, Scooby, starts on an
alert before the on-call engineer has finished
reading it. Today, how he taught it and why it
stays read-only. I'm Brian Teller from Teller's
Tech, and this is Ship It Weekly.
Aleksandr, thank you for joining me. Thank you for inviting
me. Happy to be here. Appreciate it. Thank you.
So tell me, what is Scooby and what were you
trying to solve? So Scooby is AI-powered engineer
harness skills, you name it, which solves the
big old problem of investigating alerts. You
know that previously when alert fires, it can
take for, I don't know, from one minute to infinite
amount of minutes, depend of the issue. And I
saw that we have AI and we can use it for investigating
these issues because AI is very good at finding
patterns and problems and digging deep into the
problems if you provide very good instructions
to it. So before, I built my own agent. My colleague
Stefan suggested me an existing tool called HolmesGPT.
It's an open source project. I tried it,
played for one week, but I didn't like it very
much. It has very huge onboarding, friction setup.
I had to configure environments, YAMLs, whatnot
for every investigation. So for every alert,
I had to set up. Like, I spent five or ten minutes
set up in my YAML. So it was tedious. So I decided
one weekend why I can't build my own agent. So
I just opened my Claude Code since I work in Claude
Code every day. And I just prompted. Let me find
my prompt. Create Claude Code skill for alert
investigation. And I also cloned the HolmesGPT
repo and told Claude to you can peek into
HolmesGPT repository for inspiration and it
did and it just built its own plugin with some
skills already but the first version was pretty
bad it just dumped everything into one skill
it was huge SKILL.md so I had to think how to
split it into multiple skills so the how it looked
like first version after refactoring I created
it there was investigation skill or the orchestrator
skill and under it there was expert skills for
example logs metrics traces CI/CD Kubernetes
whatnot so orchestrator skill decides which skill
or tool it needs to use for each investigation
and in this expert skills, there's instructions
which MCP tools it needs to use to investigate
alerts. How do you give Scooby information on
Pipedrive's infrastructure? Yep, great question.
So the problem of this off-shelf tool was GPT
didn't know about Pipedrive at all. So answers
were very generic and bad. It can solve very
simple problems like... why pod is in crash loop
for example but if something is beyond that it
crumbles. So I just teach Scooby how we have Slack
alerts channels and this is a basically a good
like teaching material there's a bunch of alerts
I just took alerts one by one fed it to Scooby
only description and so what it will do will
it success or not if it hit the wall or came
to the wrong conclusion I just gave it the correct
or actual resolution and asked Scooby how would
you like or how would you update your own instructions
so you will find the problem next time and doing
this and then I saw if it actually can solve
the issue now. If not, I just repeat the loop
until it finally makes it. And by doing the same
loop on different alerts, I don't know how many
tries I did with 20 or 30 alerts. I was more
or less happy about the state. Then I made Scooby
public and released to all engineers. Very cool.
You started with seven specialized skills and
then reached 17. How did you decide when a new
investigation domain deserves its own skill versus
putting it all in a single one? So, yes, correct.
When I released Scooby to the wild, developers
started using Scooby and they quickly saw that
Scooby can solve their issue in their domain.
For example, QA engineers using Allure and Scooby
didn't know how to use it. So QA engineer used
the same loop I did and teach how to use or
reach Allure and read the outputs of it. And
yes, and another engineers did same thing. Also,
after some time, support engineers and customer
support people found about Scooby and they built
their own skills under it because Scooby answers
were very technical and customer support didn't
know about our details their skill is dumping
or making the answers less technical for them.
How do you handle the actual skills files? Are
those versioned and reviewed and tested like
normal application code or is this handled differently?
Great question. Claude Code provides or supports
these plugins or marketplaces. Basically, you
can create your own marketplace. It's just GitHub
repository where you can create your own skills
and plugins, or plugins which bundles skills,
MCPs, whatnot. These Scooby is fully living in
this marketplace, basically just a plugin there. So
if developer wants to update instructions, he
or she just creates a PR which updates instructions.
Then I or someone else just reviews it and merges.
That makes sense. Okay, so we have Scooby set
up. We have all these skills. We have the different
domain knowledge. And walk me through what happens
from the moment an alert appears to the moment
that Scooby posts the investigation. Yep, the
first version of Scooby was just local. So you
can use Claude locally or remotely. So developers
kept asking me, can we get it to interact in
Slack somehow? Luckily, we had already some Slackbot
for different use cases. So I just implemented
a little feature inside it. So when developer
tags this internal Slackbot, it's called HAL,
and tags Scooby, it will just trigger remote
investigation. And second feature, developers
were using it for manually. When alert pops to
their Slack channel, they had to manually tag
HAL and use Scooby, and developers are lazy. They
wanted to automate it as well. So they asked
me, can we automate it somehow? So next feature
was automatic investigations based on additional
like trigger keywords or users. So for example,
there's a Scooby configuration in Slack where
you can select on which user it will start the
investigation. Usually it's some, I don't remember,
alert manager. And the keyword is like P1 or
P2, whatever developer decides. Also there's
an additional instructions box if developers
want to provide additional context for their
domain. So now... We have, I don't know, in most
P1 alert channels, Scooby is automatically triggered.
We don't want to allow it in P3 alerts, for example,
because they're too noisy and we don't want to
burn money. But there's a possibility to enable
Scooby in them as well. If they ask me, then
I will enable. So if alert pops in or drops into
P1 Slack alert channel, Scooby, the Slackbot
sees it triggers remote Scooby investigation
then this bot waits until this remote investigation
finishes and then fetches the final investigation
report and posts it into the same Slack thread
it usually average investigation time is like
five minutes that's awesome can you walk me through
an investigation where Scooby maybe found something
that the engineering team had to struggle with
to connect manually? Yes, I can provide some
examples. One example, it's not incident, but
just regular job. For example, one designer had
issue with Pipedrive landing page. The landing
page was, header was very cryptic. And she asked...
asked developers what's wrong with their landing
page. Then developers tagged Scooby, and Scooby
quickly realized that there's two problems. One
problem is that the front... How can I explain
it in an easy way? Basically, the problem was
in frontend. It was using local function for
CSS for fonts but this designer has some custom
font in her laptop, so it used her wrong font
for that. And Scooby quickly realized that and
actually provided the resolution that, please,
for developers, maybe you need to remove this
local function from CSS. And for a designer,
please check and delete your custom font. That's
awesome. Do you have any metrics around... how
much engineering time Scooby is saving or it's
hard to measure it's hard to quantify yeah it's
really depends of the incident no probably incidents
can take unknown amount of time it really depends
but the Scooby average investigation time is like
more or less five minutes it doesn't matter which
problem it is and costs like 1.6 dollars. Yes,
there's outliers. More complex problem can go
for 10 minutes, but there's outliers. Usually
it's like around five minutes. Okay, so it sounds
like it's helped with like the UI side and some
other incidents. So conversely, is there any
incident where maybe Scooby produced an investigation
that sounded convincing but was wrong? Or like
it didn't have the context, so it may be hallucinated
to a degree? Yes, problem of Scooby, it's not
100% correct since it's LLM it's prone to these
whole problems it can hallucinate and it will
still sound very convincing doesn't matter is
it wrong or not and it's hard to measure the
quality of the output and developers need to
verify it actually and I hope they don't blindly
trust Scooby and with I tried to implement some
features or not features possibility to track
the quality of Scooby responses, I added the thumbs
up, thumbs down buttons to Scooby investigations
and hope that developers will use it they they
don't use it they don't okay yes they they use
it very rarely and they don't report problems
but if they are reporting I checking what's wrong
and updating instructions but I have idea of
building another agent which will check the same
Scooby threads and will try to understand if
Scooby like output was correct or not based of
the conversation of developers after it so if
it sees that they're talking about Scooby is
wrong and talking about different topics this
agent will try to update skills itself. Have you
run into any issues where maybe the infrastructure
has changed, but the skills file still describes
the old environment? And how do you reconcile
that? What's the process for updating? Great
question. And actually, I don't remember if that
happened. I'm not actually very actively using
Scooby myself anymore. But I don't know about
developers. But yes, there's a problem that the
infrastructure may shift and Scooby still has
all the instructions how to investigate stuff
but I think our instructions are very generic
enough so it's not so prone to this but we had
another service which is responsible for like
creating huge or how can I say, service which
collects information about all Pipedrive services,
infrastructures, and architecture decisions.
And Scooby actually checks this service or instructions
first before it jumps to investigation. So this
problem is solved before actually Scooby fires.
Okay, so interesting. So we have Scooby working.
We keep the skills updated, keep them generic
enough so there's not too much drift between
real infrastructure and the skills. How do you
teach engineers to not blindly trust a confident
answer? What's the process for that? That's a
tough problem, right? I mean, every company has
this problem. Yes. I didn't teach them. When
I released Scooby, there was a big disclaimer.
Please don't blindly trust it. It's not a silver
bullet. Be mindful and smart. I see, I'm checking
these Scooby threads and developers are smart
enough to understand if Scooby is [muted] or not.
Of course, if some non-engineering person is
triggering Scooby and they don't know about the
domain specifics, then yes, they will not understand
if Scooby is wrong or not. But if the engineer
knows about their own topic, they know when Scooby
is wrong, hopefully. Who owns the decision to
act from a Scooby incident notification? So usually
it's the person who triggered Scooby. Or in case
of automatic investigation, that's an on-call
person. And then if Scooby were to make things
worse, who owns that incident? Is that the on
-call person as well? Or is that a follow-up?
I'm just curious. Luckily, Scooby can't. modify
state of infrastructure it only has read-only
permissions so it can't break things but it can
like yes if it provides wrong or bad like summary
then it developer will lose time investigating
or chasing the red herring but still they can
do same stuff even without Scooby what are the
security boundaries that exist for Scooby It
sounds like it's read-only, but what kind of
access does it have? And how do you get that?
What kind of trust policies does it have? Yes.
So, for example, we have Kubernetes skill, which
instructs how to use kubectl. But then it can
use kubectl, but only for read-only things.
You can specify which tools it can use in skill.
preamble but in remote runs there's no kubectl
so Scooby just sees there's no kubectl and drops
it but for other stuff for MCPs we have internal
MCP in Pipedrive which collects all possible
MCPs into one place and there's MCP tool not
not tool a group called Scooby It has all possible
tools like Grafana, Confluence, Slack, whatnot,
Jira. And it only has read-only tools. But of
course, developer can, if they have another MCP,
which write access, then they can ignore this
thing. But I hope that developers are checking
what Claude is doing in their machine. I'm not
responsible for that. How do you handle sensitive,
from like logs or Slack or Confluence or source
code? Great question. For P-I, oh, it's called
P-I-I? P-I-I, yeah. Yeah, P-I-I. Luckily,
we are using custom, not custom, log. I don't
remember which log library we are using and it's
filtering everything by default. And it's redacted
out of logs Scooby can see like Scooby will
see it's redacted and it will like report it
in you know it it's in output that logs are redacted
please check them yourself in separate back office
where these logs are not redacted but yeah luckily
in Pipedrive we have very standardized stack
75 percent are using same framework same libraries
and they're working in the same way. That's also
one of the reasons why Scooby is so good. And
I didn't have to write a lot of instructions
for every possible framework. That's cool. Okay,
so the article reports more than 1,200 HAL investigations
in the first two months, an average investigation
time of five minutes, and a cost of around $1.60
per investigation. What do those numbers
look like now? Yep. I just opened Grafana. Yeah,
by the way, I'm logging everything to Grafana.
And right now it's almost 6.5K investigations.
And average duration is still five minutes. And
average cost is still one point. Actually, it's
less now. It's 1.4. But because a lot of automatic
investigations probably where you don't need
to investigate much at average drop because of
that yes have you measured changes in MTTD or
MTTR escalation volume time spent pulling engineers
away from planned work or that sort of thing
honest answer I don't know SRE is responsible
for that maybe they have number I only can talk
about this five minute average investigation
time but probably it helped because SRE like
made a... After two months SRE made Slack announcement,
please use Scooby for your first place to check
what's wrong with your services. So I hope it's
helping. Probably it is. Are you building or
planning to build like a ground truth incident
set or another repeatable evaluation system like
to verify? Almost like training incidents to
validate the output of Scooby? Yes. Like I said
before, it's hard to measure quality of the answers.
I have idea to build another agent which will
check past Slack or incidents or threads and
hopefully it will see problems or wrong investigations
so it will fix them. But we don't have any evals
right now. So it's very painful if Claude is
updating their CLI. something happens in system
prompt and we don't see it but the behavior of
Scooby totally different so it's constant like
gamble when I update Claude CLI what will break
today and hopefully nothing but yeah there was
multiple issues where I updated Claude and behavior
Scooby changed so I had to quickly find the problem
and fix it yeah Okay, so assuming that you do
fix those, the skills get better, do you eventually
see the skills becoming a better form of operational
documentation than the traditional runbooks?
And how do you reconcile those two, like Confluence
and the skills that you have in GitHub? Does
one become obsolete at a certain point? Mm-hmm.
Honestly, yes, every on-call team every team
had their own runbook or instructions for on
-call persons. And I instructed Scooby to actually
try to find them when it will start investigating.
But I honestly don't know. In my team, we are
not very actively using or updating runbooks
anymore. I think they are becoming obsolete now.
Plus we have this The service I mentioned earlier,
which collects information about Pipedrive services,
it's also generating its own playbooks when it
scans repositories. So I don't know. Probably
they will be obsolete soon. Yeah. The reason
I asked is I see that across organizations where
they're putting SOPs or pre-prompts, skills
into GitHub that an agent can read. And then
the Confluence... documentation becomes outdated
and not really needed because the skills or the
prompts or the instructions closer to the code
seems to make more sense for an agent anyway,
especially if you're dealing with a monorepo
where it could just slurp it all up. If someone
listening wanted to build something close to
Scooby, what foundations do you think need to
exist before that company should attempt to solve
something similar to Scooby? Yes, very good question,
like always. So the why Scooby is good in Pipedrive
is because Pipedrive has like standardized architecture.
Most of the services are using very same, basically
Fastify framework or for backend we are using
Fastify. And for frontend, we are using React.
And they are pretty much the same. Every service
is pretty much unified. Also, we have very transparent
logs. So, I mean, we are using Grafana and we
don't like... Every developer can see basically
everything. Logs of... other team services, so
we don't need to break glass for investigation
analysis. I know that when I gave talk about
Scooby during one meetup, developers asked me
or told me that it's not possible to use or build
alone Scooby in their company. Because these
logs are not transparent, they need to request
access, so then Scooby will be just blind in
that case. So you need to fix logging or standardize
your services more. Probably you need to create
your own internal MCP or unify all possible MCPs
into one place. So you don't need to connect
like five or six MCPs to this one plugin and
all to every of them. It's very fragile. What
else? I don't remember anything. That's fair.
That's a good list to start with, for sure. Okay,
so let's say it was a smaller DevOps or SRE team
that wanted to build this. Is there a minimum
useful version of the idea that maybe is easier
to get started with? Actually, you can start
with this HolmesGPT. Maybe it will work for
you. You can start with it and see work fine
maybe I had just skill issue and you can connect
your own MCPs to it and write your own instructions
I was just guy who engineer who wanted to build
my own tool for that and maybe there are already
existing tools in the market but don't be afraid
to experiment if these off-the-shelf tools don't work
just use Claude, build your own, yeah. So, okay,
wrapping up, if you were to rebuild Scooby today,
what would you do differently, if anything? Right
now, for Slack integration, we are using existing
Slack bot we had, but Scooby is too big for it
now. It's really hard to implement new features
without affecting its different tools. So if
I need, I have idea to actually make separate
bot for it. I didn't have time. It will make
things more easier. What else? Second thing,
I added Scooby as a plugin in our Pipedrive Claude
Marketplace. Probably it makes sense to create
separate repository for Scooby as well. So it
will be easier to create tests for it or evals,
whatnot, without breaking other plugins or things.
What else? Actually, I don't know anymore. Scooby
was very good in the beginning, luckily, somehow.
That's awesome. It sounds like you gave a good
framing so it was able to build what was needed
for the organization. I did actually have one
more question. Is there anything that Scooby
maybe taught you with your thumbs up, thumbs
down feature investigating the log output from
Scooby? Is there anything that it's taught you
about how humans troubleshoot production? No.
I'm just telling Claude, check the thread and
do differently. Sorry. I'm trying to... Well,
usually we have a lot of teams. I don't know
about everything and the domain of another teams.
So it's very hard to evaluate the quality of
the response. So I'm just praying to Claude that
it will understand. Or if something is totally
unclear, I will just reach the developer and
ask questions. Yes. That makes sense. Okay, any
closing thoughts you'd like to leave our audience
with? Don't be afraid to experiment. It's easier
than you think. Just start from somewhere and
the snowball will get rolling. And after... experimentation
we realized that that wow it's not that hard
it's actually very easy to do such things but
Yep, that's awesome. Where can people, uh, find out
more about Pipedrive, yourself, uh, your implementation
of Scooby? So you can find me in LinkedIn, feel
free to connect and you can read about Scooby
in the Medium you can also find this link for
Medium article under my LinkedIn. Yep, that's it.
And I'll have links to everything we talked about
today in the show notes as well. Aleksandr, thank
you so much for coming on. Really appreciate
your time. Thank you. That was my conversation
with Aleksandr Smirnov from Pipedrive. You can
find Aleksandr on LinkedIn and his Medium write-
up on Scooby through the links in the show notes.
Follow or subscribe to Ship It Weekly wherever
you listen and find previous episodes at shipitweekly.fm.
One more thing. Ship It Weekly is a DevOps
Dozen finalist for Best DevOps Community Program
or Event, and I'm up for Enterprise DevOps Champion
of the Year. Voting's open through December 31st,
and the link's in the show notes. We recorded
this in July, so Scooby's numbers are from then.
About 6,500 investigations around 5 minutes
and $1.40 each. The biggest takeaway for me
is how Aleksandr taught it. He fed it real alerts
from Slack, one at a time. When it got one wrong,
he gave it the real resolution and asked it how
it would change its own instructions. 20 or 30
alerts later, it was ready for everyone. Second,
it's read-only by design. It can't change infrastructure.
So the worst it can do is send someone after
a red herring. Third, treat its answer as a hypothesis.
Every on-call engineer knows the first twenty minutes of an alert. Five dashboards, a log query from memory, a runbook somewhere in Confluence, and the question of whether this is even real. Aleksandr Smirnov got tired of that and built Scooby, a Claude Code plugin that does the dashboard-hopping for you. At Pipedrive it now starts on most P1 alerts by itself, often before the on-call engineer has finished reading them.
What I wanted to understand wasn't the model. It was how he got a generic agent to understand one company's infrastructure, and how he keeps people from trusting it too much.
A weekend, and a tool that didn't fit
Aleksandr started where a lot of us would. A colleague pointed him at HolmesGPT, the open-source investigation agent, and he gave it a week. The setup got in the way: "I had to configure environments, YAMLs, what not for every investigation." And it didn't know Pipedrive. It could work out why a pod was in a crash loop, "but if something is beyond that, it crumbles."
So one weekend he opened Claude Code, which he already worked in every day, and asked it for an alert-investigation skill. He cloned the HolmesGPT repo and told Claude it could look there for ideas. The first version "just dumped everything into one skill," so he split it: an orchestrator skill on top that decides where to look, and expert skills underneath for logs, metrics, CI/CD and Kubernetes, each saying which MCP tools to use.
Teaching, not writing playbooks
This is the part I keep coming back to. Pipedrive's Slack alert channels already held months of alerts and the threads where engineers worked out what went wrong. Aleksandr treated that as teaching material. He fed Scooby one solved alert at a time, only the description, and watched. When it hit a wall or reached the wrong conclusion, he "gave it the correct or actual resolution and asked Scooby how would you update your own instructions so you will find a problem next time." Then he ran it again, until it got there. Twenty or thirty alerts later, he released it to every engineer.
This is how we train people. You don't hand a new on-call engineer a decision tree for every alert. You walk them through real incidents until they know where to look. Turning that into instructions an agent follows, and letting the agent help write them, is a different way to build operational knowledge.
Skills, versioned like code
Seven skills at launch became seventeen, and many of the new ones weren't his. QA engineers taught it Allure with the same loop. Support engineers wrote a skill that makes its answers less technical for them. All of it lives as a plugin in an internal Claude Code marketplace, which is a GitHub repository, so a change is a pull request: "If the developer wants to update the instructions, he or she just creates a PR."
Then came the ask every internal tool gets: can we have it in Slack? Pipedrive already had an internal Slack bot, HAL, so Scooby went in there. You can tag it, or a team can set it to start on its own when a given sender posts or a keyword like P1 shows up. It stays out of the noisy P3 channels, because "we don't want to burn money." The bot runs the investigation remotely and posts the report in the alert's thread, usually in about five minutes.
Convincing, and still wrong
Aleksandr was direct about the limits. "It can hallucinate and it will still sound very convincing. Doesn't matter if it's wrong or not." He added thumbs-up and thumbs-down buttons to measure quality. Engineers barely use them.
His answer isn't a clever guardrail. It's framing. When he released it, there was a disclaimer: "Please don't blindly trust it. It's not silver bullet." Engineers who know their own systems can tell when Scooby is off. Someone outside engineering who triggers it may not.
That's the right default, and it doesn't get said enough. An investigation agent's output is a hypothesis. It tells you where to look first. The engineer still owns the call.
Read-only by design
The choice that makes this safe enough: "Luckily, Scooby can't modify the state of infrastructure. It only has read-only permissions." The Kubernetes skill limits kubectl to read-only commands, and in remote runs there's no kubectl at all. Everything else goes through Pipedrive's internal MCP server, which gathers the company's tools in one place, with a Scooby group that exposes only read-only tools: Grafana, Confluence, Jira and the rest. So the worst a bad answer costs is time chasing a red herring.
PII is handled before Scooby sees it. Pipedrive's logging library redacts it by default, and when Scooby hits redacted logs, it says so and points you to the back office where they aren't redacted.
The numbers, and the gamble
When we recorded in July, Aleksandr pulled up Grafana on the call: almost 6,500 investigations, still about five minutes each, and the average cost down from around $1.60 to $1.40, partly because automatic runs on simpler alerts pull it down. He couldn't speak to MTTD or MTTR. SRE owns those, and he said so. What he could say is that two months in, SRE told everyone to use Scooby as the first place to check what's wrong with their services.
There's no eval suite yet, and that hurts. "It's constant gamble when I update Claude CLI, what will break today." A change in the CLI's system prompt can change how Scooby behaves, and nobody sees it until it does. His idea is another agent that reads Scooby's threads afterwards, works out from the engineers' follow-up when it was wrong, and updates the skills.
If you build on an agent harness you don't control, the eval set isn't optional. It's how you find out an update changed something before your on-call engineer does.
Do skills replace runbooks?
I asked whether skills end up being better operational documentation than the runbooks in Confluence. His team barely updates its runbooks now, Scooby reads the ones it finds anyway, and Pipedrive has a service that scans repositories and writes its own playbooks. "I think they are becoming obsolete now."
I see the same thing elsewhere. Instructions that live next to the code, where an agent reads them, stay current. The wiki page drifts.
Before you build your own
Aleksandr's answer to "could we do this?" was about foundations, not models. Scooby works at Pipedrive because the services are standardized, most backends on Fastify and front ends on React, and because the logs are open: "Every developer can see basically everything," so nobody has to break glass to investigate. At a meetup, engineers told him it couldn't work at their companies, because their logs need an access request and Scooby would be blind. And put your tools in one place: one internal MCP rather than five or six wired into one plugin, which is "very fragile."
For a smaller team, his advice is to start with HolmesGPT, connect your own MCPs and write your own instructions. If the off-the-shelf tools don't fit, build your own. "Don't be afraid to experiment. It's easier than you think."
What stuck with me is how unglamorous the recipe is. Alerts you've already solved, a tight read-only boundary, logs everyone can read, and engineers who treat the answer as a starting point. That isn't an AI strategy. It's good operations, with an agent on top.
Notes
Show Notes
This is a guest conversation episode of Ship It Weekly, separate from the weekly news recaps.
In this Ship It Conversations episode, I talk with Aleksandr Smirnov, AI Platform Engineer at Pipedrive, who built Scooby: a Claude Code plugin that investigates alerts. In Pipedrive's Slack it can start on an alert before the on-call engineer has finished reading it, and it posts a root-cause hypothesis back in the thread, usually in about five minutes.
Aleksandr explains why he built his own after trying HolmesGPT, and how he taught it Pipedrive's infrastructure: feed it a solved alert from the Slack channels, give it the real resolution when it gets one wrong, and ask Claude how it would rewrite its own instructions. Twenty or thirty alerts later, it was ready for every engineer. We get into the orchestrator skill and the expert skills under it (seven at launch, seventeen now, with QA and support writing their own), skills reviewed through pull requests like code, and how an alert becomes a Slack thread through Pipedrive's internal bot.
Then the hard parts: an answer that sounds convincing and is wrong, why Scooby is read-only by design, PII in logs, and what can change every time the Claude CLI updates. About 6,500 investigations later, at around five minutes and $1.40 each, his advice is to fix the foundations first: standard services, logs every engineer can read, and one place for your tools.
Ship It Weekly is a 2026 DevOps Dozen finalist for Best DevOps Community Program or Event, and I'm one for Enterprise DevOps Champion of the Year. Voting is open through December 31.
Highlights
Why he built Scooby instead of using HolmesGPT
Teaching it with real alerts from Slack
From 7 skills to 17, reviewed like code
From alert to Slack thread in about five minutes
A real investigation: the custom font
Convincing, but wrong: the answer is a hypothesis
Read-only by design
Sensitive data and PII in logs
6,500 investigations later, and the Claude CLI gamble
Aleksandr Smirnov is an AI Platform Engineer at Pipedrive and the creator of Scooby, a Claude Code plugin that investigates production alerts and posts its findings back in Slack. He wrote about building it, and about teaching it with alerts the company had already solved, in "Scooby: How I Taught an AI to Be Our On-Call Engineer" on Pipedrive's R&D blog.
Assistant producerOn-site help at live recordings, and feedback on episodes.
Kayla TellerBrian's wife and biggest champion. She helped on site at DC State of the Stack and AWS DMV Community Day, and gives notes as episodes play at home. By day, a Realtor® with Coldwell Banker.
MusicIntro, outro, music beds and transitions, composed for the show.
Omar ChakorMusic producer and film composer, based between Morocco and Belgium.
Intro & outro videoThe animated intro and outro videos.
AkiraA technophile from Indonesia who also live-streams games on Twitch, YouTube and Facebook.
Transition videoThe animated stingers between segments.
Kong VectorA creative team from Java, Indonesia, with more than 10 years in the industry and 50,000+ streamers and YouTubers helped worldwide.
Hosted by
Brian Teller
25 years in production: DevOps, SRE, platform, and cloud. Host of Kube Signals on KubeFM. Grafana Champion; Confluent Community Catalyst; IBM Influencer 2026; DevOps Institute & ITIL Ambassador. 2026 DevOps Dozen finalist, Enterprise DevOps Champion of the Year.
Every on-call engineer knows the first twenty minutes of an alert. Five dashboards, a log query from memory, a runbook somewhere in Confluence, and the question of whether this is even real. Aleksandr Smirnov got tired of that and built Scooby, a Claude Code plugin that does the dashboard-hopping for you. At Pipedrive it now starts on most P1 alerts by itself, often before the on-call engineer has finished reading them.
What I wanted to understand wasn't the model. It was how he got a generic agent to understand one company's infrastructure, and how he keeps people from trusting it too much.
A weekend, and a tool that didn't fit
Aleksandr started where a lot of us would. A colleague pointed him at HolmesGPT, the open-source investigation agent, and he gave it a week. The setup got in the way: "I had to configure environments, YAMLs, what not for every investigation." And it didn't know Pipedrive. It could work out why a pod was in a crash loop, "but if something is beyond that, it crumbles."
So one weekend he opened Claude Code, which he already worked in every day, and asked it for an alert-investigation skill. He cloned the HolmesGPT repo and told Claude it could look there for ideas. The first version "just dumped everything into one skill," so he split it: an orchestrator skill on top that decides where to look, and expert skills underneath for logs, metrics, CI/CD and Kubernetes, each saying which MCP tools to use.
Teaching, not writing playbooks
This is the part I keep coming back to. Pipedrive's Slack alert channels already held months of alerts and the threads where engineers worked out what went wrong. Aleksandr treated that as teaching material. He fed Scooby one solved alert at a time, only the description, and watched. When it hit a wall or reached the wrong conclusion, he "gave it the correct or actual resolution and asked Scooby how would you update your own instructions so you will find a problem next time." Then he ran it again, until it got there. Twenty or thirty alerts later, he released it to every engineer.
This is how we train people. You don't hand a new on-call engineer a decision tree for every alert. You walk them through real incidents until they know where to look. Turning that into instructions an agent follows, and letting the agent help write them, is a different way to build operational knowledge.
Skills, versioned like code
Seven skills at launch became seventeen, and many of the new ones weren't his. QA engineers taught it Allure with the same loop. Support engineers wrote a skill that makes its answers less technical for them. All of it lives as a plugin in an internal Claude Code marketplace, which is a GitHub repository, so a change is a pull request: "If the developer wants to update the instructions, he or she just creates a PR."
Then came the ask every internal tool gets: can we have it in Slack? Pipedrive already had an internal Slack bot, HAL, so Scooby went in there. You can tag it, or a team can set it to start on its own when a given sender posts or a keyword like P1 shows up. It stays out of the noisy P3 channels, because "we don't want to burn money." The bot runs the investigation remotely and posts the report in the alert's thread, usually in about five minutes.
Convincing, and still wrong
Aleksandr was direct about the limits. "It can hallucinate and it will still sound very convincing. Doesn't matter if it's wrong or not." He added thumbs-up and thumbs-down buttons to measure quality. Engineers barely use them.
His answer isn't a clever guardrail. It's framing. When he released it, there was a disclaimer: "Please don't blindly trust it. It's not silver bullet." Engineers who know their own systems can tell when Scooby is off. Someone outside engineering who triggers it may not.
That's the right default, and it doesn't get said enough. An investigation agent's output is a hypothesis. It tells you where to look first. The engineer still owns the call.
Read-only by design
The choice that makes this safe enough: "Luckily, Scooby can't modify the state of infrastructure. It only has read-only permissions." The Kubernetes skill limits kubectl to read-only commands, and in remote runs there's no kubectl at all. Everything else goes through Pipedrive's internal MCP server, which gathers the company's tools in one place, with a Scooby group that exposes only read-only tools: Grafana, Confluence, Jira and the rest. So the worst a bad answer costs is time chasing a red herring.
PII is handled before Scooby sees it. Pipedrive's logging library redacts it by default, and when Scooby hits redacted logs, it says so and points you to the back office where they aren't redacted.
The numbers, and the gamble
When we recorded in July, Aleksandr pulled up Grafana on the call: almost 6,500 investigations, still about five minutes each, and the average cost down from around $1.60 to $1.40, partly because automatic runs on simpler alerts pull it down. He couldn't speak to MTTD or MTTR. SRE owns those, and he said so. What he could say is that two months in, SRE told everyone to use Scooby as the first place to check what's wrong with their services.
There's no eval suite yet, and that hurts. "It's constant gamble when I update Claude CLI, what will break today." A change in the CLI's system prompt can change how Scooby behaves, and nobody sees it until it does. His idea is another agent that reads Scooby's threads afterwards, works out from the engineers' follow-up when it was wrong, and updates the skills.
If you build on an agent harness you don't control, the eval set isn't optional. It's how you find out an update changed something before your on-call engineer does.
Do skills replace runbooks?
I asked whether skills end up being better operational documentation than the runbooks in Confluence. His team barely updates its runbooks now, Scooby reads the ones it finds anyway, and Pipedrive has a service that scans repositories and writes its own playbooks. "I think they are becoming obsolete now."
I see the same thing elsewhere. Instructions that live next to the code, where an agent reads them, stay current. The wiki page drifts.
Before you build your own
Aleksandr's answer to "could we do this?" was about foundations, not models. Scooby works at Pipedrive because the services are standardized, most backends on Fastify and front ends on React, and because the logs are open: "Every developer can see basically everything," so nobody has to break glass to investigate. At a meetup, engineers told him it couldn't work at their companies, because their logs need an access request and Scooby would be blind. And put your tools in one place: one internal MCP rather than five or six wired into one plugin, which is "very fragile."
For a smaller team, his advice is to start with HolmesGPT, connect your own MCPs and write your own instructions. If the off-the-shelf tools don't fit, build your own. "Don't be afraid to experiment. It's easier than you think."
What stuck with me is how unglamorous the recipe is. Alerts you've already solved, a tight read-only boundary, logs everyone can read, and engineers who treat the answer as a starting point. That isn't an AI strategy. It's good operations, with an agent on top.