---
title: "Agent Sandboxes"
canonical: https://trickest.com/docs/key-concepts/agent/sandboxes
description: "How the Agent's Home computer, selected device, and workflow context relate to files and running work."
---

# Agent Sandboxes

## What is an Agent sandbox

An **Agent sandbox** is the working environment the [Agent](/docs/key-concepts/agent/the-agent) uses for files and shell commands. The product exposes persistent Linux computers and Android devices through **Devices**. Files, App, Desktop, and Mobile show different parts of the selected device, where supported.

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

## Home, selected device, and workflow

Each conversation keeps a stable **Home** computer and can use other attached devices. Selecting a device for the Agent determines where subsequent device work runs. Already-started commands and child work retain their own device; selection does not move their files or processes.

Connecting a workflow identifies the graph the Agent should work on. It does not automatically switch devices. Associating a device with a workflow also does not change the device's owning space, grant permissions, or copy files.

The workspace can inspect another device without changing the Agent's selection. Use **Use this device for agent** when you intend to change its target, and **Follow agent** to view its current target again. See [Managing Devices](/docs/using-the-app/computers/managing-computers).

## Keep the state you need

Saved files and browser profiles can persist across stops. Linux processes and open applications need to be restarted. A [named snapshot](/docs/using-the-app/computers/managing-snapshots) provides a recovery point; it does not undo changes made to external websites. Copy or download important files before replacing a device's state.

[Working with Files, Terminal, and Previews](/docs/using-the-app/agent/files-terminal-previews) covers files, the terminal, and a preview. [Using the Device Screen](/docs/using-the-app/agent/using-the-computer) covers the desktop and mobile viewers.

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