Memories API
The memories API stores long-term knowledge that persists across workflow sessions.Contract
- Sync: All methods are synchronous.
- Return shape: snake_case fields; timestamps are ISO strings.
- Uniqueness:
keyis unique per(category, scope, key).
Categories
| Category | Purpose |
|---|---|
fact | Discovered facts about the codebase |
learning | Lessons learned from past executions |
preference | User preferences and conventions |
context | Contextual information |
skill | Reusable patterns or procedures |
Scopes
| Scope | Visibility |
|---|---|
global | All projects and sessions |
project | Current project only |
session | Current session only |