Skip to content

Documents in the editor (Canvas)

Chats often produce text that is more than just an answer: a concept, an offer, a note, a briefing. So you do not have to switch between chat and an external editor all the time, 9brains has a built-in Markdown editor. You open a document next to the chat, keep writing, let the AI work on it in parallel, and see changes live.

There are three ways into the editor:

  • Through the Files button in the header. As soon as your session contains files, a button with the count appears in the top right. A click opens a list of all workspace files for that session. Markdown files open in the editor with a single click, other files (PDFs, images, …) can be downloaded from the list.
  • Through the “Open in editor” link in an AI reply. When the AI creates or changes a Markdown file for you, it appends a link to its answer. A click on the link opens the document directly in the editor, no need to look for it in the file list.
  • Through the tool chip in the chain of thought. The small chips that show which tools the AI is currently running (write_file, edit_file, read_file) are also clickable when they refer to a Markdown file.

The editor and the chat share the same file.

  • If you type in the editor, your work is saved when you leave the editor (switch tabs or click back into the chat). A small status indicator in the header shows “Saving …”, then briefly “Saved”.
  • If you let the AI do the writing (“shorten the intro”, “add a summary at the top”), the editor updates live as soon as the AI finishes. No reload needed.
  • What happens if both write at the same time? If you are typing in the editor while the AI is changing the same area, 9brains detects the conflict and shows you a notice. The editor reloads the current version. Your changes were still local up to that point. You can copy them and paste them in again before continuing.

Every change to the document is automatically saved as a version. From the three-dot menu in the editor header you open Versions.

  • History: the list shows all versions, newest first, with timestamp and size.
  • Compare: tick two rows in the list. Below the list, a diff appears showing what was added (green) and what was removed (red).
  • Restore: each older version carries a “Restore” button. After confirmation, the older version becomes the new current version. The previously current version stays in the history, so nothing is lost.

From the same three-dot menu you can export the document:

  • As PDF for forwarding by email or printing
  • As Word (DOCX) to continue editing in Microsoft Word, LibreOffice or Google Docs
  • Download delivers the raw file (.md)

The filename follows the document name, you do not have to enter anything when saving.

Need more room for the document, or more for the chat? Drag the divider between chat and editor left or right. The new width applies for the current session. The next time you open the editor it starts with the default width again.

When you work in an agent chat, you can open files from both that session and the persistent agent workspace in the editor. The file list separates the two areas (“From this session” / “From the agent workspace”) so you see at a glance where a file lives.

Files in the agent workspace (AGENTS.md, reference templates, …) survive across many chats. Session files are tied to a single chat.

On a smartphone the editor opens full screen on top of the chat. Tap the X in the top left to return to the chat. All functions (editing, versions, export, saving) work on a smartphone exactly as on a desktop.

Documents you edit in the editor stay in your workspace and are stored encrypted just like all other workspace files. Versions live in the same encrypted storage. Details about storage location and encryption are in the privacy overview.