Store and retrieve long-term facts that persist across sessions and are injected into the system prompt.
remember_fact
category
—
key
value
Facts are upserted into the facts table in SQLite. The (category, key) pair is unique — storing a fact with the same category and key overwrites the previous value.
facts
(category, key)
All facts are injected into the system prompt under a ## Known Facts section, grouped by category. This means the agent always has access to its stored knowledge.
## Known Facts
## Known Facts ### user - name: David - timezone: US/Pacific ### project - language: Rust - repo: /home/david/projects/myapp
id
auto
source
""
created_at
now
updated_at