How to Use
How to trigger the SRE AI Agent and get incident investigations in Slack.
Trigger the Agent
In any Slack channel where Pagerly is installed, mention the bot with the assist keyword:
@Pagerly assist <describe the issue>Examples
@Pagerly assist seems people are having issues with billing on dashboard
Queries GitHub for recent commits, checks Vercel deployments, searches logs for errors
@Pagerly assist API latency is high for payment service
Queries Datadog/Grafana metrics, checks K8s pod health, looks at recent deployments
@Pagerly assist kafka consumer lag is increasing on orders topic
Checks Confluent for consumer group status, queries Prometheus metrics, checks ArgoCD deploys
@Pagerly assist database connections are maxing out
Queries PostgreSQL for active connections, checks RDS metrics, looks at recent changes
What Happens Next
When you mention @Pagerly assist, the agent:
Acknowledges your request instantly in the thread
Creates an investigation plan β decides which data sources to query based on your description
Queries your connected tools β you'll see live updates like:
π Querying GitHub...
π Querying Vercel...
π Querying Datadog...
Produces a structured report β a root cause analysis with:
π Incident Report with a unique ID
π΄ Root Cause β what broke and why
π What Happened β timeline of events
π Evidence β links to commits, logs, dashboards
Mapping Data Sources to Teams
The SRE Agent is team-scoped β each on-call team gets its own set of connected data sources. This ensures the agent only queries what's relevant during an investigation.
How to Map
Go to SRE Agent Integrations in the Pagerly dashboard
Click Add Integration
Select the integration type (e.g., Datadog, Kubernetes, GitHub)
Enter the credentials (API key, URL, etc.)
Select the team this integration belongs to
Optionally, add a context prompt β this tells the agent how your team uses this tool



Context Prompts
When mapping a data source, you can provide a context prompt β a short description that helps the agent query more effectively.
Datadog
"Our services use service:api-gateway tag. Production env uses env:prod."
Kubernetes
"Production namespace is prod. Critical deployments: api, worker, web."
GitHub
"Main repos: org/api, org/frontend. Production branch is main."
Grafana
"Main dashboards are in the SRE folder. Key dashboards: api-latency, error-rates."
Tips for Best Results
Be specific β
@Pagerly assist API latency is high for payment-service in us-east-1is better than@Pagerly assist things are slowConnect multiple tools β The agent is most powerful when it can correlate signals across logs, metrics, traces, and code changes
Add context prompts β Tell the agent about your naming conventions, key services, and namespaces
Use in incident channels β Trigger the agent in your war room channel during active incidents
Last updated