Skip to content
Tagged articles

FilesystemMiddleware

4 articles · Page 1 of 1
Fun with Large Models
Fun with Large Models
Apr 22, 2026 · Artificial Intelligence

How to Quickly Integrate Agent Skills in LangChain DeepAgents

This article provides a step‑by‑step guide to using Agent Skills in LangChain DeepAgents, covering the Skills directory structure, the four engineering steps (discovery, system‑prompt injection, progressive loading, execution), and two practical examples—a simple skill lookup and a complex docx‑processing skill—complete with code snippets and troubleshooting tips.

Agent SkillDeepAgentsFilesystemMiddleware
0 likes · 15 min read
How to Quickly Integrate Agent Skills in LangChain DeepAgents
Fun with Large Models
Fun with Large Models
Mar 11, 2026 · Artificial Intelligence

LangChain DeepAgents Quick Guide – FileSystem Middleware Gives AI Agents System‑Level Memory Management

This article explains why AI agents need a memory‑management solution, introduces LangChain DeepAgents' FileSystem middleware, details its four backend options for short‑term, long‑term, disk‑based, and hybrid storage, and provides step‑by‑step Python examples for installing, configuring, and using the middleware in real‑world scenarios.

AI AgentDeepAgentsFilesystemMiddleware
0 likes · 16 min read
LangChain DeepAgents Quick Guide – FileSystem Middleware Gives AI Agents System‑Level Memory Management
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
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