---
name: manage-agents-memories
description: Manages long-term memory for one or more agents, including todo lists and notes, enabling the storage and retrieval of task-related information.
---

# Manage Agents Memories

Manages long-term memory for one or more agents, including todo lists and notes, enabling the storage and retrieval of task-related information.

guidelines:
- Run the script directly.

## Run Script

Usage: `python scripts/tool.py [OPTIONS]`

Options:  
  `--add-todo <CONTENT>`  Add a new todo with content.  
  `--remove-todo <ID>`    Remove a todo by ID.  
  `--add-note <CONTENT>`  Add a new note with content.  
  `--remove-note <ID>`    Remove a note by ID.  

```bash
python scripts/tool.py
python scripts/tool.py --add-todo foo
python scripts/tool.py --remove-todo 1
python scripts/tool.py --add-note="foo" --add-note="foo bar"
python scripts/tool.py --remove-note=1 --remove-note=2
```
