MemoriesConfig(
self,
backend: MemoriesBackend = 'hub',
identifier: str = '',
agent_writable: bool| Name | Type |
|---|---|
| backend | MemoriesBackend |
| identifier | str |
| agent_writable | bool |
[memories] section — backing store for /memories/.
backend = "hub" (default) routes /memories/ through a
ContextHubBackend bound to a LangSmith Hub agent repo, giving
persistent, git-like storage. backend = "store" routes it through a
StoreBackend against the LangGraph runtime store.
identifier overrides the Hub agent repo. When omitted, it defaults
to -/{agent.name} at bundle time.
agent_writable controls whether the agent can write to /memories/.
When False (default), agent memory is read-only and only user memories
under /memories/user/ are writable. When True, the agent can write
anywhere under /memories/.