Skip to content

memory_manage

memory_manage

Manage persistent agent memory (MEMORY.md).

Classes

MemoryManageTool

MemoryManageTool(memory_path: Path | str | None = None)

Bases: BaseTool

Manage persistent agent memory (MEMORY.md).

Source code in src/openjarvis/tools/memory_manage.py
def __init__(self, memory_path: Path | str | None = None) -> None:
    if memory_path is None:
        memory_path = get_config_dir() / "MEMORY.md"
    self._memory_path = Path(memory_path).expanduser()

Functions