Web chat
Web chat is the workspace’s browser chat. People sign in, pick an agent and a model, and chat. Each workspace has one web chat address:
https://<your-virtuai-host>/chat/w/<workspace-slug>Who can use it
Section titled “Who can use it”Web chat is not anonymous. To chat, a person signs in with a VirtuAI account that is a member of the workspace. Any role works. See Users and roles.
Signed out, the chat shows VirtuAI’s sign-in page, the same one as the console, at the chat’s own address: with SSO and two-step verification when your account uses them. Once you sign in, you’re back in the chat. Sign out takes you to the sign-in page.
If your organization reaches VirtuAI through Google Cloud IAP, a platform administrator can let people from approved email domains in without a separate sign-in. They set this under Workspaces, in IAP / Web Chat Access.
Turn on web chat for an agent
Section titled “Turn on web chat for an agent”-
Open the agent and select its Channels tab.
-
Turn on Web chat. The card reads Listed in the workspace web chat. when it’s on. With versioning, the switch waits for Publish.
-
In the agent’s Model tab, choose the provider and default model. Then select the models people may switch to in web chat.
Every change saves as you make it. Agents with Web chat off don’t appear in the agent picker.
Share a link
Section titled “Share a link”Copy the Chat URL from the agent’s Web chat card, which opens the chat with the agent already picked, or Web Chat UI under Integration URLs, which opens the workspace chat.
To open a specific agent, add its agent ID:
https://<your-virtuai-host>/chat/w/<workspace-slug>?agent=<agent-id>The address also names the conversation you’re in, as &c=<conversation-id>. Reloading the page, or opening a link to it, brings back the same agent and conversation, including a reply that is still being written. Choosing a conversation, starting a new one and switching agent are steps in the browser’s history, so Back and Forward move between them. A conversation can only be opened by the person who had it: a link to someone else’s conversation opens the chat without it.
The agent canvas’s Widget tab gives out the same link, with the agent already picked.
Embed it in another site
Section titled “Embed it in another site”You can show web chat inside another page with an iframe:
<iframe src="https://<your-virtuai-host>/chat/w/<workspace-slug>?agent=<agent-id>" title="Assistant" style="width: 100%; height: 640px; border: 0;" allow="microphone"></iframe>- People sign in inside the frame, the same as on the full page.
allow="microphone"is only needed if people will record voice notes.- Inside a frame, the chat has no top bar and no account menu: the host page owns those. The context ring and the Your files and Your browser buttons sit in a row of their own above the conversation instead.
- An embedded chat never leaves the frame for the sign-in page on its own: when a request isn’t authorized, the chat stays where it is.
The top bar
Section titled “The top bar”Once you’re signed in, the workspace chat has a top bar, the same one VirtuAI Desktop draws:
- At the left, the console’s menu, for people whose role has console access, which opens its navigation without leaving the chat, and Toggle sidebar, which shows or hides the history.
- At the right, what the conversation offers: the Dev mode switch when dev mode is available to you, the context ring, Your files and Your browser when the agent works in a sandbox, with the sandbox’s Connected or Offline status, and the account menu.
The account menu, the circle with your initial, shows who is signed in and, if you belong to more than one workspace, lists them: picking one opens its chat. Sign out ends your session on the server too, not only in this browser. Signing out from the console’s sidebar does the same.
History and skills
Section titled “History and skills”The sidebar lists your conversations with the agent, newest activity first.
- Search. Search conversations filters the list by title as you type, then also searches your own messages.
- Pin and rename. Each conversation’s … menu has Pin (or Unpin) and Rename. Pinned conversations sit in their own Pinned group above Recent. You can also double-click a title to rename it; Enter saves and Escape cancels.
- Running turns. A pulsing dot after a title marks a conversation whose reply is still being written, whether you started it in this tab or elsewhere.
- New conversation. The pencil icon at the top of the sidebar starts one.
When the agent has skills, a Conversations | Skills switch appears above the list. Skills lists the agent’s skills with their descriptions, with its own search. Use puts “Use the name skill:” in the composer for you to finish the request.
The composer
Section titled “The composer”The message box is slim: your text and the send key, which becomes a stop button while the agent answers. Under it:
- At the left, Attach files (+), Record voice message (the microphone) and Agent tools, which lists what the agent can use. While plan mode is on, a Plan pill sits here too.
- At the right, as quiet text, the agent, the model and the effort. Select one to change it.
Effort is how hard the model thinks, from Minimal to Max, offered only for models that take an effort and only with the tiers the model accepts. Until you choose one, it shows the agent’s own setting. A tier you choose applies to the turns you send from then on, over the agent’s setting, and turns the model’s reasoning on. It’s kept per model in this browser, and changes nothing on the agent.
Switching model applies from the next message. Switching agent in the middle of a conversation asks you to confirm in Switch agent with Continue, because it starts a new conversation.
A new conversation opens straight on the chat: the agent’s name and avatar, its greeting, its description when it has one, and the composer ready.
What people can do in the chat
Section titled “What people can do in the chat”- Attach up to 3 files per message, 10 MB each: images (JPEG, PNG, GIF, WebP), PDF, plain text, CSV, Markdown, Word, Excel and PowerPoint.
- Record a voice message. It’s transcribed and sent to the agent as text, and the recording stays playable in the chat.
- Stop a reply, and select Continue when a reply was cut off at the output limit.
- Copy or edit a message you sent: hover it for Copy message and Edit message. Editing is offered while no reply is being written, and not on voice messages. Hover a reply to copy it with Copy response.
- Answer command approval prompts: Allow once, Allow for this chat, Allow 60 min, Always allow or Deny. They work the same when the message carries attachments, for example an Excel file the agent analyzes with a script. A long command, such as a whole script, sits in a box that scrolls, with its size and Show more, so the answers stay on screen. See Command approvals.
- Read code, commands and configuration right in the reply: each block is highlighted, names its language, and has Copy code. Diagrams, charts, web pages and SVG images open from a card in a side panel, and so do documents, images and Office files the agent shares. See Artifacts.
- With dev mode, work on the agent’s files in an IDE beside the chat. See Dev mode.
Voice message transcription uses Google Cloud Speech-to-Text. You can set the model and languages with Transcription model (TRANSCRIPTION_MODEL) and Transcription languages (TRANSCRIPTION_LANGUAGE_CODES) in Settings > Voice & transcription.
Plan mode
Section titled “Plan mode”With a deep agent, press Shift+Tab in the composer to turn plan mode on: the agent looks into your request and proposes a plan without changing anything. The box changes color and a Plan pill appears under it; select the pill or press Shift+Tab again to leave. After a plan, the chat asks Carry out this plan?, with Carry out the plan and Keep planning. Each conversation keeps its own plan mode while the page is open. See Plan mode.
How replies appear
Section titled “How replies appear”When you send a message, it moves to the top of the view, and the reply is written under it. Until the first words or steps arrive, an animation shows that the agent is working: the workspace’s Working animation (WAITING_ANIMATION_URL) if it’s set, otherwise the default one. If your system asks for reduced motion, the default animation is shown still. The view doesn’t scroll on its own as the reply grows: scroll when you want to.
Replies stream in as the agent writes them, each new piece of text fading in where it belongs in the paragraph.
When a deep agent works on a request, its work shows as steps in the reply, in the order it happened: planning, commands, tool calls, delegated work and files. Work delegated to a sub-agent shows in a card of its own, and when the agent runs several sub-agents at once, each card keeps its own steps, including the skills it reads.
- Files it writes are steps. Creating, editing or sharing a file is a step like any other, with the file’s name. Expand it to see what the agent wrote or changed. As soon as the step ends, it offers Open or Download. A file open in the side panel keeps up with the agent’s later changes while the reply runs; see The panel follows the agent’s work.
- Delivered files close the reply. The files the agent hands you, rather than the scripts and drafts it wrote on the way, appear at the end of the reply as tiles. Each tile shows the file’s name, type and size, and is colored by kind, such as document, spreadsheet, presentation, PDF or image. Select a tile to open the file in the side panel when it can be shown there, such as a PDF, an image, a Word, Excel or PowerPoint file, text or a web page, or to download it otherwise.
Each browser, command and file step shows where it ran, for example in your browser or in Workstation: Support.
Reasoning and web searches
Section titled “Reasoning and web searches”When the agent’s model thinks or searches the web, that work appears in the reply where it happened, in the same run of steps as its tools, under one header that sums it up, for example Thought · Searched the web · 10 sources.
- Reasoning shows as Thinking… while the model reasons, and as Thought once it’s done, with a summary you can expand. It appears only for a deep agent whose model has Show reasoning on.
- Web searches show as Searching the web…, then with the query and the sources it found, one chip per site. A page the model reads shows as Reading a page…, then Read a page.
- Tool search shows as Searching its tools…, with the tools it found.
Searches, page reads and tool search are the provider’s own tools, turned on per agent. See Thinking, caching and provider tools.
When something fails
Section titled “When something fails”If a turn fails, for example because a deep agent’s task failed, the reply shows the error instead of ending with no answer.
If part of the page fails to show, for example a reply or the dev mode IDE, that part says Something went wrong showing this., with Try again and Reload the page, instead of leaving a blank page. The rest of the chat keeps working.
Replies keep running
Section titled “Replies keep running”A reply doesn’t depend on your page staying open.
- Leave and come back. If you open another conversation, or close the tab, the agent keeps working. Open the conversation again, from the history or its link, and the chat picks the reply up where it is, with the steps you missed. The composer is off until the reply ends.
- A dropped connection. If the connection drops mid-reply, the chat says The connection dropped. Picking the turn up again… and follows the reply again, including any approval still waiting for you. It shows an error only when it can’t reconnect.
- VirtuAI updates. When VirtuAI is updated, running replies get time to finish. A reply that can’t finish in time is saved with what it had and a note; send “continue” and the agent picks it up from what it had already done. If a reply is lost without a note, for example after a server failure, the chat says The reply was lost: the server restarted mid-turn. The agent remembers what it had done., with Continue.
How full the conversation is
Section titled “How full the conversation is”A ring in the top bar shows how much of the model’s context the conversation takes up. It appears as soon as you open a conversation whose model has a known context limit (a new conversation, from its first reply), and fills as the agent works through a turn, not only at the end. It turns amber from 80% and red near the limit. Hover it for the percentage and the tokens used out of the limit. Just after a compaction, the figure is marked as estimated until the next reply.
With a deep agent, the ring is also how you compact. A conversation is never compacted on its own: click the ring and VirtuAI summarizes the older messages for the agent and keeps the recent ones. Nothing in the chat changes, and nothing is deleted. While it compacts, the conversation says Compacting the conversation: summarizing older messages… and the composer is off. You can’t compact while the agent is answering, and a short conversation has nothing to compact yet. If the conversation fills up completely, the reply says so: compact it, or start a new conversation.
Web chat no longer shows token counts under replies or above the composer: the ring is what tells you how full the conversation is.
Files and browser
Section titled “Files and browser”If the agent works in a sandbox you belong to, the top bar shows two more buttons: a folder, Your files, to browse and download your files in it, and a globe, Your browser, to watch and take control of your browser desktop. Both open in the same side panel as artifacts. The buttons depend on the agent you’re chatting with: they appear for an agent that works in a sandbox, and change when you switch agent. See Sandboxes.
Customize the look
Section titled “Customize the look”In Settings > Appearance, under Web chat colors, set the workspace’s colors:
| Setting | Changes |
|---|---|
| Button | Primary buttons |
| User bubble | The person’s message bubbles |
| Avatar background | The circle behind the agent’s avatar |
| Accent | The agent name label and the input focus ring |
Each agent can also have its own avatar image, under Avatar in the agent’s General tab.
Feedback
Section titled “Feedback”People can rate any reply with Good response or Bad response. Review the ratings under Monitor > Feedback, and filter them by positive or negative. Full transcripts are in Conversations.
Troubleshooting
Section titled “Troubleshooting”“No agents available” : No agent in the workspace has Web chat on, or it’s on in a draft that isn’t published yet.
“No models available for this agent” : The agent has no models selected for web chat. Select at least one in the agent’s Model tab.
The embedded chat is blank or refuses to load : The site’s origin isn’t on the deployment’s allowed frame origins. See Embed it in another site.
“You are not a member of this workspace” : The person signed in with an account that isn’t in this workspace. Invite them under Users.
A link opens the chat but not the conversation : The conversation was deleted, or it belongs to someone else. Each person only sees their own conversations.
