> For the complete documentation index, see [llms.txt](https://support.incidentlake.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.incidentlake.com/incidents/agent.md). Agents can also search and read this documentation through its [MCP server](https://support.incidentlake.com/~gitbook/mcp).

# Incident Response Agent

What the Incident Response Agent does in Slack and Teams, how to turn it on, and how to try it on one incident with TEST\_CHAT\_AUTOMATION.

The **Incident Response Agent** is an AI agent that works alongside your responders, from the first triage until the incident is closed. It joins the incident thread in Slack or Teams, asks one question at a time, fills in the incident record with your confirmation, and investigates with the tools your organization has connected.

The agent proposes. A person decides. Nothing it suggests (severity, commander, tasks, drafts) is final until someone on the incident accepts it.

## When the agent joins

When the agent is turned on, it starts automatically when:

* someone declares an incident from a thread with `@Incident Lake go`
* someone chooses **Create Incident** on an incident candidate that Incident Lake detected in chat
* someone starts an incident from the Slack message menu with **Go Incident**
* someone adds the trigger emoji reaction in a channel set to **Emoji reaction mode**
* someone accepts an alert from a connected monitoring tool (Datadog, Sentry, Rollbar, Grafana, Zabbix, or Instana)

You do not need to mention it to get started.

### The agent works in its own thread

To keep the incident thread for your team's conversation, the agent opens a separate **agent thread** in the same channel and asks its questions there. The incident thread gets one short notice with a link to the agent thread. This works the same way in Slack and Teams.

* Answer the agent in the agent thread. Those replies are not copied into the incident's conversation log
* The agent still reads the incident thread. If someone asks it something there, it answers in the agent thread. In Slack it also mentions the person who asked

## What the agent can do

### Guide the response step by step

The agent first asks which language to continue in (Japanese or English) and checks whether the thread already gives enough context. Then it walks you through the same order the incident page uses:

1. **Commander** — suggests people who led similar incidents
2. **Severity** — proposes a level with the reason, and asks you to confirm before it is published
3. **Affected services** — pre-selects the services the incident most likely touches
4. **Notes** — records what you already know
5. **Summary** draft
6. **Timeline** draft
7. **Tasks** — suggests tasks from the summary and timeline, and who could take each one
8. **Similar incidents** — points to past incidents and how they were resolved

Answer with the buttons or by replying in the thread. Choose **Skip this step** to move on. Steps for features your organization turned off under **Settings → Project → Features** are not asked.

### Investigate

Along the way, the agent decides what else is worth doing for the incident. Depending on the situation, it can:

* **Triage**: write a short summary, suggest a severity with the reason, make a first guess at the affected scope, and list similar past incidents. This is most useful when the incident started from a monitoring alert
* **Analyze code** when a GitHub repository is connected and the alert includes a stack trace: it reads the referenced files so the likely cause is described at the source level
* **Investigate** by choosing which source to check next: past incidents in Incident Lake, your knowledge items, your CMDB services, and the tools you connected (GitHub, Datadog, Notion, Jira). When an Outlook service mailbox is connected, it can also search alert and vendor emails sent to that mailbox. When NetBox is connected, it can look up which device and port an alert is about, and what is on the other end of the cable
* **Plan recovery** from your runbooks and from how your team handled similar cases
* **Watch the recovery**: check that tasks are done and the alerts stay quiet. If the same error fires again while the incident is recovering, it flags the regression in the thread right away

The agent does not change the status or close the incident on its own. Responders decide that.

Every source the agent reads is read-only. It does not change anything in GitHub, Datadog, Notion, Jira, Outlook, or NetBox.

### Assess customer impact

On the incident page, open the **AI Agent** tab and record customer feedback (for example, “Three customers reported errors on the checkout screen”). The agent re-assesses customer impact and suggests urgency changes and a reply draft.

### Answer and act on requests in the thread

Once the steps are done, you can keep asking the agent in the same thread. For example:

* “draft the summary” — writes a status summary
* “draft the postmortem” — writes the report draft
* “move this incident to resolved” — changes the status
* “severity, please” — re-opens a step from the list above

It also answers questions about the incident. The agent does not reply to ordinary conversation between responders (“on it”, “thanks”). When someone posts an operational fact (“I rolled back v2.1”), it remembers it and replies with a short acknowledgement.

### Remind you when a question is unanswered

Before it nudges, the agent checks whether the question is already answered. If the commander, the severity, or the affected services were set on the incident page, or the thread already says so plainly, it records that answer, posts what it set and why, and moves on. It only accepts a severity the team stated. It does not estimate one from the impact.

Drafts are different. A summary, a timeline, or a set of tasks is always offered for a person to confirm. The reminder asks whether the draft looks right, instead of only repeating that it is still waiting. The agent never files a draft on its own.

If the question is still open, the agent nudges the thread every 15 minutes, up to 2 times. Each reminder repeats the question and what is still open. Administrators can turn these reminders off under **Settings → Project → Incident Automation**.

When you ask the agent something from the incident's main thread in Slack, the reply mentions you, so the confirmation is not left only in the agent's own thread.

### Back off when you ask

You can pause, narrow, or stop the agent from the thread or from the incident page. In Slack and Teams, choose **Stop the check-in** on a question or reminder:

| Choice                           | What happens                                                                                     |
| -------------------------------- | ------------------------------------------------------------------------------------------------ |
| **Just help once it's resolved** | Stops questions and reminders now, then offers a postmortem draft after the incident is resolved |
| **Only when I ask**              | Stops questions and reminders. The agent replies only when asked in the thread                   |
| **Stop all support**             | Ends the agent's support for this incident. `@Incident Lake` commands still work                 |
| **Resume the check-in**          | Questions and reminders pick back up                                                             |

See [Use Incident Lake from Slack](https://support.incidentlake.com/incidents/slack.md#control-agent-support-from-slack-or-the-incident-page) for where these controls appear.

### Review what the agent did

The **AI Agent** tab on the incident page shows each step the agent ran, the questions it asked, and the answers it received.

## Turn the agent on

An Administrator turns on **Incident Response Agent** under **Settings → Project → Incident Automation**. The same card shows whether GitHub and the Outlook mailbox are connected. Connect them under [Integrations](https://support.incidentlake.com/settings/integrations.md).

In Teams, a person's replies only steer the agent when their Teams account is linked to their Incident Lake member.

{% hint style="info" %}
While the agent is on, **Auto-set severity** is paused. The agent proposes a severity and asks a person to confirm it instead. See [Workflow](https://support.incidentlake.com/settings/workflow.md#incident-automation).
{% endhint %}

## Try the agent on one incident with TEST\_CHAT\_AUTOMATION

You can try the agent on a single incident without changing any settings. Post `TEST_CHAT_AUTOMATION` in a Slack thread, and the incident created from that thread runs the agent in full mode, even when:

* the **Incident Response Agent** switch is off, or
* Slack monitoring is in **Thread** mode (the default), not **Full channel monitoring**

{% tabs %}
{% tab title="Thread mode (default)" %}
{% stepper %}
{% step %}

## Post the phrase in a thread

In a channel where Incident Lake is invited, start a thread and post a message that contains `TEST_CHAT_AUTOMATION`. Add a few lines describing a sample problem so the agent has something to work with.
{% endstep %}

{% step %}

## Declare the incident

In the same thread, mention `@Incident Lake go`.
{% endstep %}

{% step %}

## Follow the agent

The agent joins the thread and starts by asking which language to continue in.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Full channel monitoring" %}
{% stepper %}
{% step %}

## Post the phrase in a monitored channel

In a channel selected for full channel monitoring, post a message that contains `TEST_CHAT_AUTOMATION`.
{% endstep %}

{% step %}

## Create the incident

Incident Lake replies right away with **This thread looks like an incident response**. Choose **Create Incident**.
{% endstep %}

{% step %}

## Follow the agent

The agent joins the thread and starts by asking which language to continue in.
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

When the agent joins, it adds: *TEST\_CHAT\_AUTOMATION was posted, so you can try the full agent mode on this incident (your workspace settings aren't changed).*

Keep in mind:

* The phrase must be in capital letters and stand on its own. `test_chat_automation`, `TEST_CHAT_AUTOMATIONS`, and `MY_TEST_CHAT_AUTOMATION` do not count. It can appear anywhere in the thread, including the first message
* Only that incident is affected. Your settings stay as they are, and other incidents keep the usual behavior
* **Auto-set severity** does not run on that incident. The agent proposes the severity instead
* The trial is available in Slack. Starting the incident with **Go Incident** from the message menu does not start a trial, and Microsoft Teams does not support the trial yet
* It creates a real incident and uses Incident Lake credits like any other agent run. When you finish, set the status to **Cancelled** or **False Positive**

{% hint style="info" %}
If you want the agent on every incident, ask an Administrator to turn on **Incident Response Agent**. You do not need full channel monitoring for that.
{% endhint %}
