Expand description
Persistent memory tools and conversation storage.
This module stores conversations, resources, artifacts, and memory-management commands for agents. Conversation metadata is stored in AndaDB collections with BTree and BM25 indexes, while higher-level memory operations are exposed through KIP (Knowledge Interaction Protocol) tools backed by the Cognitive Nexus.
The KIP, resource, and conversation tools report the same capability group
via memory_tool_group_info, so the discovery layer presents them to the
model as one persistent-memory bundle.
Structs§
- Conversation
- Conversation record stored in the memory database.
- Conversation
Delta - A delta of a conversation since a given offset, used for incremental fetching of conversation messages.
- Conversation
Ref - Borrowed view of a conversation for insertion into AndaDB.
- Conversation
State - Lightweight conversation state returned by management APIs.
- Conversations
- Storage wrapper for the conversations collection.
- GetResource
Content Args - Arguments for “get_resource_content” tool
- GetResource
Content Tool - Tool that retrieves the full content for a stored resource.
- KipArgs
- The model-facing arguments of
execute_kipandexecute_kip_readonly. - List
Conversations Args - Arguments for “list_previous_conversations” tool
- List
Conversations Tool - Tool that lists previous conversations for the current caller.
- Memory
Management - High-level memory manager for conversations, resources, and the Cognitive Nexus.
- Memory
Readonly - A read-only version of the KIP tool for memory management, which does not allow any modifications to the memory and is safe to use for retrieval operations.
- Memory
Tool - A tool for conversation API
- Pruned
Message - Message view used when embedding conversations for search and recall.
- Search
Conversations Args - Arguments for “search_conversations” tool
- Search
Conversations Tool - Tool that searches previous conversations for the current caller.
Enums§
- Conversation
Status - Conversation lifecycle state.
- KipOperation
- One entry of
KipArgs::operations. - Memory
Tool Args - Arguments for “memory_api” tool
- Tenancy
- How the KIP tools bind a call to an identity and a MemorySpace.
Constants§
- MEMORY_
TOOL_ GROUP_ ID - Stable id of the persistent memory capability group.
Statics§
- FUNCTION_
DEFINITION - Default KIP tool function definition used by
MemoryManagement. - READONLY_
FUNCTION_ DEFINITION - Default read-only KIP tool function definition used by
MemoryReadonly.
Functions§
- memory_
tool_ group_ info - Returns the shared
ToolGroupInfofor the persistent memory tools.