---
title: "Working with Files, Terminal, and Previews"
canonical: https://trickest.com/docs/using-the-app/agent/files-terminal-previews
description: "Open files beside the Agent, run a command, and preview the work."
---

# Working with Files, Terminal, and Previews

## Open Files

In the Agent workspace, the files sit beside the chat. If that area is hidden, select **Show workspace**.

Select **Files**. If Files asks you to send a message or connect a workflow, do that. If the Files view is ready and no file is open, select a file or open one from the chat. **Files** in the main sidebar is vault storage. It is not this file list.

## Read or download a file

Expand the folders, or use **Find files**. Select a file to open it. If a file the Agent just created is missing, select **Refresh files**.

To keep a copy, use **Download saved sandbox file** in the preview toolbar. Save your edits first. The download is the saved file.

## Use the terminal

In Files, select **Show terminal**. The terminal opens under the file. Type a command and read the output there. Select the control again to hide it.

## Preview the work

The preview is a separate view from the files and the terminal.

Select **App** when a workflow is connected. Select **Browser** when it is not. That view shows the app running for the current work.

The desktop is separate. [Using the Computer](/docs/using-the-app/agent/using-the-computer) covers it.

---
_Markdown source of https://trickest.com/docs/using-the-app/agent/files-terminal-previews._
