---
title: "Chat"
description: "Talk to an agent, attach files, branch a conversation and find old chats."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ragna.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat

Chat is where a user works with an agent. Answers stream in as the agent writes them. Every chat is saved in the workspace.

## Start a chat

- Open **Chat** in the sidebar and pick an agent. RAGNA Studio preselects the last agent used, or the first agent in the list. Send stays off until an agent is selected.
- Or choose **Chat** next to an agent in the **AI agents** list.
- Or choose an agent on the **Agents** card of the [dashboard](https://docs.ragna.io/getting-started/dashboard-and-navigation).

A chat always needs an agent. Without agents, the message box stays visible but send is off. The middle of the page shows "You need an agent to start a chat". **Create your own agent** opens the agent form. Below "or start from a template", each template has a card with a **Use** button. **Use** creates the agent from that template in one click and selects it. See [Agents](https://docs.ragna.io/agents).

A new chat opens with a greeting that matches the time of day, such as "Good evening, Sven", and the line "What can an agent take off your plate today?". It uses the user's first name when RAGNA Studio knows it. The message box is taller until the first message is sent. The agent picker sits at the right of the message box. In a chat that is already open, the agent can't be changed.

While a chat is open, the top bar shows the chat's title on the left and the agent with its model on the right.

The message box shows the [tools](https://docs.ragna.io/agents/tools) of the agent as small icons. Hover an icon to see the tool's name. Choose any icon to open the list of the agent's tools with a short description each. Tools are set on the agent, not per chat: **Edit in agent settings** opens the agent.

Type in the box (for example "Ask Invoice Assistant") and send. The answer streams in. While the agent is working, the send button becomes a stop button. It cancels the answer.

When the agent uses [tools](https://docs.ragna.io/agents/tools), a line such as "Used 3 tools" appears in the answer. Choose it to see each tool call with its status.

If an action needs approval, such as saving a file to Google Drive, the answer shows what will be saved. **Approve** saves it, **Deny** cancels it. Nothing is saved before approval.

> **Caution**
>
> AI generated. Responses may be incorrect. Verify important information.

## Attach files

Choose the plus button in the message box and then **Add files**, or drop files onto the chat. Images and documents can be attached.

| Kind      | Types                               |
| --------- | ----------------------------------- |
| Images    | PNG, JPG, JPEG, WEBP                |
| Documents | PDF, DOCX, PPTX, XLSX, CSV, TXT, MD |

Each file can be up to 10 MB. Files that are too large or of another type are rejected right away, with a message such as "report.zip isn't a supported file type." If an upload fails, use **Retry upload** or **Remove attachment**.

Images appear as thumbnails. The agent reads the text of documents. Very long documents are cut off at 50,000 characters. Attachments are stored in the [media library](https://docs.ragna.io/media/library).

## Copy a message

Hover an answer and choose **Copy text**. The buttons always show below the latest answer. Only the message text is copied.

## Branch a conversation

Branching copies a chat up to a message, so the user can try another direction without touching the original.

1. Hover the answer to branch from.
2. Choose **Branch from here**.

RAGNA Studio opens a new chat with every message up to and including that one. It is named after the original with "(branch)" added. The original stays as it was. In the history, a branch shows "Forked from" and the original title.

## Recent chats

A new chat shows the user's 5 most recently active chats in the workspace below the input. Each row shows the title, the agent and the time of the latest message. Choose a row to open the chat. Choose **All chats** to open the full chat history.

Choose the eye button (**Hide**) to collapse the list. RAGNA Studio remembers the choice in the browser until the user chooses **Show**. The list disappears once the first message is sent. It does not appear when the user has no chats or the workspace has no agents.

## Chat history

Open the history with **History** in the top bar. The list of **Chats** opens on the left of the chat. Chats are grouped into **Today**, **Yesterday**, **This week** and **Earlier**, and ordered by their latest message, so a chat moves to the top when a message is added. A rename does not change the order. The list shows "No chats yet" when the user has no chats.

Type in **Search chats** and press Enter, or choose the search icon, to open the search page with that text. **New chat** starts a chat, and **Hide chat list** closes the list.

To rename a chat, hover it and choose **Rename chat**. A title is required. The chat that is open is highlighted. To delete a chat, choose **All chats** below the recent chats on a new chat. In the chat list, open the actions menu of a chat and choose **Delete**.

## Search chats

Open **Search chats** from the search field in the chat list, or from the search field on the full chat history under **All chats**. Type at least 3 characters. Results update while typing.

Search looks at chat titles and message text. It matches parts of words, so "raph" finds "Raphaela". It ignores upper and lower case unless **Case sensitive** is on. Each result shows the chat with snippets of the matching text. Choose a result to open the chat. Use **Clear search** to start over.

Search covers the current workspace only.

Source: https://docs.ragna.io/agents/chat/index.mdx
