Skip to content
Skip to content

Chat

The Chat interface is your direct line to every deployed agent. Use it to test agent behavior, hold full conversations, and evaluate responses in real time — all from within the ClawHQ dashboard.

Streaming Responses

Chat uses real-time streaming to display agent responses as they are generated. Instead of waiting for the entire response to complete, you see tokens appear one by one, giving you immediate feedback on both the content and speed of the agent's reply.

Streaming provides two key benefits: it reduces the perceived wait time for long responses, and it lets you evaluate whether the agent is heading in the right direction early in the response. If the response is off-track, you can interrupt by sending a new message.

While the agent is generating a response, an animated typing indicator appears in the chat window. The indicator shows three pulsing dots, mirroring the familiar pattern used in messaging applications. This visual cue confirms that the agent is actively processing your message.

Conversation History

All conversations are automatically persisted and survive page refreshes, browser restarts, and session changes. Your full conversation history is available in the sidebar, organized by date with the most recent conversations at the top.

You can search through past conversations using the search bar in the sidebar. Search matches against message content, so you can find specific exchanges by searching for keywords that appeared in either your messages or the agent's responses.

Clicking on a past conversation loads it into the main chat view, where you can continue the conversation from where you left off or simply review the exchange.

Tip

Use conversation history to track how your agents handle different types of queries over time. This is especially useful when evaluating the impact of model switches or agent configuration changes.

Agent Selector Sidebar

The left sidebar lists all deployed agents on your VPS. Each entry shows the agent's name and a colored status dot indicating its current health:

  • Green dot — Agent is healthy and ready to receive messages.
  • Yellow dot — Agent is in a degraded state but still operational.
  • Red dot — Agent has encountered an error and may not respond.
  • Gray dot — Agent status is unknown (VPS may be unreachable).

Click on any agent in the sidebar to switch the active conversation to that agent. Each agent maintains its own separate conversation thread, so switching agents does not affect your conversation history with other agents.

File and Image Support

The chat input supports file and image uploads. Click the attachment icon next to the message input or drag and drop a file directly into the chat window. Supported file types include:

  • Images — PNG, JPG, GIF, and WebP. Images are displayed inline in the chat and can be analyzed by agents using models with vision capabilities.
  • Documents — PDF, TXT, and common document formats. The file content is extracted and provided to the agent as context.
  • Code files — Any plain text file with a recognized extension. The content is formatted with syntax highlighting in the chat display.

Warning

Image analysis requires a model with vision capabilities. If your current model does not support vision, image uploads will be accepted but the agent will not be able to interpret the image content. Check the AI Models page to confirm your model's capabilities.

Code Blocks

When an agent includes code in its response, the code is rendered in a dedicated code block with full syntax highlighting. Code blocks support all major programming languages and are automatically detected based on the language identifier in the agent's markdown response.

Each code block includes a one-click copy button in the top-right corner. Clicking it copies the entire code snippet to your clipboard without including any surrounding text or formatting. A brief confirmation tooltip ("Copied!") appears after a successful copy.

Message Actions

Hovering over any message in the chat reveals a set of action buttons. The available actions depend on whether the message is yours or the agent's:

  • Copy text — Copies the full message content to your clipboard. Available on both user and agent messages.
  • Retry message — Available on agent responses. Discards the current response and asks the agent to regenerate it. Useful when a response is unsatisfactory or incomplete.
  • Edit and resend — Available on your own messages. Opens the message in the input field for editing. After modifying the text, press Enter to send the updated message and receive a new response.

The retry action sends the exact same user message again, which may produce a different response depending on the model's temperature setting. Edit and resend lets you refine your prompt to get a more targeted answer.

Mobile-Responsive Layout

The chat interface is fully responsive and optimized for mobile devices. On smaller screens, the agent selector sidebar collapses into a hamburger menu accessible from the top-left corner. Tapping the menu icon slides the sidebar into view as an overlay, and selecting an agent automatically closes it to maximize the chat area.

The message input area remains fixed at the bottom of the screen on mobile, with the conversation scrolling above it. The attachment button and send button are sized for comfortable touch interaction.

Read Receipts

Each message you send displays a read receipt indicator beneath it. The indicator shows two states:

  • Sent — A single checkmark indicating your message has been delivered to the agent.
  • Read — Double checkmarks indicating the agent has received and is processing your message.

Read receipts provide confirmation that your message was successfully transmitted to the agent, which is particularly useful when network conditions are uncertain.

Sound Toggle

A sound toggle button in the chat header lets you enable or disable audio notifications for new messages. When enabled, a subtle notification sound plays each time the agent sends a new response. This is useful when you are multitasking and want to be alerted when the agent has finished generating its reply.

The sound preference is saved to your browser and persists across sessions. The default state is off.

Export Conversations

You can export any conversation from the chat interface for record-keeping, sharing, or analysis. Click the export button in the chat header to download the current conversation. Export options include:

  • Plain text (.txt) — A simple text file with messages labeled by sender and timestamp.
  • Markdown (.md) — A formatted markdown document preserving code blocks, lists, and other formatting from agent responses.
  • JSON (.json) — A structured data file containing all message metadata, useful for programmatic analysis.

Tip

Use JSON exports to analyze agent performance programmatically. The JSON format includes timestamps, response times, and token counts for each message, making it ideal for building custom analytics.

Markdown Rendering

Agent responses are rendered with full markdown support. This includes:

  • Headings, bold, italic, and strikethrough text.
  • Ordered and unordered lists with proper nesting.
  • Inline code and fenced code blocks with syntax highlighting.
  • Tables with header rows and alignment.
  • Blockquotes for cited or referenced content.
  • Hyperlinks that open in a new tab.

Markdown rendering ensures that agent responses are easy to read and visually structured, especially when the agent produces long-form content such as reports, documentation, or multi-step instructions.

Related Documentation

  • Agents — Deploy agents and use the quick test feature.
  • Agent Store — Find new agents to chat with.
  • AI Models — Switch models to change response quality and speed.
  • VPS Management — Ensure your VPS is running for chat to function.
  • Dashboard Overview — View conversation metrics on the dashboard.