Tagged articles

agent filesystem

1 articles · Page 1 of 1
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