---
title: "The Chat's Canvas: Pages That Run, Files You Can Read"
slug: "chat-canvas-html-pages-file-previews-versions"
date: "2026-12-04"
tag: "Application"
products: ["agentic-os", "agentic-base"]
summary: "Ask an ibl.ai agent for a dashboard and it arrives as a working page beside the chat: the Canvas runs HTML the agent writes, previews PDF, Word and Excel files, shows code read-only, edits documents with export to three formats, and keeps versions of documents, code and pages with Restore."
author: "ibl.ai Engineering"
repo: "iblai/base"
linkedin: |
  Ask an ibl.ai agent for a sales dashboard and you get one you can click, in a panel beside the chat.

  That panel is the Canvas. When an agent makes something worth keeping, it opens next to the conversation in the view that fits the file:

  → An HTML file runs as a live page, with Preview and Code tabs
  → PDF, Word and Excel files open as previews, sheet tabs included
  → Python, JSON, SQL and other code opens in a read-only file view
  → A document opens in an editor, with export to PDF, Word or Markdown
  → Every edit to a document, code file or page adds a version, and Restore brings an earlier one back

  The page the agent wrote runs in a frame of its own, separate from the app around it.

  Agentic OS opens files this way today. And since Agentic Base v2.32.0, a skill wires the same Canvas into any app your team builds on the platform.

  With ibl.ai you own all the code and the data, and that includes the app the Canvas runs in and every file your agents produce.

  #iblai #AgenticAI #EnterpriseAI #AIAgents #DeveloperTools #AIApps
---

**The chat on ibl.ai now has a Canvas, a panel beside the conversation where an agent's work opens in the right view: an HTML file runs as a live page, PDF, Word and Excel files show as previews, code opens read-only, documents open in an editor, and every version is kept, on a platform where you own all the code and the data.**

[Agentic OS](/product/agentic-os) opens the files an agent shares this way today. On **December 3, 2026**, [Agentic Base](/product/agentic-base) v2.32.0 added the `/iblai-vibe-agent-canvas` skill, which wires the same panel into any app a team builds on the platform.

<a href="/images/updates/chat-canvas-html-pages-file-previews-versions-html-dashboard.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/updates/chat-canvas-html-pages-file-previews-versions-html-dashboard.webp" alt="A chat with a demo agent on the left and the Canvas on the right, running q4-sales-dashboard.html: revenue, new customers, win rate and average deal tiles, a revenue by region bar chart, a revenue mix donut, a forecast slider and a top deals table, with Preview and Code tabs and an Export button." width="1440" height="900" loading="lazy" decoding="async" style="display:block; width:100%; height:auto; margin:1.5rem 0;" /></a>

## What is the Canvas in an ibl.ai agent chat?

The Canvas is the panel that opens beside the chat when an agent makes something worth keeping. A reply that makes something carries one card with the file's title, its kind and an **Open Canvas** button. The panel opens by itself: a document or code file as the reply starts, a shared file as soon as it is ready.

It picks one of **six views** by file type: a document editor, a read-only file view, a running HTML page, and previews for PDF, Word and Excel. Pictures, video and audio open with the browser's own controls.

<table style="width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:0.95rem;">
  <thead>
    <tr style="background:#f5f5f0; border-bottom:2px solid #2175C5;">
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">The agent shares</th>
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">It opens as</th>
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">What you can do</th>
    </tr>
  </thead>
  <tbody>
    <tr style="background:#f0f9ff; border-bottom:1px solid #e5e7eb;">
      <td style="padding:0.75rem;"><strong>An HTML file</strong></td>
      <td style="padding:0.75rem;">A running page, with Preview and Code tabs</td>
      <td style="padding:0.75rem;">Use the page, copy the code, export</td>
    </tr>
    <tr style="border-bottom:1px solid #e5e7eb;">
      <td style="padding:0.75rem;"><strong>Code and data</strong> (Python, JavaScript, JSON, YAML, SQL and more)</td>
      <td style="padding:0.75rem;">A read-only file view with line numbers</td>
      <td style="padding:0.75rem;">Copy, export under its own name</td>
    </tr>
    <tr style="border-bottom:1px solid #e5e7eb;">
      <td style="padding:0.75rem;"><strong>A PDF</strong></td>
      <td style="padding:0.75rem;">The pages, drawn at the panel's width</td>
      <td style="padding:0.75rem;">Select text, follow links, export</td>
    </tr>
    <tr style="border-bottom:1px solid #e5e7eb;">
      <td style="padding:0.75rem;"><strong>A Word file</strong></td>
      <td style="padding:0.75rem;">The pages</td>
      <td style="padding:0.75rem;">Follow links, export</td>
    </tr>
    <tr style="border-bottom:1px solid #e5e7eb;">
      <td style="padding:0.75rem;"><strong>An Excel file</strong></td>
      <td style="padding:0.75rem;">A table per sheet, with sheet tabs</td>
      <td style="padding:0.75rem;">Export the whole file</td>
    </tr>
    <tr style="border-bottom:1px solid #e5e7eb;">
      <td style="padding:0.75rem;"><strong>A document</strong> (prose, markdown, CSV)</td>
      <td style="padding:0.75rem;">The editor</td>
      <td style="padding:0.75rem;">Edit, ask for changes, export</td>
    </tr>
  </tbody>
</table>

## Can an AI agent build an interactive dashboard inside the chat?

Yes. Ask for an HTML file by name, such as `dashboard.html`, and the Canvas runs it as a page. The demo below is one prompt: a Q4 sales dashboard with a quarter and monthly switch, bar tooltips, a forecast slider and a sortable table of deals.

<a href="/images/updates/chat-canvas-html-pages-file-previews-versions-html-interactive.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/updates/chat-canvas-html-pages-file-previews-versions-html-interactive.webp" alt="The same dashboard after use: the Monthly view is selected, a tooltip on the December bar reads $1.77M and +13.5%, the forecast slider is at 15% with projected Q1 revenue of $5.54M, and the top deals table is sorted by value, lowest first." width="1440" height="900" loading="lazy" decoding="async" style="display:block; width:100%; height:auto; margin:1.5rem 0;" /></a>

The page is live. In the frame above, the slider has moved from 8% to 15% and the projected Q1 revenue has gone from $5.21M to $5.54M. The **Code** tab shows the same file as source, with Copy and Export.

The page runs in a frame of its own inside the Canvas, separate from the app around it. Ask the agent for a self-contained page with its data inline.

## Which files can the Canvas preview: PDF, Word and Excel?

All three. A PDF and a Word file show as pages, and an Excel workbook shows a table per sheet with its sheet tabs, up to the first 500 rows and 50 columns. Export always saves the real file, whatever the preview shows.

<a href="/images/updates/chat-canvas-html-pages-file-previews-versions-pdf-report.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/updates/chat-canvas-html-pages-file-previews-versions-pdf-report.webp" alt="The Canvas showing q4-business-review.pdf, a two-page report the agent wrote: a Q4 Business Review header, revenue, new customers and win rate tiles, a highlights paragraph and a revenue by region table with change bars." width="1440" height="900" loading="lazy" decoding="async" style="display:block; width:100%; height:auto; margin:1.5rem 0;" /></a>

<a href="/images/updates/chat-canvas-html-pages-file-previews-versions-excel-workbook.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/updates/chat-canvas-html-pages-file-previews-versions-excel-workbook.webp" alt="The Canvas showing regional-revenue.xlsx on its Regions sheet, with Products and Notes tabs: revenue per quarter for five regions, a yearly total and the change from Q3 to Q4." width="1440" height="900" loading="lazy" decoding="async" style="display:block; width:100%; height:auto; margin:1.5rem 0;" /></a>

Files like these come from an agent with a [virtual machine](/updates/agent-sandbox-virtual-machines-network-policies), which writes the report, the spreadsheet or the script there and shares it into the chat. A file up to 5 MB opens in the Canvas by default, and a larger one arrives as a link. On a self-hosted deployment, the previews read those files from your own storage.

## How do you edit and export a document an agent wrote?

A document opens in an editor with undo, redo, three heading sizes, bold, italic, code and quote. It saves 2 seconds after you stop typing, and clicking the title renames it.

Three things go beyond a plain editor. Select a passage and an **Ask Anything** box opens under it, so the agent rewrites only that part. A pencil menu adjusts length and reading level or adds a final polish. **Export** saves a PDF, a Word file or Markdown, named after the title.

<a href="/images/updates/chat-canvas-html-pages-file-previews-versions-ask-anything.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/updates/chat-canvas-html-pages-file-previews-versions-ask-anything.webp" alt="A launch announcement open in the Canvas editor with one paragraph selected and an Ask Anything box under it reading Say the beta is free for every organization; the editor toolbar, Export button and pencil menu are visible." width="1440" height="900" loading="lazy" decoding="async" style="display:block; width:100%; height:auto; margin:1.5rem 0;" /></a>

## Does the Canvas keep earlier versions?

Yes. Every change the agent makes adds a version, and so does a save that changes the text. With 2 or more versions, the menu beside the title steps through them, and an earlier one opens read-only with **Restore this version** and **Back to latest version**.

<a href="/images/updates/chat-canvas-html-pages-file-previews-versions-versions-restore.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/updates/chat-canvas-html-pages-file-previews-versions-versions-restore.webp" alt="An earlier version of a launch announcement open in the Canvas under a banner reading You are viewing a previous version, with Restore this version and Back to latest version buttons; the chat on the left shows Version 1 and the later, shorter draft." width="1440" height="900" loading="lazy" decoding="async" style="display:block; width:100%; height:auto; margin:1.5rem 0;" /></a>

Documents, code files and HTML pages keep every version. A shared PDF, Word or Excel file keeps its newest copy. Every canvas and its versions are also reachable over the platform's REST API.

## Does the Canvas work on a phone?

Yes. Below 768 px the Canvas takes the whole width, with the message box under it, and the editor's toolbar folds into a menu. The dashboard from the first screenshot runs the same way on a phone.

<a href="/images/updates/chat-canvas-html-pages-file-previews-versions-phone.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/updates/chat-canvas-html-pages-file-previews-versions-phone.webp" alt="The Q4 sales dashboard running in the Canvas at phone width: the Preview and Code tabs, four metric tiles and the revenue by region chart, with the message box underneath." width="390" height="844" loading="lazy" decoding="async" style="display:block; max-width:390px; width:100%; height:auto; margin:1.5rem auto;" /></a>

## How do developers add the Canvas to their own app?

The chat component in the ibl.ai SDK draws the whole Canvas, so an app that mounts the chat already has documents and code files. The skill adds what HTML pages and file previews need: a preview route, one start-up call, two middleware changes and an icon.

It needs `@iblai/iblai-js` 3.6.0 or later, and the Agentic Base starter app ships with all of it wired. A developer runs `/iblai-vibe-agent-canvas` in a coding agent, and the skill's own checks cover the build, the tests, a touch test and a check for sideways scroll at phone width.

## Want to see an agent build a working page in front of you?

We can show an agent producing a dashboard, a PDF report and a spreadsheet from your own questions, inside a chat you run yourself. [Book a 30-minute demo](https://cal.com/iblai/30min) or [talk to the ibl.ai team](/contact) — ibl.ai is family-owned and operated from New York, NY.
