All articles

Working with Buddy

Run quick commands

Some changes are a single step: set the page size or margins, add a heading, change the document font, delete or duplicate the selected block. Type one in plain words in the dialog that opens from Generate, and Weft applies it to the document you have open straight away. Buddy, the assistant built into Weft, is not involved: nothing is sent to the AI service, so it is instant and works in local mode without an AI connection.

Before you start

  • In the hosted app, changing a template needs the editor role or higher (roles run viewer, editor, admin, owner). Local mode — one person, documents kept in the browser — has no roles.
  • To delete or duplicate a block, select it first.
  • Accept or discard any proposal from Buddy that is waiting for review. A quick command changes your document directly, so Run is disabled while a proposal waits — finish the review first.
  • If Generate opens a dialog titled Generate a template instead of Delegate to Buddy, the delegation dialog is turned off in your setup and quick commands are not available.

Run a quick command

  1. Press Generate in the app bar. The Delegate to Buddy dialog opens.
  2. Type the command in the description box.
  3. When Weft recognises it, a line marked ⚡ appears under the box saying what will happen, for example "Quick command: Set page size to A4", and the button at the bottom changes from Plan it to Run.
  4. Press Run. The dialog closes and the change is made.

Undo reverses it like any other edit, and the phrase joins the Recent chips under the empty box in this browser. If the change cannot be made, the dialog stays open with "That command couldn't be applied to the current document."

Quick commands are recognised on the dialog's first screen only, before you pick a document type or ask for a plan.

What you can say

CommandPhrasings that workWhat it does
Page size"set page size to A4", "set the page to Letter", "A4 page", "legal size", "A4 page landscape"Sets the paper size, and the orientation when you name one
Orientation"make the page landscape", "portrait page", "page orientation: landscape"Turns the page
Margins"set margins to 20mm", "set the margins to 2cm", "margins 1 inch"Sets one margin for all four sides
Add a block"add a heading", "insert a paragraph", "new divider", "add a page break", "add a numbered list"Adds that block
Font"set the font to Georgia", "use the Merriweather font"Sets the document font
Delete"delete this", "remove this block", "delete these blocks"Deletes the selected block, or every selected block
Duplicate"duplicate this block", "clone the selection"Places a copy right after the selected block

Details for each:

  • Page size — A4, A3, A5, A6, B4, B5, Letter, Legal, Tabloid or Executive, written right next to "page", "paper" or "size". Add "landscape" or "portrait" to turn the page too; margins stay as they are.
  • Orientation — "landscape" or "portrait" next to "page", "paper" or "orientation". The paper size stays as it is.
  • Margins — one number with its unit: mm, cm, in, inch or inches. The line shows millimetres, so "margins 1 inch" reads "Set margins to 25.4mm". It sets all four sides: if Different margins per side was ticked in the Page section, the sides' own values go and the box unticks.
  • Add a block — say add, insert, create or new with one of: heading or title, paragraph, divider, separator or rule, page break or new page, list, bulleted list or numbered list. It lands right after the selected block, or at the end of the document when nothing is selected, with placeholder text such as "Heading" or "New paragraph" for you to edit. Say nothing about its wording or place: "add a paragraph about refunds" or "add a heading in the footer" goes to Buddy instead.
  • Font — Inter, Roboto, Lato, Arimo, Carlito, Lora, Merriweather, Source Serif, Tinos, Caladea, Gelasio, JetBrains Mono, Cousine, Helvetica, Arial, System UI, Georgia, Times New Roman or Courier New, written right next to "font" or "typeface". Brand fonts you uploaded are not recognised. It changes the font of the whole document, so naming one element — "make the heading font Inter", "this font" — goes to Buddy instead.
  • Delete and duplicate — point at the selection ("this", "these", "the selection") or use the bare word, such as "delete". With several blocks selected, delete removes them all, and the ⚡ line says how many ("Delete the 3 selected blocks"); one Undo brings them back. Duplicate copies the one you selected last.

Check the ⚡ line before you press Run: it says exactly what will happen.

When Weft does not run it

For the words it does read, Weft would rather do nothing than guess. No ⚡ line appears, and the button stays Plan it, when your words contain:

  • A negative — "not", "never", "without", "cannot", "don't", "won't" and the like. "Don't add a heading" must never add one.
  • Two commands — "add a heading and set margins to 20mm". Run them one at a time.
  • A position or count in an add, delete or duplicate — first, second, last, next, above, below, before, after, all, every, each, or any number. Select the block and say "delete this" instead of "delete the second block".
  • A relative margin change — "increase the margins by 10mm", "make the margins bigger". A quick command only sets a value outright, so run as one, the 10 mm would become the whole margin.
  • Something missing or unclear — a margin without a unit, a single side (top, bottom, left, right), two sizes or fonts, a size or font name away from its cue word, or nothing selected for delete or duplicate. "Move the legal notice to its own page" is about content, not paper size.

If it is not what you meant

  • Ask Buddy to plan instead, beside Run, treats your words as a description of a new document: Buddy proposes an outline, and Approve & generate builds a new document for you to review. See Generate from a prompt.
  • To have Buddy change the document you have open, press Change the document I have open instead → under the box and type your request again there — see Ask Buddy about the document.
  • Or make the change by hand: page size, margins and font are on the Document side of the properties panel (⌘., or Ctrl+. on Windows).

What next