Skip to content

deep-memory-agent

License: MIT Version Python

Factory for building LangChain deepagents equipped with episodic, semantic, and procedural memory.

Memory is a small wiki of plain markdown files that the agent maintains itself: it records what happened, supersedes what is no longer true, and consolidates recurring patterns into durable knowledge. The tree lives at the virtual path /memory/, served by a deepagents backend — no tool in this package touches the host filesystem directly.

The package ships two agents over that tree, because recall and curation pull in opposite directions:

Factory Can write? Use it for
create_memory_search_agent No, denied at the backend Answering from memory
create_memory_manager_agent Yes, and it is the only writer Recording, superseding, consolidating

Start with Getting started, read Memory layout for the file format and the rules that govern it, or jump to the API reference.