deep-agents-memory
INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access.
Skill by Harmeet10000
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/harmeet10000-deep-agents-memory
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/deep-agents-memory
What's inside
- Skill name
deep-agents-memory- Description
- INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.
- License
- MIT
- Instructions
- 298 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
<overview>
Deep Agents use pluggable backends for file operations and memory:
**Short-term (StateBackend)**: Persists within a single thread, lost when thread ends
**Long-term (StoreBackend)**: Persists across threads and sessions
**Hybrid (CompositeBackend)**: Route different paths to different backends
FilesystemMiddleware provides tools: `ls`, `read_file`, `write_file`, `edit_file`, `glob`, `grep`
</overview>
<backend-selection>
| Use Case | Backend | Why |
|----------|---------|-----|
| Temporary working files | StateBackend | Default, no setup |
| Local development CLI | FilesystemBackend | Direct disk access |
| Cross-session memory | StoreBackend | Persists across threads |
| Hybrid storage | CompositeBackend | Mix ephemeral + persistent |
</backend-selection>
<ex-default-state-backend>
<python>
Default StateBackend stores files ephemerally within a thread.
```python
from deepagents import create_deep_agent
agent = create_deep_agent() # Default: StateBackend
result = agent.invoke({
"messages": [{"role": "user", "content": "Write notes to /draft.txt"}]
}, config={"configurable": {"thread_id": "thread-1"}})
# /draft.txt is lost when thread ends
```
</python>
<typescript>
Default StateBackend stores files ephemerally within a thread.
```typescript
import { createDeepAgent } from "deepagents";
const agent = await createDeepAgent(); // Default: StateBackend
const result = await agent.invoke({
messages: [{ role: "user", content: "Write notes to /draft.txt" }]
}, { configurable: { thread_id: "thread-1" } });
// /draft.txt is lost when thread ends
```
</typescript>
</ex-default-state-backend>
<ex-composite-backend-for-hybrid>
<python>
Configure CompositeBackend to route paths to different storage backends.
```python
from deepagents import create_deep_agent
from deepagents.backends import CompositeBackend, StateBackend, StoreBackend
from langgraph.store.memory import InMemoryStore
store = InMemoryStore()
composite_backend = lambda rt: CompositeBackend(
default=StateBackend(rt),
routes={"/memories/": StoreBackend(rt)}
)
agent = create_deep_agent(backend=composite_backend, store=store)
# /draft.txt -> ephemeral (StateBackend)
# /memories/user-prefs.txt -> persistent (StoreBackend)
```
</python>
<typescript>
Configure CompositeBackend to route paths to different storage backends.
```typescript
import { createDeepAgent, CompositeBackend, StateBackend, StoreBackend } from "deepagents";
import { InMemoryStore } from "@langchain/langgraph";
const store = new InMemoryStore();
const agent = await createDeepAgent({
backend: (config) => new CompositeBackend(
new StateBackend(config),
{ "/memories/": new StoreBackend(config) }
),
store
});
// /draft.txt -> ephemeral (StateBackend)
// /memories/user-prefs.txt -> persistent (StoreBackend)
```
</typescript>
</ex-composite-backend-for-hybrid>
<ex-cross-session-memory>
<python>
Files in /memories/ persist across threads via StoreBackend routing.
```python
# Using CompositeBackend from previous example
config1 = {"configurable": {"thread_id": "thread-1"}}
agent.invoke({"messages": [{"role": "user", "content": "Save to /memories/style.txt"}]}, config=config1)
config2 = {"configurable": {"thread_id": "thread-2"}}
agent.invoke({"messages": [{"role": "user", "content": "Read /memories/style.txt"}]}, config=config2)
# Thread 2 can read file saved by Thread 1
```
</python>
<typescript>
Files in /memories/ persist across threads via StoreBackend routing.
```typescript
// Using CompositeBackend from previous example
const config1 = { configurable: { thread_id: "thread-1" } };
await agent.invoke({ messages: [{ role: "user", content: "Save to /memories/style.txt" }] }, config1);
const config2 = { configurable: { thread_id: "thread-2" } };
await agent.invoke({ messages: [{ role: "user", content: "Read /memories/style.txt" }] }, config2);
// Thread 2 can read file saved by Thread 1
```
</typescript>
</ex-cross-session-memory>
<ex-filesystem-backend-local-dev>From Harmeet10000/skills, MIT.
More from Harmeet10000/skills
- 0.474score
text-to-speech
Harmeet10000
Convert text to speech using ElevenLabs voice AI.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langsmith-evaluator
Harmeet10000
INVOKE THIS SKILL when building evaluation pipelines for LangSmith.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langchain-dependencies
Harmeet10000
INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph…
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
ai-music-generation
Harmeet10000
Generate AI music and songs with Diffrythm, Tencent Song Generation via inference.sh CLI.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
langsmith-dataset
Harmeet10000
INVOKE THIS SKILL when creating evaluation datasets, uploading datasets to LangSmith, or managing existing datasets.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
langsmith-trace
Harmeet10000
INVOKE THIS SKILL when working with LangSmith tracing OR querying traces.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
langchain-middleware
Harmeet10000
INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware, or structured output.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-core
Harmeet10000
INVOKE THIS SKILL when building ANY Deep Agents application.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-orchestration
Harmeet10000
INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents.
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
langchain-fundamentals
Harmeet10000
Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.
SkillDFreshness: D★ 7Claude Code +9 - 0.461score
crawl4ai
Harmeet10000
Complete toolkit for web crawling and data extraction using Crawl4AI.
SkillDFreshness: D★ 7Claude Code +9 - 0.460score
langchain-architecture
Harmeet10000
Design LLM applications using LangChain 1.x and LangGraph for agents, memory, and tool integration.
SkillDFreshness: D★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 15, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Harmeet10000/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Harmeet10000
- 0.474score
text-to-speech
Harmeet10000
Convert text to speech using ElevenLabs voice AI.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langchain-dependencies
Harmeet10000
INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph…
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
ai-music-generation
Harmeet10000
Generate AI music and songs with Diffrythm, Tencent Song Generation via inference.sh CLI.
SkillDFreshness: D★ 7Claude Code +9 - 0.469score
langsmith-evaluator
Harmeet10000
INVOKE THIS SKILL when building evaluation pipelines for LangSmith.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-core
Harmeet10000
INVOKE THIS SKILL when building ANY Deep Agents application.
SkillDFreshness: D★ 7Claude Code +9 - 0.466score
deep-agents-orchestration
Harmeet10000
INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents.
SkillDFreshness: D★ 7Claude Code +9
Cite this page
deep-agents-memory skill. Agent Mart. https://agentmart.dev/skills/harmeet10000-deep-agents-memory (last updated 2026-10-24)