Skip to Content
Docs are being rebuilt — start at Introduction → How it works.

On-call assistant

You’ll build a Slack agent that helps the on-call engineer during incidents — surfacing runbooks, running diagnostic snippets, and following a consistent response flow.

The plan

  1. Create the on-call agent
  2. Load runbooks as a knowledge base
  3. Encode the incident flow as a skill
  4. Enable code execution for diagnostics
  5. Connect Slack

Step 1 — Create the agent

Create an agent in Agents. In System instructions, define a calm, structured incident posture: assess, mitigate, communicate.

Step 2 — Add runbooks

Create a knowledge base of runbooks and architecture notes and attach it so the assistant pulls the right procedure fast.

Step 3 — Encode the flow

Put your incident response steps and severity rubric into a skill and attach it.

Step 4 — Enable diagnostics

Turn on workspace execution and code execution in the Capabilities tab so the agent can run safe diagnostic snippets.

Step 5 — Connect Slack

Add Slack as a channel so the assistant lives in your incident channel. See the Slack integration. Test from the builder preview.

Where to go next