deep-agents-memory

Installation
Summary

Pluggable memory and file backends for Deep Agents with ephemeral, persistent, and hybrid routing options.

  • Four backend types: StateBackend (thread-scoped, ephemeral), StoreBackend (cross-session persistent), FilesystemBackend (real disk access for local dev), and CompositeBackend (route different paths to different backends)
  • FilesystemMiddleware provides six file operation tools: ls, read_file, write_file, edit_file, glob, grep
  • CompositeBackend uses longest-prefix matching to route paths; files in matched routes persist across threads, others remain ephemeral
  • StoreBackend requires a store instance (InMemoryStore for dev, PostgresStore for production); FilesystemBackend requires virtual_mode=True to prevent directory escape attacks
SKILL.md

deep-agents-memory (retired)

deep-agents-memory was retired from langchain-skills. Use the langchain-build-agent skill instead.

  1. If langchain-build-agent is available, use it for this task.

  2. Otherwise, install it, then use it:

    npx skills add langchain-ai/langchain-skills --skill langchain-build-agent --yes
    
  3. Tell the user that deep-agents-memory is retired and that they can remove it with npx skills remove deep-agents-memory.

Installs
20.1K
GitHub Stars
1.4K
First Seen
Mar 3, 2026