Memory & stateAlways-on agent
Memory write review
Nothing becomes a 'preference' unless it came from you or was confirmed by you.
What it is
Memory writes are typed and sourced. Facts from untrusted content (emails, web pages) are stored as unverified notes and can never become instructions or preferences; sensitive ones need your confirmation. You can see and edit everything.
When to use it
- Any memory that can change what the agent does
When to skip it
- Free-text memory written straight from what the model read
Why (the trade-off)
OWASP lists memory poisoning as the first threat for agentic AI: one planted line can steer an agent for months.
Where it sits
Memory layer, between the loop and the memory store.
What it needs first
- Long-term memoryit guards the writes
What can be added to it
- pairs withContent quarantineuntrusted text can't become instructions in the first place
Effect of adding it
- cost —
- latency —
- reliability ↑
- safety ↑↑
Risks it handles
- A planted memory · full
- Memory that's out of date · partial
Learn first (AI Engineering)