Skip to content

Memory manager

MemoryManager

Bases: ComponentManagerBase

The MemoryManager class, which is used to manage memories.

Source code in agentuniverse/agent/memory/memory_manager.py
Python
@singleton
class MemoryManager(ComponentManagerBase):
    """The MemoryManager class, which is used to manage memories."""

    def __init__(self):
        """Initialize the MemoryManager."""
        super().__init__(ComponentEnum.MEMORY)

__init__()

Initialize the MemoryManager.

Source code in agentuniverse/agent/memory/memory_manager.py
Python
def __init__(self):
    """Initialize the MemoryManager."""
    super().__init__(ComponentEnum.MEMORY)