# Chat

The chat is where you work with the agent. Open it from `Apps > Lynx AI Agent for Splunk`, type a question, and the agent plans, runs searches against your data, and answers with what it found.

A new conversation offers a few suggested prompts - including a guided tour of the agent's capabilities - which you can click to get started.

## Sending a Prompt

Type into the prompt box and press <kbd class="key-enter">Enter</kbd> to send, or <kbd class="key-shift">Shift</kbd>\+<kbd class="key-enter">Enter</kbd> for a new line. You can keep typing while the agent is working; the message is sent once you press <kbd class="key-enter">Enter</kbd> again.

> [!TIP]
>
> Press <kbd class="key-control">Ctrl</kbd> together with the left or right <kbd class="key-shift">Shift</kbd> key to switch the prompt box between left-to-right and right-to-left writing.

Below the prompt box:

- **Model** - The AI model that answers. Models marked with a bulb run in reasoning ("thinking") mode. See [Model Performance](<https://docs.trylynx.ai/advanced/model-performance/index.md>) for choosing one. To start every new session with a model of your choice, set it in [Settings](<https://docs.trylynx.ai/usage/settings/index.md#model>).
- **Send / Stop** - The send button becomes a stop button while the agent works. Stopping ends the response and cancels any search the agent has running on the Search Head, so nothing keeps consuming resources after you stop.

The chat follows the response as it streams. Scroll up to read earlier parts of the conversation while the agent writes, and click the button to jump back to the latest message.

## Reading a Response

- **Thinking** - Reasoning models show a **Thinking** header while they reason, which settles into **Thought for *n* seconds**. Click it to read the reasoning.
- **Tool calls** - Each step the agent takes against Splunk is listed with the time it took. Click a step to see what it sent and what came back.
- **SPL blocks** - Every query carries **Copy** and **Open in Search**, which opens it in Splunk's Search app in a new tab. Queries containing a [risky command](<https://docs.trylynx.ai/usage/permissions/index.md#risky-commands>) cannot be opened.
- **Assumptions** - When the request leaves out where the data lives or what a term means, the agent looks it up instead of guessing. If its answer still rests on an assumption you didn't state - such as which index holds the data - it ends the response with a short note naming the assumption and how to correct it.
- **Dashboards** - A response containing dashboard XML, or in which the agent read one of your existing dashboards, gets a **Dashboard** action that opens the [preview](<https://docs.trylynx.ai/usage/dashboards/index.md>).

## Rating a Response

Use or under a response to rate it. A thumbs-down asks for a short reason, either from the list or in your own words.

Ratings are stored in the `feedback` KV Store collection on your own Search Head, alongside the chat and message they belong to. The prompt and the response themselves are not stored with the rating.

## Layout and Indicators

The 3-dot menu at the bottom of the chat sidebar switches between **Wide Layout** and **Compact Layout**, and reports the installed **Agent Version**. It also holds the export, import and compaction actions described in [Chat History](<https://docs.trylynx.ai/usage/chat-history/index.md>).

Next to it, the sidebar shows the [context window](<https://docs.trylynx.ai/usage/chat-history/index.md#context-window>) indicator and, when the backend reports a newer app version is available, an update icon. The update icon is not shown in [on-premises](<https://docs.trylynx.ai/advanced/on-premises/index.md>) deployments.
