> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mob.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Runtime files

> Understand granted files and scratch space inside a managed agent environment.

A managed agent works with two kinds of files: folders you grant from your
file store, and scratch files local to its execution environment.

## Granted folders

mob.so keeps your files in one durable store per account. The Files node in
the agent's configuration grants folders from that store, and each granted
folder appears in the agent's environment under `/home/agent/files`. A folder
grant covers everything inside the folder, and the agent can read and write
those paths.

Changes the agent writes under `/home/agent/files` are saved to the store, so
they remain available across runs, environment replacements, and runtime
resets. Removing a grant removes the folder from the environment before the
next run starts.

## Scratch files

The agent may also create local files in its working directory,
`/home/agent/workspace`. mob.so reuses the environment for later runs, so
scratch files usually remain available between runs. They are not saved to
your file store.

## Reset behavior

Resetting the runtime cancels active runs and removes the current environment,
including its scratch files. It also clears saved runtime thread state.
Granted folders are unaffected, and the next run creates a new environment
from the deployed configuration with the same grants.

[Managing agents](/managing-an-agent) covers deployment, reset, and deletion.
