haive.agents.memory.tools¶
Memory tools for save/search/KG operations.
Tools use closures to capture the store instance. Designed for use with ReactAgent’s tool-calling loop.
Functions¶
|
Create memory tools bound to a specific store and user. |
Module Contents¶
- haive.agents.memory.tools.create_memory_tools(store, user_id='default')¶
Create memory tools bound to a specific store and user.
- Parameters:
store (Any) – LangGraph BaseStore instance (InMemoryStore or PostgresStore)
user_id (str) – User ID for namespace scoping
- Returns:
[save_memory, search_memory, save_knowledge]
- Return type:
List of tools