Opidocs
FeaturesYour Content

Ask the Assistant

Open a document and have the assistant work on it with you — answering questions, drafting sections, and editing the page directly.

Any document you own can become a workspace you share with the assistant. Open it, click Ask assistant, and a side panel opens with a chat that's bound to this document — so the assistant can read it, answer questions about it, and edit the page directly while you watch.

Opening the panel

Open one of your documents and click Ask assistant in the header. A side panel slides in next to the editor with a fresh conversation already attached to the document. You don't have to tell the assistant which document you mean — it's bound automatically.

Ask assistant is available to the document's owner. If a document was shared with you (even with edit access), you collaborate through comments and suggestions rather than the assistant panel.

Editing alongside you

Ask for changes in plain language — "add a TLDR section at the top", "tighten the second paragraph", "rewrite this as a haiku" — and the assistant edits the document in place. When an edit lands:

  • The affected block updates in the live editor and pulses briefly so you can see exactly what changed.
  • The chat panel shows a tool-call card for the edit (for example insert into document or rewrite document), so there's a clear record of what the assistant did.

The assistant can insert new sections, edit specific parts of the page, or rewrite the whole thing.

You can keep writing while the assistant works. If you're editing the same paragraph the assistant is changing, your local edits are preserved and the assistant's change lands on the next idle moment.

Undoing agent edits

You're always in control of what the assistant changes. Once it has edited the document, an Undo agent edit control appears in the panel header:

  • Click the button to undo the assistant's most recent edit in one step. This works for an edit made in the current session within the last 30 minutes.
  • Open the history menu (the caret next to the button) to see recent agent edits — labelled by what they did (Edited a section, Inserted content, Appended content, Rewrote the document) with a timestamp. Pick any entry to revert that specific edit, with no time limit.

If an edit was made in a different session or is older than the one-click window, the button points you to the history menu, where any agent edit can still be rolled back.

The control disappears once there's nothing left to undo, so the header stays clean on documents the assistant hasn't touched. Reverting restores the document — content, title, and citations — to its state before that edit.

Sessions

The panel remembers its conversation. Close it and reopen it later and the same thread resumes, so you can pick up where you left off.

  • The session switcher at the top of the panel lists the conversations tied to this document.
  • Click + New session to start a fresh thread while keeping the old one in the switcher.

Binding a document from the assistant

You can also start from the assistant instead of the document:

  • In an empty assistant thread, mention a document with @ (for example @Project Brief) and send. The thread binds to that document, a breadcrumb appears, and the document-editing tools become available — the same as opening Ask assistant from the document itself.
  • In a thread that already has messages, mentioning a document starts a fresh bound session for it (so your existing conversation isn't repurposed). You'll be moved to the new bound thread to continue.

Mention two or more documents in one message and no binding happens — instead, each document is attached as read-only context the assistant can read but not edit. This is the way to ask a question across several documents at once.

Next steps

On this page