The CLI uses the sandbox as tool pattern: the CLI process (LLM loop, memory, tool dispatch) runs on your machine, but agent tool calls (Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
read_file, write_file, execute, etc.) target the remote sandbox, not your local filesystem. To get files into the sandbox, use a setup script or the provider’s file transfer APIs (see Working with files).
For a deeper look at sandbox architecture, integration patterns, and security best practices, see Sandboxes.
Install provider dependency
- LangSmith
- Daytona
- Modal
- Runloop
- AgentCore
Included by default when installing
deepagents-cli. No extra installation needed.Sandbox flags and examples
| Flag | Description |
|---|---|
--sandbox TYPE | Sandbox provider to use: langsmith, agentcore, modal, daytona, or runloop (default: none) |
--sandbox-id ID | Reuse an existing sandbox by ID instead of creating a new one. Skips creation and cleanup. Refer to your sandbox documentation for more |
--sandbox-setup PATH | Path to a setup script to run inside the sandbox upon creation |
Setup scripts
Use--sandbox-setup to run a shell script inside the sandbox after creation. This is useful for cloning repos, installing dependencies, and configuring environment variables.
setup.sh
${VAR} references in setup scripts using your local environment variables. Store secrets in a local .env file for the setup script to access.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

