deep-agents-memory

Store data across sessions and perform file operations with pluggable backends.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/orezek/paradegolf --skill deep-agents-memory-orezek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deep-agents-memory
Source: https://github.com/orezek/paradegolf/tree/main/.agents/skills/deep-agents-memory
Command: npx skills add https://github.com/orezek/paradegolf --skill deep-agents-memory-orezek

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires deepagents, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides persistent memory and filesystem access for Deep Agents, enabling them to handle state across sessions, threads, and file operations.

Core Features & Use Cases

  • Persistent Memory: Store data across agent sessions with StoreBackend.
  • Filesystem Access: Use FilesystemMiddleware for file operations like ls, read_file, write_file, etc.
  • Composite Backend: Route paths to different backends for hybrid storage.
  • Use Case: Store user preferences across different agent sessions using CompositeBackend.

Quick Start

Use the deep-agents-memory skill to store a user preference as 'user-prefs.txt'.

Frequently Asked Questions about deep-agents-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist agent memory across different sessions and threads?

You can persist agent memory across sessions and threads by using StoreBackend. This enables cross-session data storage so your deep agents retain state and user preferences over time.

What is the best way to manage hybrid storage routing for agent file operations?

The best way to manage hybrid storage routing is using CompositeBackend. It routes paths to different backends, allowing you to handle file operations and persistent memory across various storage mechanisms simultaneously.

Does deepagents support filesystem access for reading and writing files?

Yes, deepagents supports filesystem access via FilesystemMiddleware. It handles file operations like ls, read_file, and write_file, enabling agents to interact directly with the filesystem using pluggable backends.

Can I use StateBackend for agent persistence, or do I need StoreBackend?

You can use either StateBackend or StoreBackend for agent persistence. StateBackend handles state management, while StoreBackend provides persistent data storage, and CompositeBackend combines both for hybrid use cases.

Do I need the deepagents library to enable cross-session memory storage?

Yes, you need the deepagents library to enable cross-session memory storage. It is required for backend selection, file operations, and managing the persistent memory mechanisms used by deep agents.