Tagged articles

LocalShellBackend

2 articles · Page 1 of 1
Tech Ocean
Tech Ocean
May 5, 2026 · Backend Development

Switching an Agent’s File System Like Building Blocks with Deep Agents Backend

The article explains Deep Agents’ Backend abstraction, compares StateBackend, FilesystemBackend, StoreBackend, LocalShellBackend and CompositeBackend, and provides a step‑by‑step selection guide based on persistence, sharing, and command‑execution isolation, with code examples and routing tables for practical implementation.

CompositeBackendDeepAgentsFilesystemBackend
0 likes · 10 min read
Switching an Agent’s File System Like Building Blocks with Deep Agents Backend
Code Archaeology
Code Archaeology
Mar 9, 2026 · Artificial Intelligence

How Deep Agents Implements Shell Command Execution: Inside FilesystemMiddleware

This article dissects Deep Agents' shell command execution via the FilesystemMiddleware's execute tool, detailing its parameter validation, backend resolution through SandboxBackendProtocol, LocalShellBackend's subprocess-based implementation, BaseSandbox's abstract interface for isolated sandboxes, and a practical example using a local workspace.

AI EngineeringBaseSandboxDeep Agents
0 likes · 10 min read
How Deep Agents Implements Shell Command Execution: Inside FilesystemMiddleware