Routes
/chat— opens the console without a selected session/chat/:sessionKey— opens directly to a specific session (e.g.,chat/web:default:abc-123)
Backing API
POST /api/chat— sends a new message; body is JSON{ message, agentId?, sessionKey? }GET /api/chat/history— loads message history for a session- SSE events on the dashboard’s event stream drive the streaming response (token-by-token append, tool call status updates, completion)
Bearer header (read from sessionStorage.comis_token).
What You See
The Chat Console is split into two main areas side by side.Session Sidebar
On the left, the session sidebar lists all of your conversations. Each session shows the session key, the agent and channel it belongs to, and the last time it was active. At the top of the sidebar you will find:- A New Session button (labelled “New”) that creates a fresh session for the agent currently selected in the message area
- A search bar (“Filter sessions…”) that filters the visible session list by session key, agent ID, or channel type as you type
Message Area
On the right, the message area shows the full conversation history for the selected session. Messages are displayed as bubbles with different styles depending on who sent them:- Your messages appear on the right side
- Agent responses appear on the left side with support for formatted text, lists, code blocks, and other rich content
- System messages appear centered with a distinct style
- Error messages are highlighted in red so they stand out
Tool Call Cards
When your agent uses tools behind the scenes — like searching the web, reading a file, or running a command — the Chat Console shows expandable cards in the conversation. Each card displays:- The tool name
- The input parameters the agent sent to the tool
- The output the tool returned
- Whether the tool call succeeded or encountered an error
Message Input
At the bottom of the screen, a text input lets you type messages to your agent. The input area automatically grows as you type longer messages.Starting a Conversation
Pick the agent you want to talk to
At the top of the message area, use the agent selector dropdown to choose which agent the next session will be created for.
Click New
Click the New button at the top of the session sidebar. A fresh session is created for the selected agent on the
web channel; its session key is auto-generated as web:<agent>:<uuid>. The new session is selected immediately.During a Conversation
Once you send a message, the agent starts working on a response. Here is what to expect:- Live streaming — The agent’s response appears word by word as it is generated, so you do not have to wait for the entire reply before you start reading.
- Formatted responses — Agent messages render with full formatting support including bold text, bullet lists, code blocks, and links.
- Tool activity — If the agent calls tools during its response, you will see tool call cards appear in the conversation stream. These show what the agent is doing behind the scenes.
- Errors — If something goes wrong during the response, an error message appears in red with details about what happened.
Attachments and Voice
The Chat Console supports file attachments and voice recordings alongside text messages:- File attachments — Click the attachment button to attach images, audio files, or documents to your message. You can attach up to 5 files at a time, each up to 10 MB.
- Voice recording — Use the microphone button to record a voice message up to 2 minutes long. The recording is sent to your agent for transcription and processing.
Related Pages
Sessions View
Browse all sessions with filtering, bulk actions, and detailed statistics.
Agents View
View and manage the agents you are chatting with.
