Overview
You can upload files to any environment via the Files tab in the web UI, or using theorwd CLI:

/orwd_data/ on the environment server. Your environment server code always has full access to everything in /orwd_data/.
Sandboxes, on the other hand, only see what you explicitly mount. This separation is critical: it lets your server hold ground truth data (answers, test cases, rubrics) that the agent in the sandbox never sees.
Two Purposes for Your Files
Your uploaded files serve two distinct roles:Server-Side Data
The environment server always has access to everything in/orwd_data/. This is where you store data that only your server should see — ground truth answers, expected outputs, rubrics, and evaluation data.
Local vs Production Paths
/orwd_data/ only exists when your environment is deployed to OpenReward. When developing locally, your files live alongside your code. Use a simple check to handle both cases:
/orwd_data/ automatically when deployed.
Sandbox Data
To give the agent access to files, you mount a directory from/orwd_data/ into the sandbox using SandboxBucketConfig. The key parameter is only_dir, which restricts the mount to a specific subdirectory.
/workspace will contain only the files from /orwd_data/agent/ — nothing else.
Organising Your Files
Structure your uploaded files with separate directories for server data and agent data:agent/ directory:
Full Example
Here is a complete environment that keeps ground truth on the server and mounts only input data to the sandbox: File structure in/orwd_data/:
Common Mistake: Mounting Everything
only_dir to restrict access to a specific subdirectory.
Next Steps
Cloud Storage
Full reference for SandboxBucketConfig parameters
Building Agentic Environments
End-to-end tutorial for building an environment with sandboxes

