Chat#
On the Chat screen, a list of dialogues is available. You can switch between the "General" and "Personal" tabs, create a "New Dialogue," select an existing dialogue from the list, or load more by clicking "Show more."
In the central area, the selected Chat opens:
- message history,
- Assistant's responses,
- tool call results,
- message input field.

Messages while the Agent is working#
In "Agent" mode, a text message can be sent while the Assistant is working on a task. Sending requires the Role permission "Chat → Create", viewing the queue requires "Chat → Read", editing requires "Chat → Update", and removing a message requires "Chat → Delete". The queue is available for responses executed within Sherpa AI Server.
To queue a task, enter text in the message field and press Enter or select "Add to queue"
on the right. Messages run one at a time in submission order after the current task completes successfully. Shift+Enter and Ctrl+Enter insert a new line.
Pending messages appear in a single floating "Message queue" block above the composer, over the Chat history, and remain after a page reload.

Chat screen, a single message queue above the composer (Russian interface)
To send a queued message to the current Agent immediately, select the third button, the upward arrow "Send now"
, to the right of its text, after edit and remove. The clarification is delivered between Agent steps. The current model or tool call continues. If the last step has already finished, the message becomes the next task. The button is unavailable for messages already being sent or paused, and after the Agent finishes working.

Chat screen, a message is being sent to the current Agent (Russian interface)
To remove a pending message, select the remove button
to the right of its text. A message already delivered to the Agent cannot be removed from the queue.
The stop button still cancels the current task. Cancellation, an error, or a moderation block pauses the remaining messages. To send one again, copy its text, remove it from the queue, and send it again.
The queue accepts text only: up to 20 pending messages, each containing up to 32,000 characters. Attachments can be sent normally after the current task finishes. Selecting a token in the composer does not change the running Agent's tools.

Message queue and composer on a narrow screen (Russian interface)
Editing a queued message#
To change a pending or paused message, select the edit button
to the right of its text. An editor with the current content opens in the "Message queue" block.
The editor contains this field:
- "Queued message text" field* — the text to pass to the Agent. Enter a non-empty message containing up to 32,000 characters.
Select "Save" to apply the changes. "Cancel" closes the editor without saving. The message keeps its queue position. Editing a paused message does not resume delivery.
Example: enter "Compare deadlines and costs" in "Queued message text", then select "Save".

Chat screen: editing a queued message, Russian interface
After saving, the new text appears in the "Message queue" block and remains after a page reload.

Chat screen: saved queued message, Russian interface
On a narrow screen, the editor and its buttons appear above the pending message list.

Chat screen: editing on a narrow screen, Russian interface
If the Agent has already taken the message or it has been removed, changes cannot be saved. The text stays in the editor so it can be copied. Select "Cancel" to close the editor.
Chat list updates#
Access to the Chat section is required to view the list. Available general and personal Chats are ordered by their latest message. When a User sends a message or the Assistant saves a reply, that Chat moves up the list without a page reload.
While the Assistant prepares a reply, a waiting icon spins next to the Chat name. It remains visible when another Chat is open. The icon disappears when the reply finishes, fails, or is canceled.
The Assistant is preparing a reply in another Chat. Interface in Russian.
When a reply is saved in another Chat, a blue dot appears next to its name. To read the reply, the Chat must be selected in the list. The dot disappears when the Chat opens. If a reply arrives in the open Chat while the browser tab is inactive, the dot disappears when you return to the tab.
A new Assistant reply is available in another Chat. Interface in Russian.
The new reply marker exists only in the current open page. It does not persist after a reload or on another device. After the connection is restored, the list and waiting icons synchronize with the server.
Send a quick reply#
If an Assistant message includes a suggested reply button, click that button to send the reply. The message appears in the current chat. After switching to another chat, the quick reply is sent to the chat that is currently open. Alternatively, you can type your own message in the input field.
Suggested reply button and the sent message in the current chat (Russian interface)
Processing and Scrolling#
If the Assistant uses tools, calls, results, and intermediate steps are collected in the "Processing" block. The block header can be clicked to expand or collapse the steps. During execution, the current step appears next to the header. After completion, the header shows the number of tool calls, and the Assistant's final response remains separate from the tool history.
Each step has a short, plain-language label in the interface language: Russian or English. For example:
- "Searching the knowledge base" — searching documents;
- "Reading a file" — reading a file from the Chat;
- "Running calculations" — processing data in an isolated environment;
- "Preparing the answer" — preparing the final response.
If the Assistant uses a connected external tool without a predefined label, the step is labeled "Performing an action". Tool names, identifiers, and request data are not shown in step labels.
If a tool reports an error, an explanation appears below the corresponding step: "The step could not be completed. Try rephrasing your request or try again." This explanation appears when a tool returns an error or a calculation fails. Internal error details are not shown in the label. They can be found in the result technical details when needed. Copy and text download buttons are unavailable for tool call messages and their results. The error message refers to a specific step. The Assistant's final response may appear separately.

Expanded "Processing" block with step labels and an error message. Interface in Russian.
Technical details can be viewed by clicking the relevant step in the "Processing" block. The expanded step shows "Step technical details" (call parameters) and "Result technical details" if a result has already been received. Steps are collapsed by default. These details help specialists diagnose issues. Regular Users do not need to open them.

Expanded "Reading a file" step with call parameters and a failed result. Interface in Russian.
When a long response is scrolled up, the Chat does not force the view back to the latest messages. The "Scroll down" button with an arrow at the bottom of the message area returns the view to them.
Chat Artifacts#
The "Artifacts" panel on the right shows files created or available in the current chat session in every chat mode. It is hidden by default. The panel can be opened by clicking the three-dot button in the top-right corner of the Chat area and selecting "Open artifacts". The same menu item is used on narrow screens. The panel can be hidden by clicking
in its top-right corner. The file list refreshes after a run finishes. If a file appears later, the panel can be refreshed.
To open a file attached to a Chat message, click its name or the link in the message. The file opens in a new browser tab. PDFs, images, and text appear without downloading when the browser supports their format. For other formats, the browser may offer to save the file. If the new tab does not appear, allow pop-ups for the site and try again.

Attached file in a Chat message (Russian interface)

File opened in a new browser tab
Model request error#
If a model request fails, the chat shows one error message with a "Retry" button. The "Retry" button can be clicked to retry the request in the same chat. The error remains in history after a page reload or after switching chats. If retrying does not help, the administrator needs the time of the error and the selected model.
Messages about the Agent step limit, repeated Python failures, Python calls without executable code, sandbox unavailability, and interpreter file errors appear in the interface language. If the Agent reaches the step limit, refine the request or ask an administrator to increase the limit. After repeated Python errors, check the request and try again.
If Python execution stops because of a time or resource limit, simplify the calculation and retry the request. If the sandbox is unavailable, try again later or contact an administrator. If a file is missing or is not a text file, check its name and type. Program output, tracebacks, and Python exception messages remain untranslated.
"Search" Field#
The "Search" field is located in the left panel of the "Chat" section above the "General" / "Personal" switch.
.png)
It is used to search for dialogues in the Chat list. The user can enter a word, part of a title, or a phrase from the dialogue of interest to quickly find the desired Chat among the available records. The search helps avoid scrolling through the entire list manually, especially if there are many dialogues in history.
The field works in the context of the selected tab:
- if the "General" tab is selected, the search is performed across general Chats;
- if the "Personal" tab is selected, the search is performed across personal Chats.
The field displays a magnifying glass icon and a placeholder "Search," indicating that a search query should be entered here.
"General" and "Personal" Tabs#
On the Chat screen, dialogues are divided into two tabs: "General" and "Personal." This division helps separate Chats available to all Account Users from individual Chats of a specific User.
An administrator can hide the switch with hide_chat_scope_switch in branding.json. A User login then shows personal chats immediately, while an Account login shows shared chats. Search uses the displayed list. To restore manual switching, set the value to false and reload the page.
.png)
General chats are dialogues that are accessible to all Users within one Account. Such a Chat can be created by a User who has access to the Chat section. After creation, the general chat is displayed in the "General" tab for all Users of this Account.
General chats are convenient for collaboration: for example, if a dialogue contains information that may be useful to several Users, or if a common interaction scenario with the Model needs to be preserved.
Personal chats are dialogues that are accessible only to the User who created them. They are displayed in the "Personal" tab only after the User logs in and are not visible to other Account Users.
Personal chats are suitable for individual work: drafts, personal requests, testing formulations, or tasks that do not need to be shown to other Users.
Both types of Chats are created within one Account. The difference lies in visibility:
| Tab | Who sees the chat | Purpose |
|---|---|---|
| "General" | All Account Users | Collaboration and shared materials |
| "Personal" | Only the User who created the Chat | Individual User work |
Users of the same Account can see each other's general chats but cannot see others' personal chats.
New Dialogue#
After clicking the button
, the new Chat creation screen opens. In the central area, a welcome block "Ready to work!" is displayed with a prompt "Ask a question or choose a suggestion below."
The User can immediately enter a message in the "Message in chat…" field or select one of the ready-made suggestions:
| Suggestion | Purpose |
| Find information | Helps formulate a request for searching or obtaining information. |
| Check and improve text | Used for editing, checking, and improving text. |
| Write a business letter | Helps prepare the text of a business letter. |
| Formulate a response / letter | Used to prepare a response or letter based on the User's request. |
| Translate text | Helps translate text into another language. |
At the bottom of the screen, there is a message input area.
In the message input area, there is a dropdown list for selecting the working mode. It determines how the User's message will be processed.
The available options in the list are:
| Mode | Description |
| Full-text search | Used for searching information based on available data or documents. |
| Code interpreter | Allows performing tasks related to data analysis, calculations, or file processing using code. |
| Request | Used to send a regular request without selecting a specific Agent or dialogue. |
| Agent | Mode of operation with the selected Agent. The Agent can use available tools and perform actions based on the User's request. |
| Dialogue | Mode for continuing or creating a dialogue considering the context of communication. |
The selected mode is displayed at the bottom of the input field.
The "+" button in the message input area opens a dropdown list of additional actions.

The available options in the list are:
| Action | Description |
| Add folder | Allows selecting a Folder of objects, the materials of which will be used in the dialogue. |
| Prompt library | Opens a library of ready-made prompts for selection and insertion into the message. |
| Attach files | Allows adding files to the message for subsequent processing or analysis. |
You can also enter text, use voice input
, and send the message with the button
.
.png)
To transcribe audio in a chat, select "Attach files", add an audio file, enter a transcription request, and send the message. After the response appears, you can attach another audio file and send a new request in the same chat. The recognized text for each file appears after its corresponding message.
If an error message has a "Retry" button, select it after the connection is restored. The file is already attached to the request, so you do not need to attach it again.
Change the model in an open chat#
In a chat without an attached Assistant, the selected model appears in the upper right. Changing the model requires "Update" permission for chats and "Read" permission for models. The model cannot be changed while a reply is being generated.
To change the model, complete these steps:
Open a chat without an attached Assistant.
Click the current model name in the upper right of the chat. The list of available models opens. To narrow the list, you can enter part of a name in the "Search models" field.
Search for an available model (Russian interface)
Select the required model. Its name appears at the top of the chat. Earlier messages remain in the history, and subsequent replies use the selected model. The selection is retained when the chat is reopened.
Selected model and chat history (Russian interface)
If the model list is absent, contact an administrator to check the permissions. The screenshots show the Russian interface.
Settings#
When clicking the button with three dots next to the "+ New dialogue" item, a popup menu of actions opens.

After clicking the "Settings" item, the "Default chat settings" window opens. Here, parameters that will be used for new dialogues by default can be set.
| Interface Element | Description |
| "Model" field | The model that will be used to process messages in the Chat. |
| "Default chat mode" field | The mode of operation that will be selected by default in new dialogues, for example, "Agent". |
| "Use reranker for improved search" checkbox | Enables additional ranking of found results to enhance search relevance. |
| "Agent mode: access API via token" checkbox | Allows the Agent to use API access via token in "Agent mode". |
The "OK" button saves the settings. The "Cancel" button closes the window without saving.
Temperature, the system message, and streaming are configured for a Model on the Models screen. A new ordinary Chat saves these values. Later Model changes do not change an existing Chat. Selecting another Model in a Chat replaces its saved settings with those of the selected Model. Assistant settings retain priority in Chats linked to an Assistant.
Contextual Popup Menu#
After clicking on the three dots next to the selected dialogue, a contextual popup menu opens to the right of the Chats list.

The menu at the top shows the name of the selected Chat. Below are the actions:
- "Edit" — change the name or parameters of the Chat;
- "Reset chat" — clear/restart the current dialogue;
- "Copy chat GUID" — copy the unique identifier of the Chat;
- "Delete" — delete the selected Chat.
Agent Mode#
When "Agent" mode is selected, the Chat can:
- search for information in documents;
- read files;
- use connected MCP servers;
- access permitted API methods if an API token is configured for this.
The user does not need to manually select a tool. They describe the task in plain text, and the Agent determines which capabilities to use to accomplish it. The Agent operates only within the configured tools and access rights.
This mode initiates a chain of actions: the Model receives the task, selects the appropriate tool, invokes it, analyzes the result, and makes the next call if necessary. This continues until a final response is reached or the step limit is reached. In the code, the default limit is 10 iterations and can be configured via MCP_AGENT_MAX_ITERATIONS.
The Agent has access to:
- basic tools of Sherpa AI Server in an isolated environment, viewing Chat files, passing files to the interpreter, reading interpreter files, searching documents, image recognition;
- memory tools if the launch is from the User's GUI session;
- tools of connected MCP servers;
- internal API tools if
Agent mode: access API via tokenis enabled and an API token is selected/configured.
Agent Mode: Access API via Token#
"Agent mode" is a mode in which the Chat can use tools to solve from 1 to 999 tasks. The Agent performs the task not with a single response, but through a chain of steps: selecting the necessary tool, invoking it, analyzing the result, and proceeding to the next action if necessary.
If access to the API via token is enabled for "Agent mode," the Agent can:
- retrieve a list of available internal API methods
/api/v1; - view the description of the selected method;
- perform permitted API requests within the rights of the selected token.
Requests are executed by the server with the rights of the selected API token. The Agent does not receive the raw token and does not invoke arbitrary external URLs: access is limited to permitted API methods and token rights.