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.
@Merlin whenever incident.io reports a new alert, post here what fired and which service it's about. Check that service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to acme/web in the last few hours. Give the likely cause with the evidence, or say you couldn't find one. Only read: don't acknowledge the alert or change anything.
- Starts whenincident.io sends the alert to Merlin's webhook as soon as it fires
Merlin worksClaude Code or Codex checks the service in Datadog and Sentry and the pull requests merged recently to acme/web
- You getA post in
#oncallwith what fired, the likely cause and the evidence
Tools
- incident.io
- Datadog
- Sentry
- GitHub
- Slack
Capabilities
- Automations
- Integrations
- Your agent's MCP
How it works
From a new incident.io alert to the likely cause in #oncall.
When an alert fires, incident.io sends
public_alert.alert_created_v1to Merlin's webhook and the automation starts a run.Claude Code or Codex reads the service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to
acme/webin the last few hours. It only reads.A new post in
#oncallnames what fired, the likely cause and the evidence, or says that no cause turned up.
When an alert fires, incident.io sends public_alert.alert_created_v1 to Merlin's webhook and the automation starts a run.
Claude Code or Codex reads the service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to acme/web in the last few hours. It only reads.
A new post in #oncall names what fired, the likely cause and the evidence, or says that no cause turned up.
Overview
Agents
Skills
Memory
Automations
Integrations
Settings
Investigate an alert when it fires
PauseDetailsRun history
Trigger
Where events come from, the event that starts a run, and the filters it must match.
Run
What Merlin does each time, where it runs, and where the result goes.
whenever incident.io reports a new alert, post here what fired and which service it's about. Check that service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to acme/web in the last few hours. Give the likely cause with the evidence, or say you couldn't find one. Only read: don't acknowledge the alert or change anything.
Before and after
On-call starts from a likely cause instead of a blank dashboard.
Without Merlin
Whoever is on call opens four tools and lines up the times before they know where to look.
- 01Open the alert
- 02Work out which service it's about
- 03Open the service dashboard
- 04Find when latency moved
- 05Filter for new errors
- 06List the recent merges
- 07Read the likeliest change
- 08Line up the times
- 09Post what you found in #oncall
With Merlin
The alert starts the digging, and on-call reads the evidence first.
- incident.io reports a new alertTo Merlin's incident.io webhook
Checks the service on Ravi's Mac miniDatadog, Sentry and recent merges, read-only
- The likely cause in
#oncallWith the evidence, nothing acknowledged
Setup
Send incident.io alerts to Merlin and give your agent Datadog.
Set these up once and every new alert gets a first look in #oncall. Sentry 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.
- 02Send incident.io events to MerlinWebhooksAdd Merlin's webhook in incident.io with its setup steps. Nothing starts until its first event arrives.
- 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.
- 04Keep Sentry on your agentOptionalYour agent's MCPIf your machine's agent already uses the Sentry MCP server, Merlin can use it here too. You don't need to set up anything in Merlin.
- 05Install 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.
- 06Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 07Keep a machine on around the clockRuntime
Alerts fire at any hour. Each run prefers a machine the creator owns, then their other machines or a public one, so keep one with Datadog connected awake, or share a machine that stays on.
- 08Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.
Prompt
Have Merlin look into every new alert with one prompt.
@Merlin whenever incident.io reports a new alert, post here what fired and which service it's about. Check that service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to acme/web in the last few hours. Give the likely cause with the evidence, or say you couldn't find one. Only read: don't acknowledge the alert or change anything.
Once, when you send it
- PromptYou send the prompt to @Merlin
- WebhookYou add Merlin's webhook in incident.io
- AutomationMerlin creates the automation
Every time the event arrives
- Eventincident.io sends the event
- RuntimeMerlin picks the creator's machine first
- ContextThe run gathers context
- WorkClaude Code or Codex checks Datadog, Sentry and recent merges
- ResultMerlin posts the likely cause in #oncall
- SteeringReplies in its thread follow up
Related use cases
More engineering tasks you can hand to Merlin.
- 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 - IntegrationsYour agent's MCP
Engineering
Draft the postmortem for an incident
Ask Merlin in the incident channel once it's over. It drafts the postmortem in Notion from the channel and the merged pull requests, with the timeline, cause and follow-ups.
@Merlinin the incident's channelA postmortem draft, linked in the channel - AutomationsIntegrationsYour agent's MCP
Engineering
Write the weekly on-call handoff
Every Monday, Merlin writes the on-call handoff in #oncall. You get last week's pages, the follow-ups still open and the alerts that keep coming back.
Every Monday at09:00The handoff 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.