# Files and Documents the Agent Reads

The AI can read files you attach and files in your workspace:

## When to use it

When you want to know whether the AI can read or write a kind of file before you give it.

## How to use it

| Kind | Examples |
|---|---|
| Documents | PDF, Word, PowerPoint, OpenDocument, RTF, EPUB |
| Spreadsheets | Excel, CSV |
| Text and code | TXT, Markdown, JSON, HTML, source code |
| Images | PNG, JPG, WEBP and more — it looks at them |

Scanned PDFs without text are read with text recognition. Large files are read in parts.

It can also **write** files in the workspace — reports, tables, documents — and change existing ones when you ask. Changes to your files happen only for the task you gave it.
