Skip to content

Tools

Memory·

the shared SQLite brain

  • tool authors · prompt writers
  • 1 min
  • 25 words
  • from the code

In 10 seconds

  • 1 tool in tools/memory.py — the shared SQLite brain.

memory·

memory(
    action: str,
    key: Optional[str] = None,
    value: Optional[str] = None,
    name: Optional[str] = None,
    text: Optional[str] = None,
    query: Optional[str] = None,
    tag: Optional[str] = None,
    sql: Optional[str] = None,
    limit: int = 20,
) -> str

Persistent memory: filesystem notes + SQLite kv/log + raw SQL.

source ↗