Control which files and directories an agent can read or write to using declarative permission rules. Pass a list of rules toDocumentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-mdrxyo-1777658790-7be347c.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
permissions= and the agent’s built-in filesystem tools respect them.
Permissions require
deepagents>=1.9.1.ls, read_file, glob, grep, write_file, edit_file). Custom tools and MCP tools that access the filesystem are not covered. Permissions also do not apply to sandbox backends, which support arbitrary command execution via the execute tool.
Basic usage
Rule structure
Examples
Subagent permissions
Composite backends
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

