Skip to content
masterclass Buddy

Deep Agents · Class

LocalFilesystemSandbox

LocalFilesystemSandbox is a local sandbox backend for deep agents. It lets an agent run commands and work with files in an isolated workspace.

Last updated

Syntax

LocalFilesystemSandbox(root_dir=...)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • BaseSandbox
  • SandboxBackendProtocol
  • Backends

Source: sandboxes | deepagents | LangChain Reference. Checked 2026-11-03.