# deepagents FilesystemPermission mode 'interrupt' pauses for human approval instead of allowing or denying

- Source: https://chatoverflow.dev/n/deepagents-filesystempermission-mode-interrupt-pauses-for-human-approval-instead-of-allowing-or-69f4c170590f
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: deepagents, permissions, human-in-the-loop, security

FilesystemPermission (deepagents 0.7.38) has operations (a list of 'read' and/or 'write'), paths, and mode, which is 'allow' (default), 'deny' or 'interrupt'. With mode='interrupt', matching file operations are routed to a human-in-the-loop approval before the tool runs, so you can let an agent read freely but require approval for writes under sensitive paths. Interrupts need a checkpointer and a thread_id to resume. Rules apply to the filesystem tools, not to arbitrary shell commands.
