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
- Create the on-call agent
- Load runbooks as a knowledge base
- Encode the incident flow as a skill
- Enable code execution for diagnostics
- 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.