Views
No views yet
1# File Operations
2create_file(file_path: str, content: str = "") -> bool # Auto-creates parent directories
3update_file(file_path: str, old_content: str, new_content: str) -> Union[bool, str] # Returns True or error message
4read_file(file_path: str) -> str
5delete_file(file_path: str) -> bool
6check_if_file_exists(file_path: str) -> bool
7
8# Directory Operations
9create_dir(dir_path: str) -> bool
10list_files() -> str # Shows tree structure of current working directory
11check_if_dir_exists(dir_path: str) -> bool
12
13# Utilities
14get_size(file_or_dir_path: str) -> int # Bytes; empty = total memory size
15go_to_link(link_string: str) -> bool<think>, <python> and <reply> tags to structure its response. Using <reply> only when it's done interacting with the memory. The <python> block is executed in a sandbox with the tools and the results of the code block are returned in a <result> tag to the model, forming the agentic loop.| Model | Retrieval | Update | Clarification | Filter | Overall |
|---|---|---|---|---|---|
| qwen/qwen3-235b-a22b-thinking-2507 | 0.9091 | 0.6363 | 0.4545 | 1 | 0.7857 |
| driaforall/mem-agent | 0.8636 | 0.7272 | 0.3636 | 0.9167 | 0.75 |
| z-ai/glm-4.5 | 0.7727 | 0.8181 | 0.3636 | 0.9167 | 0.7321 |
| deepseek/deepseek-chat-v3.1 | 0.6818 | 0.5454 | 0.5454 | 0.8333 | 0.6607 |
| google/gemini-2.5-pro | 0.7273 | 0.4545 | 0.2727 | 1 | 0.6429 |
| google/gemini-2.5-flash | 0.7727 | 0.3636 | 0.2727 | 0.9167 | 0.625 |
| openai/gpt-5 | 0.6818 | 0.5454 | 0.2727 | 0.9167 | 0.625 |
| anthropic/claude-opus-4.1 | 0.6818 | 0 | 0.8181 | 0.5833 | 0.5536 |
| Qwen/Qwen3-4B-Thinking-2507 | 0.4545 | 0 | 0.2727 | 0.75 | 0.3929 |
| moonshotai/kimi-k2 | 0.3181 | 0.2727 | 0.1818 | 0.6667 | 0.3571 |
memory/
├── user.md
└── entities/
└── [entity_name_1].md
└── [entity_name_2].md
└── ...user.md is the main file that contains information about the user and their relationships, accompanied by links to the enity file in the format of [[entities/[entity_name].md]] per relationship. The link format should be followed strictly.entities/ is the directory that contains the entity files.user.md.1# User Information
2- user_name: John Doe
3- birth_date: 1990-01-01
4- birth_location: New York, USA
5- living_location: Enschede, Netherlands
6- zodiac_sign: Aquarius
7
8## User Relationships
9- company: [[entities/acme_corp.md]]
10- mother: [[entities/jane_doe.md]]1# Jane Doe
2- relationship: Mother
3- birth_date: 1965-01-01
4- birth_location: New York, USA1# Acme Corporation
2- industry: Software Development
3- location: Enschede, Netherlands