Skip to main content
Back to registry

deep-agents-memory

langchain-ai/langchain-skills

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

Installs1
Install command
npx skills add https://github.com/langchain-ai/langchain-skills --skill deep-agents-memory
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
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 agent = create_deep_agent() # Default: StateBackend result = agent.invoke({ "messages": [{"role": "user", "content": "Write notes to /draft.txt"}] }, config={"configurable": {"thread_id": "thread-1"}}) store = InMemoryStore() composite_backend = lambda rt: CompositeBackend( default=StateBackend(rt), routes={"/memories/": StoreBackend(rt)} ) agent = create_deep_agent(backend=composite_backend, store=store) config2 = {"configurable": {"thread_id": "thread-2"}} agent.invoke({"messages": [{"role": "user", "content": "Read /memories/style.txt"}]}, config=config2) agent = create_deep_agent( backend=FilesystemBackend(root_dir=".", virtual_mode=True), # Restrict access interrupt_on={"write_file": True, "edit_file": True}, checkpointer=MemorySaver() ) Security: Never use FilesystemBackend in web servers - use StateBackend or sandbox instead. @tool def get_user_preference(key: str, runtime: ToolRuntime) -> str: """Get a user preference from long-term storage.""" store = runtime.store result = store.get(("user_prefs",), key) return str(result.value) if result else "Not found" @tool...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does deep-agents-memory do?

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

Is deep-agents-memory good?

deep-agents-memory does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does deep-agents-memory work with?

deep-agents-memory currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to deep-agents-memory?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install deep-agents-memory?

npx skills add https://github.com/langchain-ai/langchain-skills --skill deep-agents-memory

Related skills

More from langchain-ai/langchain-skills

Related skills

Alternatives in Software Engineering