Cursor
Cursor logoCursor · Feature trail

Agent Sandboxing

3 posts · Feb 2026 – Jun 2026

What this trail covers

Agent sandboxing has been rolled out on macOS, Linux, and Windows to provide agents with execution boundaries. Sandboxed agents run freely inside a controlled environment and only request approval when they need to step outside it, reducing interruptions and improving security. This involves dynamic policy generation for macOS using Seatbelt, direct use of Landlock and seccomp on Linux, and running Linux sandboxes within WSL2 on Windows. Agents are taught to use the sandbox by updating Shell tool descriptions and surfacing sandbox constraints in failure messages. This has led to a 40% reduction in agent interruptions and is being adopted by enterprise customers.

All Cursor trails