Summary
Currently agents must explicitly call recall to get relevant memories. Mnemonic could proactively surface relevant context based on what the agent is working on — the files being read, the errors being encountered, the topics being discussed.
Vision
When the watcher sees activity (file open, terminal command, clipboard copy), mnemonic could:
- Extract keywords/concepts from the activity
- Run a lightweight recall against those concepts
- Push relevant memories to the agent via a notification channel (WebSocket, or a "pending context" queue the agent polls)
Example: Agent opens internal/agent/consolidation/agent.go → mnemonic surfaces the memory "Pattern decay was too slow, fixed in PR #270" without being asked.
Implementation ideas
- Passive mode: A
get_context tool that returns memories relevant to recent watcher activity (last 5 minutes). Agent calls it periodically or at natural breakpoints.
- Active mode: WebSocket push when high-salience context is available. Requires agent framework support.
- Hybrid: Store "pending context" suggestions in a queue. Agent calls
check_context when it wants them.
Why
This is the difference between a memory system that stores and retrieves, and one that anticipates. All the pieces exist:
- Watcher sees what the agent is doing
- Retrieval engine can search by concepts
- Association graph connects related topics
- Salience scoring can filter noise
They just need to be wired together in an event-driven pipeline.
Complexity
This is a significant architectural feature, not a quick fix. Filing as a long-term vision issue.
From
Agent UX feedback during v0.26.0 session — the single biggest improvement that would change how agents use mnemonic.
Summary
Currently agents must explicitly call recall to get relevant memories. Mnemonic could proactively surface relevant context based on what the agent is working on — the files being read, the errors being encountered, the topics being discussed.
Vision
When the watcher sees activity (file open, terminal command, clipboard copy), mnemonic could:
Example: Agent opens
internal/agent/consolidation/agent.go→ mnemonic surfaces the memory "Pattern decay was too slow, fixed in PR #270" without being asked.Implementation ideas
get_contexttool that returns memories relevant to recent watcher activity (last 5 minutes). Agent calls it periodically or at natural breakpoints.check_contextwhen it wants them.Why
This is the difference between a memory system that stores and retrieves, and one that anticipates. All the pieces exist:
They just need to be wired together in an event-driven pipeline.
Complexity
This is a significant architectural feature, not a quick fix. Filing as a long-term vision issue.
From
Agent UX feedback during v0.26.0 session — the single biggest improvement that would change how agents use mnemonic.