Understand what sandboxes are and why environments need them
What are Sandboxes?
Sandboxes are isolated execution environments. They are temporary, disposable computers that are spin up when needed and shut down when finished.When you run AI-generated code, sandboxes provide:
Isolation: Code runs in its own container, separated from your system
Security: Malicious code can’t access your files or network
Reproducibility: Each sandbox starts fresh with a clean state
Scalability: Spin up hundreds of sandboxes simultaneously
Sandboxes in Environments
Environments can be powerful with custom tools alone, but sandboxes unlock a new level of capability by giving agents access to a full computer environment.Sandboxes enable agents to:
Execute code: Run Python, JavaScript, shell scripts, and more
Use command-line tools: Install packages, run git commands, process files
Test solutions: Write code, run it, debug errors, and iterate
Access file systems: Read, write, and manipulate files across multiple tool calls
For example, in a mathematics environment, an agent might:
Write Python code to solve an equation
Execute the code in a sandbox
Get the result back
Submit the final answer
This workflow requires code execution, which sandboxes provide. Without sandboxes, you’d need to define custom tools for mathematical operations instead.
Sandbox Providers
ORS environments work with any sandbox provider.**OpenReward provides a sandbox solution that plays nicely with mounting agent filesystems. We show how to use this in
the Sandboxes documentation, as well as the Building agentic environments tutorial.But ORS environments are built to be vendor-agnostic, and work just as well with standard sandbox providers in the community. Some examples include:
All three providers work the same way from your agent’s perspective. The only difference is how you initialize the sandbox in your environment.
Work in Progress. Right now OpenReward environment files can only be mounted to OpenReward sandboxes, but we are working on a solution that allows you to mount it
to any sandbox provider. Likewise, we are working on a way to mount external filesystems (e.g. AWS S3, GCP, Azure) to OpenReward sandboxes.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"OpenReward","colors":{"primary":"#4E3E36","light":"#F7E6CC","dark":"#4E3E36"},"logo":{"light":"https://mintcdn.com/openreward/aGLui0j0UzLyTB-h/logo/light.png?fit=max\u0026auto=format\u0026n=aGLui0j0UzLyTB-h\u0026q=85\u0026s=b44c87e8b2283cc0275bca7e15cc9f12","dark":"https://mintcdn.com/openreward/aGLui0j0UzLyTB-h/logo/dark.png?fit=max\u0026auto=format\u0026n=aGLui0j0UzLyTB-h\u0026q=85\u0026s=184404ce196f97f79c17d987f2c5ff2e"},"favicon":"https://mintcdn.com/openreward/wPHCZE1dhf9tP1m6/favicon.svg?fit=max\u0026auto=format\u0026n=wPHCZE1dhf9tP1m6\u0026q=85\u0026s=521fdff034198d897dace345ff9ae214","navbar":{"links":[{"href":"mailto:hello@openreward.ai","label":"Support"}],"primary":{"type":"button","label":"OpenReward","href":"https://openreward.ai"}},"footer":{"socials":{"x":"https://x.com/OpenReward","github":"https://github.com/OpenReward"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openreward","hasAudioNarration":false,"actualSubdomain":"openreward","customDomains":["docs.openreward.ai"],"gitSource":{"type":"github","owner":"generalreasoning","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aabc00b4ae6923da15b5f0b","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Guides","count":49},{"language":"default","tag":"Making Environments","count":12},{"language":"default","tag":"Advanced Environment Topics","count":12},{"language":"default","tag":"Sandbox Providers","count":5},{"language":"default","tag":"Training","count":5},{"language":"default","tag":"Core Concepts","count":3},{"language":"default","tag":"Deployment","count":2},{"language":"default","tag":"Harnesses","count":2},{"language":"default","tag":"Get started","count":2},{"language":"default","tag":"Integrations","count":2}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"sandboxes/why-sandboxes","slug":"/sandboxes/why-sandboxes","pageMetadata":{"title":"Why use Sandboxes?","description":"Understand what sandboxes are and why environments need them","icon":"shield","href":"/sandboxes/why-sandboxes"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand what sandboxes are and why environments need them\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`what-are-sandboxes`,children:`What are Sandboxes?`}),`\n`,_jsx(_components.p,{children:`Sandboxes are isolated execution environments. They are temporary, disposable computers that are spin up when needed and shut down when finished.`}),`\n`,_jsx(_components.p,{children:`When you run AI-generated code, sandboxes provide:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Isolation`}),`: Code runs in its own container, separated from your system`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Security`}),`: Malicious code can’t access your files or network`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reproducibility`}),`: Each sandbox starts fresh with a clean state`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scalability`}),`: Spin up hundreds of sandboxes simultaneously`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`sandboxes-in-environments`,children:`Sandboxes in Environments`}),`\n`,_jsx(_components.p,{children:`Environments can be powerful with custom tools alone, but sandboxes unlock a new level of capability by giving agents access to a full computer environment.`}),`\n`,_jsx(_components.p,{children:`Sandboxes enable agents to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Execute code`}),`: Run Python, JavaScript, shell scripts, and more`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use command-line tools`}),`: Install packages, run git commands, process files`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Test solutions`}),`: Write code, run it, debug errors, and iterate`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Access file systems`}),`: Read, write, and manipulate files across multiple tool calls`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`For example, in a mathematics environment, an agent might:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Write Python code to solve an equation`}),`\n`,_jsx(_components.li,{children:`Execute the code in a sandbox`}),`\n`,_jsx(_components.li,{children:`Get the result back`}),`\n`,_jsx(_components.li,{children:`Submit the final answer`}),`\n`]}),`\n`,_jsx(_components.p,{children:`This workflow requires code execution, which sandboxes provide. Without sandboxes, you’d need to define custom tools for mathematical operations instead.`}),`\n`,_jsx(Heading,{level:`2`,id:`sandbox-providers`,children:`Sandbox Providers`}),`\n`,_jsx(_components.p,{children:`ORS environments work with any sandbox provider.**`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://openreward.ai`,children:`OpenReward`}),` provides a sandbox solution that plays nicely with mounting agent filesystems. We show how to use this in\nthe `,_jsx(_components.a,{href:`/concepts/sandboxes`,children:`Sandboxes documentation`}),`, as well as the `,_jsx(_components.a,{href:`/environments/building-agentic-environments`,children:`Building agentic environments`}),` tutorial.`]}),`\n`,_jsx(_components.p,{children:`But ORS environments are built to be vendor-agnostic, and work just as well with standard sandbox providers in the community. Some examples include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Using E2B`}),`: See `,_jsx(_components.a,{href:`/sandboxes/e2b`,children:`Using E2B Sandboxes`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Using Daytona`}),`: See `,_jsx(_components.a,{href:`/sandboxes/daytona`,children:`Using Daytona Sandboxes`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Using Modal`}),`: See `,_jsx(_components.a,{href:`/sandboxes/modal`,children:`Using Modal Sandboxes`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`All three providers work the same way from your agent’s perspective. The only difference is how you initialize the sandbox in your environment.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Work in Progress`}),`. Right now OpenReward environment files can only be mounted to OpenReward sandboxes, but we are working on a solution that allows you to mount it\nto any sandbox provider. Likewise, we are working on a way to mount external filesystems (e.g. AWS S3, GCP, Azure) to OpenReward sandboxes.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Why use Sandboxes?","description":"Understand what sandboxes are and why environments need them","icon":"shield","href":"/sandboxes/why-sandboxes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What are Sandboxes?","slug":"what-are-sandboxes","depth":2,"children":[]},{"title":"Sandboxes in Environments","slug":"sandboxes-in-environments","depth":2,"children":[]},{"title":"Sandbox Providers","slug":"sandbox-providers","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"openreward","siteName":"OpenReward","title":"Why use Sandboxes? - OpenReward","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-24T04:30:22.366Z","originalFileLocation":"sandboxes/why-sandboxes.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Understand what sandboxes are and why environments need them\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenReward\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Why use Sandboxes? - OpenReward\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand what sandboxes are and why environments need them\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenReward\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openreward.ai/sandboxes/why-sandboxes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openreward.mintlify.site/_mintlify/api/og/v2?division=Sandbox+Providers\u0026amp;title=Why+use+Sandboxes%3F\u0026amp;description=Understand+what+sandboxes+are+and+why+environments+need+them\u0026amp;theme=103fadf33c0b63d6b1871ff5\u0026amp;signature=d02981a619ddeab6814ff4f4b73a2c0c338288395cd92e0bc4160cdcb2673ee3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Why use Sandboxes? - OpenReward\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand what sandboxes are and why environments need them\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openreward.mintlify.site/_mintlify/api/og/v2?division=Sandbox+Providers\u0026amp;title=Why+use+Sandboxes%3F\u0026amp;description=Understand+what+sandboxes+are+and+why+environments+need+them\u0026amp;theme=103fadf33c0b63d6b1871ff5\u0026amp;signature=d02981a619ddeab6814ff4f4b73a2c0c338288395cd92e0bc4160cdcb2673ee3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/openreward/k03pRPnY8W7I9F28/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenReward\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4E3E36\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openreward.ai/sandboxes/why-sandboxes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sandboxes/why-sandboxes.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openreward.ai/#organization\",\"name\":\"OpenReward\",\"url\":\"https://docs.openreward.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openreward/aGLui0j0UzLyTB-h/logo/light.png?fit=max\u0026auto=format\u0026n=aGLui0j0UzLyTB-h\u0026q=85\u0026s=b44c87e8b2283cc0275bca7e15cc9f12\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openreward.ai#website\",\"name\":\"OpenReward\",\"url\":\"https://docs.openreward.ai\",\"publisher\":{\"@id\":\"https://docs.openreward.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openreward.ai/sandboxes/why-sandboxes#webpage\",\"url\":\"https://docs.openreward.ai/sandboxes/why-sandboxes\",\"name\":\"Why use Sandboxes?\",\"description\":\"Understand what sandboxes are and why environments need them\",\"dateModified\":\"2026-03-24T04:30:22.366Z\",\"isPartOf\":{\"@id\":\"https://docs.openreward.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openreward.ai/sandboxes/why-sandboxes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openreward.ai/sandboxes/why-sandboxes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OpenReward\",\"item\":\"https://docs.openreward.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why use Sandboxes?\",\"item\":\"https://docs.openreward.ai/sandboxes/why-sandboxes\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.openreward.ai/sandboxes/why-sandboxes#article\",\"headline\":\"Why use Sandboxes?\",\"name\":\"Why use Sandboxes?\",\"description\":\"Understand what sandboxes are and why environments need them\",\"url\":\"https://docs.openreward.ai/sandboxes/why-sandboxes\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openreward.ai/sandboxes/why-sandboxes#webpage\"},\"dateModified\":\"2026-03-24T04:30:22.366Z\",\"publisher\":{\"@id\":\"https://docs.openreward.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openreward.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenReward\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenReward\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sandboxes/why-sandboxes.md","siteName":"OpenReward","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"What is OpenReward?","href":""},{"title":"Quickstart","mode":"wide","href":"/quickstart"}]},{"group":"Core Concepts","pages":[{"title":"Architecture Overview","icon":"sitemap","href":"/concepts/architecture"},{"title":"Environments","icon":"server","href":"/concepts/environments"},{"title":"Sandboxes","icon":"cube","href":"/concepts/sandboxes"}]},{"group":"Making Environments","pages":[{"title":"Your First Environment","icon":"earth","href":"/environments/your-first-environment"},{"title":"Building Agentic Environments","icon":"robot","href":"/environments/building-agentic-environments"},{"title":"Docker Images","icon":"docker","href":"/environments/docker-images"},{"title":"Ways to Access Tasks","icon":"list-check","href":"/environments/ways-to-access-tasks"},{"title":"Where Environment Data Lives","icon":"folder-tree","href":"/environments/where-environment-data-lives"},{"title":"Using LLM Graders","icon":"school","href":"/environments/using-llm-graders"},{"title":"Chat Backends","icon":"shuffle","href":"/environments/chat-backends"},{"title":"Using Rubrics","icon":"pen","href":"/environments/using-rubrics"},{"title":"Multi-turn Conversations","icon":"comments","href":"/environments/multi-turn-conversations"},{"title":"Preference Rewards","icon":"scale-balanced","href":"/environments/preference-rewards"},{"title":"Using the Async Client","icon":"computer","href":"/environments/async-client"},{"title":"Environment Cards","icon":"id-card","href":"/environments/environment-cards"}]},{"group":"Advanced Environment Topics","pages":[{"title":"Using the CLI","icon":"terminal","href":"/environments/using-the-cli"},{"title":"Debugging Environments","icon":"bug","href":"/environments/debugging-environments"},{"title":"Using Toolsets","icon":"toolbox","href":"/environments/using-toolsets"},{"title":"Web Tools","icon":"magnifying-glass","href":"/environments/web-tools"},{"title":"Backdated Web Tools","icon":"globe","href":"/environments/backdated-web-tools"},{"title":"Using Task-Specific Tools","icon":"wrench","href":"/environments/using-task-specific-tools"},{"title":"Using Terminal Tools","icon":"flag-checkered","href":"/environments/using-terminal-tools"},{"title":"Using Environment Variants","icon":"layer-group","href":"/environments/using-environment-variants"},{"title":"Making GPU Environments","icon":"microchip","href":"/environments/gpu-environments"},{"title":"Keeping Secrets Secret","icon":"key","href":"/environments/keeping-secrets-secret"},{"title":"Using a Custom Inference Endpoint","icon":"arrow-right-arrow-left","href":"/environments/using-a-custom-inference-endpoint"},{"title":"Deploying Harbor Environments","icon":"anchor","href":"/environments/deploying-harbor-environments"}]},{"group":"Training","pages":[{"title":"Training with Tinker","icon":"graduation-cap","href":"/training/training-with-tinker"},{"title":"Training with Slime","icon":"graduation-cap","href":"/training/training-with-slime"},{"title":"Training with Miles","icon":"graduation-cap","href":"/training/training-with-miles"},{"title":"Training with SkyRL","icon":"graduation-cap","href":"/training/training-with-skyrl"},{"title":"Debugging Training","icon":"bug","href":"/training/debugging-training"}]},{"group":"Evaluation","pages":[{"title":"Your first evaluation","icon":"trophy","href":"/environments/evaluation"}]},{"group":"Harnesses","pages":[{"title":"Harness Quickstart","icon":"rocket","href":"/harnesses/quickstart"},{"title":"Harness Toolsets","description":"Expose agent-native tool surfaces in your environments using session-scoped toolsets","icon":"toolbox","href":"/harnesses/harness-toolsets"}]},{"group":"Sandbox Providers","pages":[{"title":"Why use Sandboxes?","icon":"shield","href":"/sandboxes/why-sandboxes"},{"title":"Using OpenReward Sandboxes","description":"Use OpenReward native sandbox infrastructure with ORS environments","icon":"computer","href":"/sandboxes/openreward"},{"title":"Using E2B Sandboxes","icon":"computer","href":"/sandboxes/e2b"},{"title":"Using Daytona Sandboxes","icon":"computer","href":"/sandboxes/daytona"},{"title":"Using Modal Sandboxes","icon":"computer","href":"/sandboxes/modal"}]},{"group":"Standalone APIs","pages":[{"title":"BackSearch API","icon":"clock-rotate-left","href":"/api-reference/backdated-search"}]},{"group":"Integrations","pages":[{"title":"Using Harbor Environments","icon":"ship","href":"/integrations/using-harbor-environments"},{"title":"Using Verifiers Environments","icon":"check-double","href":"/integrations/using-verifiers-environments"}]},{"group":"Rollouts","pages":[{"title":"Recording Rollouts","icon":"scroll","href":"/rollouts/recording-rollouts"}]},{"group":"Deployment","pages":[{"title":"GitHub Deployment","icon":"github","href":"/deployment/github-integration"},{"title":"Local Development","icon":"laptop-code","href":"/deployment/local-development"}]},{"group":"Storage \u0026 Data","pages":[{"title":"Cloud Storage","icon":"database","href":"/storage/buckets"}]}]}]},"basePath":"","title":"Why use Sandboxes? - OpenReward","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}