Engineering
Find why an endpoint got slow
Ask Merlin in Slack why an endpoint got slower. You get when it started, the change that likely caused it and what to fix.
@Merlin from now on, when someone in #eng asks why an endpoint got slow, compare its latency in Datadog before and after and find when it started. Check the pull requests merged in acme/web around that time and the code on the endpoint's path, then reply in the thread with the likely cause and what to fix. Only read: don't change code, and say so if the data doesn't point to one change.
- Starts whenAn engineer asks
@Merlinin#engwhy an endpoint got slower Merlin worksClaude Code or Codex compares the endpoint's latency in Datadog before and after, then reads the pull requests merged around the change
- You getA reply in the thread with when it slowed down, the change that likely caused it and what to fix
Tools
- Slack
- Datadog
- GitHub
Capabilities
- Integrations
- Memory
- Your agent's MCP
How it works
From a slow endpoint to the change that likely caused it.
Mention
@Merlinin#engwith the endpoint that got slower. Teammates can add what they've noticed in the thread.Claude Code or Codex compares the endpoint's latency in Datadog before and after, finds when it started and reads the pull requests merged around then.
The reply says when it slowed down, the change that likely caused it and what to fix. Merlin only reads, and says so if the data doesn't point to one change.
Mention @Merlin in #eng with the endpoint that got slower. Teammates can add what they've noticed in the thread.
Claude Code or Codex compares the endpoint's latency in Datadog before and after, finds when it started and reads the pull requests merged around then.
The reply says when it slowed down, the change that likely caused it and what to fix. Merlin only reads, and says so if the data doesn't point to one change.
Acme
Channels
general
eng
product
support-eng
data
finance
it-help
legal
Direct messages
Merlin
Arjun
Mei
eng
24
Today
Arjun15:02
@Merlin GET /api/projects feels a lot slower this week. Can you find out why?
Message #eng
Before and after
A slowdown gets its cause in the thread where it was reported.
Without Merlin
Someone lines up dashboards against the deploy history, then reads pull requests until one explains the jump.
- 01See the report in #eng
- 02Open the endpoint's latency
- 03Find when p95 jumped
- 04Split it by workspace size
- 05List that day's merged pull requests
- 06Read the likely diffs
- 07Trace the endpoint's code path
- 08Count the queries per request
- 09Write up the cause and the fix
- 10Reply in the thread
With Merlin
One mention gets when it started, the likely change and the fix, while the asker keeps working.
@Merlinin#engAsked by the engineer in SlackCompares latency and reads the merges on Arjun's MacBookClaude Code with the Datadog MCP
- The likely change and the fix in the threadRead-only, no code changed
Setup
Add Merlin to #eng, then give the agent Datadog.
Set these up once and anyone in the channel can ask why an endpoint slowed down. Memory is optional.
- 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
- 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 03Add Datadog to your agentYour agent's MCPConnect the Datadog MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 04Install the GitHub appIntegrationsPick the repositories Merlin can access, so it can read and link the pull requests there. Pushes use the machine owner's own Git access.
- 05Keep your code on the machineRuntimeMerlin reads the code in a local project on the runtime, so keep the repository checked out there.
- 06Give Datadog read-only accessYour agent's MCP
Sign the Datadog MCP server in with a read-only role on the machine that runs this, so the run can read latency and traces but can't change monitors or dashboards.
- 07Turn on memoryOptionalMemoryMemory is off by default. When an owner or admin turns it on, every run gets the facts your team saves in public Slack channels. A private channel also keeps its own store for its members.
- 08Paste the setup promptGuidanceAn owner or admin sends the prompt below to @Merlin once, and it becomes workspace guidance for every future run.
Prompt
Tell Merlin how to look into a slow endpoint.
@Merlin from now on, when someone in #eng asks why an endpoint got slow, compare its latency in Datadog before and after and find when it started. Check the pull requests merged in acme/web around that time and the code on the endpoint's path, then reply in the thread with the likely cause and what to fix. Only read: don't change code, and say so if the data doesn't point to one change.
Once, when you paste it
- PromptYou paste the prompt to @Merlin
- GuidanceMerlin saves your rules as workspace guidance
Every time someone mentions Merlin in Slack
- IntegrationThe Slack app spots the mention
- RuntimeMerlin picks an available machine
- ContextThe run gathers context
- WorkClaude Code or Codex compares latency and reads the merges
- SteeringYour team steers the work in the thread
- ResultMerlin replies with the likely cause
Related use cases
More engineering tasks you can hand to Merlin.
- IntegrationsMemoryYour agent's MCP
Engineering
Find what changed since the last deploy
Ask Merlin in Slack what changed since the last deploy. You get the pull requests that went out, what each touched and which look risky.
@Merlinin#engWhat went out, risky changes flagged - IntegrationsMemoryYour agent's MCP
Engineering
Check production when someone asks if it's down
Ask Merlin in Slack when someone wonders if production is down. It checks error rates in Datadog, Vercel or Cloudflare and what merged last, then answers in the thread.
@Merlinin#eng-helpWhat it found, in the thread - AutomationsIntegrationsYour agent's MCP
Engineering
Investigate an alert when it fires
When incident.io raises an alert, Merlin checks the service in Datadog and Sentry and what merged recently. You get the likely cause in #oncall.
incident.io reports a new alertThe likely cause in#oncall
Bring your coding agents into the tools your team already uses.
Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.