Tagged articles

CompositeBackend

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 2, 2026 · Artificial Intelligence

Inside Deep Agents' FilesystemMiddleware: 6 Tools, 2 Hooks & Multi-Backend Architecture

This article dissects Deep Agents' FilesystemMiddleware implementation, covering six filesystem tools (ls, read_file, write_file, edit_file, glob, grep), two core middleware hooks for system prompt injection and large-result eviction, and the BackendProtocol layer with four backend implementations including CompositeBackend's longest-prefix routing for complex scenarios.

BackendProtocolCompositeBackendDeep Agents
0 likes · 12 min read
Inside Deep Agents' FilesystemMiddleware: 6 Tools, 2 Hooks & Multi-Backend Architecture