How we built agent sandboxing on macOS, Linux, and Windows to reduce interruptions while improving security.