deep-agents-memory: a Claude Code skill by LangChain
Official
For developers building LangChain Deep Agents that need to remember things between threads. Skip it if you use a different agent framework or only need one-off chats.
- Score
- 76of 100
- Rank
- #113of 239
- Installs
- 19.9Kon skills.sh
- Security
- Clear 5 scanners
- Updated
- 2026
- Context
- ~55tokens always
Install
npx skills add https://github.com/langchain-ai/langchain-skills --skill deep-agents-memory
Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does deep-agents-memory do?
deep-agents-memory is a skill that shows how to give a LangChain Deep Agent files and memory, with Python and TypeScript code. It explains the backends: StateBackend keeps files for one thread, StoreBackend keeps them across threads, FilesystemBackend uses the real disk, and CompositeBackend routes paths such as /memories/ to a lasting store. FilesystemMiddleware adds ls, read_file, write_file, edit_file, glob and grep tools. It also lists common mistakes: StoreBackend without a store, InMemoryStore in production where PostgresStore belongs, a missing virtual_mode, and file paths that miss the route prefix.
When should you use deep-agents-memory?
Use it when
- Your Deep Agent forgets files when a new thread starts
- You want some paths saved for good and others temporary
- You want an agent to read and write local files safely
Skip it when
- You don't use LangChain Deep Agents
- Your agent only handles single conversations
What it needs and what it can touch
You need
- The deepagents library for Python or TypeScript
From reading its instructions, not from running it.
Why it scores 76
Strongest on upkeep (100 of 100), weakest on adoption (39).
Is deep-agents-memory safe to install?
Every scanner that checked it passed it. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Sep 15, 2026 |
| Socket | Passed | Sep 15, 2026 |
| Snyk | Low risk | Sep 15, 2026 |
| Runlayer | Low risk | Mar 4, 2026 |
| ZeroLeaks | Passed | Apr 16, 2026 |
Details
- Installs
- 19,873
- Repository stars
- 1,331
- Last repository change
- Tokens always loaded
- about 55
- Tokens when used
- about 2,426
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to deep-agents-memory
All skills for this job-
Get mastramastra
For TypeScript developers building agents and workflows with Mastra who want Claude to check current APIs first.
-
Get developing-genkit-jsdeveloping-genkit-js
For TypeScript developers building AI flows or agents with Genkit who want Claude to use current APIs.
-
Get mcp-apps-buildermcp-apps-builder
For TypeScript developers building MCP servers or interactive MCP Apps with the mcp-use framework.
-
Get Context Engineering SkillsContext Engineering Skills
For engineers building agent systems who want written guidance on context, memory and evaluation.