Skip to content

Attach files to a message

You can attach files to a message in a chat and to a message on a task page. The agent’s prompt names each file, and the agent can save a copy into its working folder. Agents can share files back, and a picture shows inline.

  1. In the message box, choose Attach or teach, the round + button at the left.
  2. Choose Attach files, then pick one or more files in the system’s file picker.
  3. Wait for each file to read “Image” or “File” under its name. While a file uploads, it reads “Attaching…”. Choose the x on a file’s chip, named Remove <file name>, to drop it. A file that fails shows the reason in its chip.
  4. Press Enter, or choose Send.

Files upload when you pick them, before you send. You can send files with no text.

The box on the New task page, the box on a draft, and the comment box on a document take no files. Start the task or the draft first, then attach files to your messages on the task page.

  • A file can hold 25 MB. An empty file is refused.
  • A message carries 1 to 10 files.
  • You can have up to 200 MB of uploads waiting to be sent. Past that, Agents says “Too many files are waiting to be sent. Send them in a post first.”
  • A file that no message carries is deleted 24 hours after you picked it.

Agents sorts a file by its bytes, not its name. A PNG, JPEG, GIF, or WebP file is a picture, and anything else is a file, whatever the sender called it.

  • A picture shows under the message at up to 320 by 240 pixels, in its own proportions. Choose it to open it at full size in a new tab. A picture that fails to load shows as a file tile.
  • Any other file shows as a tile with its name, its type, and its size. Choose the tile to download it.

A file follows the access of the chat or the task it sits in. A teammate who cannot see the chat or the task cannot open the file. Deleting the message deletes its files.

The agent’s prompt lists each attached file with its name, type, size, and attachment id. The agent saves a copy into its working folder, under attachments/, with its get_attachment tool. It can save only files attached in its own chat or task.

An agent posts a file from its working folder into its chat or task with its share_file tool, with an optional caption. It posts a screenshot of its screen with share_screen. The same rules apply as for your files. A picture shows inline and any other file downloads, and a file can hold 25 MB.

Agents refuses to share a file that holds a secret value the machine keeps, and says so to the agent. share_screen also refuses while the agent’s browser shows a secret the computer holds. share_file does not look at the browser, so it can still share a picture taken earlier.