Agent Memory
The agent maintains memory to provide more relevant and personalized assistance over time.
Memory Types
| Type | Description | Example |
|---|---|---|
| Conversation | Context from current and past conversations | ”We discussed CA warehouse routing yesterday” |
| Preference | Learned user preferences | ”You prefer to tag, not status-change” |
| Pattern | Observed operational patterns | ”Orders spike on Mondays” |
| Standing Order | Persistent instructions | ”Always flag orders over $1000” |
Memory Lifecycle
Each memory has:
- scope_type — conversation, organization, or user
- scope_id — Which conversation/org/user it belongs to
- source — How it was created (conversation, explicit, learned)
- confidence — How confident the agent is in this memory
- expires_at — When this memory should be forgotten
Viewing Memories
In the portal, go to Agent > Memory to see what the agent remembers. You can:
- View all memories
- Delete specific memories
- Adjust confidence levels
- Set expiration dates
API
GET /api/agent/memory # List memories
DELETE /api/agent/memory/:id # Delete a memory