durmem keeps your agents on track.

Tutorial 13: Use durmem for personal context

This is an optional personal-memory exercise, separate from the project-memory tutorials. It uses only fictional details so you can see how preferences and constraints may inform a later answer without putting anyone's private information into a shared coding example.

If you arrived from Tutorial 12, this is a separate optional branch, not a prerequisite for maintenance.

Before you start

For store basics, see the overview and privacy guide. Review who has access to the selected store before using real personal information in any separate, approved activity.

1. Save one fictional preference

YouIn the personal-practice store selected for this session, remember this fictional preference for Alex Example: afternoon meetings are preferred when possible. Keep it separate from any project facts, and confirm which store and identity label you used.
AgentThe agent uses the store's PersonalDomain guidance and reads the selected store for a conflicting current preference before saving. It does not infer or authenticate a person's identity from the label.
Illustrative outputThe response identifies the fictional preference and the selected practice context. It is not proof that an actual record was saved unless the agent confirms that operation.

2. Ask in a fresh session

In a later session, select the same personal-practice store and ask a neutral question about Alex Example. The answer should be grounded in a current record from that store; if none is found, the agent should say so rather than pretend to remember.

YouFor Alex Example, what meeting time preference is recorded? Answer from current memory only and identify the record you used.

Memory may be supplied as context when a request is relevant, but surfacing depends on the selected store and the agent's active guidance. A label in one session does not make facts follow a person across accounts or stores.

3. Correct the fictional example

If you want to practice a change, first retrieve the exact preference. Then ask the agent to update only that fictional record to “morning meetings are preferred when possible,” preserve the earlier statement as history, and repeat the same read to verify the current preference. If the exact record is absent or ambiguous, make no change. A changed circumstance replaces an earlier state; an entry mistake is different and should not be treated as a normal update.

4. Keep the privacy boundary clear

Takeaway

Personal memory can help an agent answer from selected, current context. Keep the store and fictional identity explicit, verify what is actually recorded, and do not confuse memory surfacing with authentication or autonomous action.