---
title: Files · Agent Playground docs
description: See every file a flow starts with, writes and gives back in one place. Add inputs by upload, drag and drop or paste, open files in a real editor, read Markdown and CSV as pages and tables, and see what changed since the last run.
url: https://www.quietrobot.ai/docs/playground/files
---

# Files

See every file a flow starts with, writes and gives back in one place. Add inputs by upload, drag and drop or paste, open files in a real editor, read Markdown and CSV as pages and tables, and see what changed since the last run.

Click **Files** in the builder's toolbar (on a phone it's under **More**). Every file your flow touches is in one tree, in three groups.

## Inputs

Inputs are the files your flow starts with: a spreadsheet to clean, notes to summarize, a config to check. They're written into the sandbox before the first step, so every step can read them.

To add one:

* **Upload**, or drop files anywhere on the Files panel.
* **Paste** a file, or paste plain text, and it becomes a new input (a pasted table becomes a `.csv`, JSON a `.json`).
* **New file** starts an empty one.

Inputs are text files, up to 20 of them and 256 KB each. A file in a folder keeps its folder, like `sheet/contacts.csv`.

If an input matches one of your [Policies](https://www.quietrobot.ai/docs/sandboxes/approvals) that asks a person first, the run stops before anything starts and says which file. Write that file in a step that asks for approval instead.

## Written by steps

A step can carry its own files, written just before it runs, like a script it then runs. They're grouped by step; click the step's name to open its settings. Many recipes keep their sample files on the first step. **Make them inputs** moves them into Inputs, so you change them in one place.

## Outputs

Outputs are what the last finished run created or changed: up to 20 files, newest first. Each one says **New**, **Changed** or **Same** compared with the run before, and **Changes** shows the lines added and taken out. **Use as input** copies an output into your inputs for the next run.

The same views are in each run's **Results**, with **Open in Files** to jump here. Every run also keeps its files at a [result link](https://www.quietrobot.ai/docs/playground/results) that works after the run, and shows pages, pictures, PDFs and code there too.

## Reading and editing a file

Opening a file shows it large, with line numbers and colors for code. Inputs and step files can be edited and renamed in place; outputs are read-only.

* **Preview** shows Markdown as a page and CSV as a table.
* **Copy** and **Download** are on every file.
* Files in folders that start with a dot (like `.qr/`) are helper files the flow uses behind the scenes. They're hidden until you tick **Show helper files**.

## Files on the canvas

Each step shows small chips for its files: how many it starts with, and the files its command reads (**in**) or writes (**out**). Click one to open it. The in and out chips are read from the step's command, so treat them as a guide.

## From code

Inputs are `graph.files` in [flow JSON](https://www.quietrobot.ai/docs/playground/api#write-a-flow-as-json). A finished run's files are in `results.files` from [`GET /runs/{id}`](https://www.quietrobot.ai/docs/playground/api#the-run-object), the [SDK](https://www.quietrobot.ai/docs/playground/sdk) and the MCP tools `get_run` and [`get_run_file`](https://www.quietrobot.ai/docs/playground/mcp).
