# SandboxBackendProtocol

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/backends/protocol/SandboxBackendProtocol)

Extension of `BackendProtocol` that adds shell command execution.

Designed for backends running in isolated environments (containers, VMs,
remote hosts).

Adds `execute()`/`aexecute()` for shell commands and an `id` property.

See `BaseSandbox` for a base class that implements all inherited file
operations by delegating to `execute()`.

## Signature

```python
SandboxBackendProtocol()
```

## Extends

- `BackendProtocol`

## Properties

- `id`

## Methods

- [`execute()`](https://reference.langchain.com/python/deepagents/backends/protocol/SandboxBackendProtocol/execute)
- [`aexecute()`](https://reference.langchain.com/python/deepagents/backends/protocol/SandboxBackendProtocol/aexecute)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/88c2b5cb874dc1d093acf54d2a967ba6e085c99b/libs/deepagents/deepagents/backends/protocol.py#L738)