Cortex Agents will get a sandbox by default (pending)
Cortex Agents get a sandbox by default (Pending)
Snowflake issued a behavior change announcement: Cortex Agents will get a sandbox by default, regardless of whether the agent specification includes the code_execution tool, effective December 9, 2026 for accounts that have not opted out, with the opt-out option removed starting February 20, 2027. Previously, only agents whose specifications included code_execution had a sandbox; after the change, the sandbox provides tools such as bash, file read/write, search, and Python. Agents without code_execution invoked via CoWork will gain read/write access to the user's default workspace; those invoked via the Cortex Agents API will by default have only a sandbox with no workspace mounted, which can be enabled with sandbox_config's mount_user_default_workspace, and the request must include a thread ID for the mount to occur.