# File search

Add folders or your whole device to file search, see how far each place is read, and ask an agent about what your files say.


File search lets an agent find what your documents say, by their words and
by their meaning. Nothing is searched until you add a place. Open
**Settings → File search** to add and remove places and to see how far each
one is read.

## Add a place {#add-place}

Choose **Add**, then:

- **Folder…** to pick a folder. Everything inside it is searched.
- **This device…** to search every fixed drive, then **Add this device**.
  Hearthscale leaves out system and program folders, caches, hidden files
  and folders, dependency and build folders, and the folders that hold
  passwords and browser profiles. The first pass can take hours.

Hearthscale reads the text of PDF, Word, Excel, PowerPoint and OpenDocument
spreadsheet files, and of text files such as Markdown and CSV. Other files,
such as photos, are found by their name, folder, size and date. A file that
OneDrive keeps only online is not downloaded.

The words of each file are read first, so a search by words works within
minutes. The meanings follow. The embedding model on your Server makes them,
and for a large folder on a device without a graphics card they can take
hours. When you add your first place, your Server downloads the embedding
model it recommends, unless you have set one already, and on a device with
a graphics card the rerank model too.

Reading pauses while an agent writes a reply, while the device runs on battery,
and while battery saver is on.

## See how far a place is read {#status}

At the top of the page:

- **Status** says **Up to date** while every place is read, and otherwise
  **Working**, which file is read now, or why reading waits.
- **Meanings model** names the embedding model, and **Server** the device
  whose Server runs it. The text of your files goes to that Server, which
  can be one of your paired devices.

Each place shows:

- **Added by**: the apps that asked for the place, if any did.
- **Files**: every file found.
- **Words**: **Ready**, how many files are read so far, or **Waiting for the
  files** while no file is found yet.
- **Meanings**: **Ready**, or how many passages have their meaning so far.
- **Pages with no text**: pages such as scans. The vision model of the
  Server on this device reads them: as they are found where it runs on a
  graphics card, and otherwise when you choose **Read pages**.
- **Files not read in full**: choose **Show** to list each file that was not
  read, or was read only in part, with the reason.

## Remove a place {#remove}

Choose **Remove** beside the place, then **Remove** again. The words and
meanings read there are deleted from the index, and conversations that
searched only that place search every place. Your files stay where they
are.

## Ask about your files {#ask}

> What does my rental agreement say about pets?

An agent that searches your files, such as Ash, searches the places it may
read without asking you. For Ash, these are the places in your home folder
and in the folders you attach to the conversation. At **Full access** and
**Bypass all permissions**, an agent searches every place.

Under the answer, [Sources](/docs/app/use/files#sources) lists the files
and pages the agent read. To search only one place, see
[Search in one place](/docs/app/use/composer#search-in).
