---
title: "Agent Sandboxes"
canonical: https://trickest.com/docs/key-concepts/agent/sandboxes
description: "The Linux environment the Agent uses for files and commands, and how it differs from a workflow run."
---

# Agent Sandboxes

## What is an Agent sandbox

An **Agent sandbox** is the Linux working environment the [Agent](/docs/key-concepts/agent/the-agent) uses for files and shell commands. It is where the Agent can inspect or create files and run commands while it works. The Files, preview, and Computer views expose different parts of that working environment.

A workflow execution is separate. Workflow runs still happen on your fleet, even when the Agent is the one that starts them.

## With or without a workflow

A conversation with no workflow uses a scratch sandbox, and its files stay with that conversation. When you connect a workflow, later Agent work uses the workflow's shared sandbox instead; the editor and chats on that workflow use the same environment. Existing scratch files are not moved, so anything created before the connection remains with the original conversation.

[Working with Files, Terminal, and Previews](/docs/using-the-app/agent/files-terminal-previews) covers files, the terminal, and a preview. [Using the Computer](/docs/using-the-app/agent/using-the-computer) covers the desktop in the same environment.

---
_Markdown source of https://trickest.com/docs/key-concepts/agent/sandboxes._
