On this page
Whisper#
Whisper is involuntary recall: relevant memory can arrive before the agent answers, without the agent deciding to call search. A supported client hook or extension makes that possible; the server alone cannot inject context into an arbitrary agent.
Why automatic context helps#
An agent cannot deliberately look up a decision it does not know you made. Whisper gives it a chance to see relevant history before it plans an answer.
For example, you previously saved the checkout rule that retries require an idempotency key. In a fresh session, “Help me implement checkout retries” can bring that decision into context without a separate request to search memory. Asking about an unrelated task should leave it quiet.
Each stage on the way exists for a reason:
- Look wider than needed. Whisper retrieves more candidates than it will send, so the final few are chosen from real alternatives rather than from whatever happened to rank first.
- Stay quiet when nothing fits. A memory injected into the wrong task costs the agent attention and can steer it the wrong way. Relevance checks reject weak candidates, even when they are the best of a poor set.
- Send a compact selection. Context space belongs to your current conversation. Whisper sends a few short entries; the agent can read a full memory when it needs one.
- Let the client deliver it. Only the client's hook or extension can place text into the agent's prompt. Finding a memory on the server is only part of delivering it.
What happens before a prompt#
flowchart TD
A[Client receives your prompt] --> B[Hook or extension calls Ormah]
B --> C[Retrieve a candidate pool]
C --> D[Rank and test relevance or applicability]
D --> E{Useful context?}
E -->|Yes| F[Return compact memories and event IDs]
E -->|No| G[Return quiet context]
F --> H[Client adds context before the answer]
Quiet is a valid outcome, not a failure. A relevant topic can also be quiet if it was already served earlier in the session.
Check actual delivery#
First finish the Quickstart save and explicit recall. For Claude Code, compatible Codex CLI or Pi:
- Use the same store and
ormah-demoproject. Launch the CLI from that repository, or configure the project override for a different folder. - Start a fresh session and ask “Help me implement checkout retries safely.” Do not ask for recall or paste the saved decision.
- Inspect the client's hook/extension execution and the context delivered before the answer. Claude/Codex use
UserPromptSubmit; Pi usesbefore_agent_start. Look for the checkout memory, its ID andwhisper_log_idwhen supplied. - Correlate that invocation and session with the returned Whisper text entering the model's prompt. Server diagnostics can show selection, but only delivered context or an execution trace establishing injection proves the client received it.
A direct /agent/whisper request checks the server; explicit recall checks the tool connection. Neither proves automatic delivery. If your client does not expose enough trace information, record delivery as unverified. An agent's verbal assertion is not evidence. Claude Desktop's built-in MCP setup has no Whisper hook, so its first-memory check ends at explicit retrieval.
Candidate retrieval and ranking#
By default, whisper_max_nodes=6 and whisper_candidate_pool_multiplier=5: the candidate pool can be deeper than the final output. Search combines lexical and vector signals, graph expansion and project context. Prompt intent and a bounded recent-prompt buffer can affect what is searched.
A hybrid score is rank-relative: it helps order candidates within this search. The best result in a weak search can still have a high relative score. Injection therefore uses absolute evidence, such as cross-encoder relevance or raw cosine similarity, rather than treating a normalized rank score as proof of relevance.
Injection gates and fallback#
The configured base whisper_injection_gate is 0.45. With reranking unavailable/disabled, whisper_injection_gate_no_reranker is 0.60, applied to raw cosine. These cut different signals; the larger fallback number does not represent a directly comparable quality percentage.
Intent adjustments, topical checks, affinity and session behavior also affect eligibility. whisper_reranker_min_score is a relative-score floor, not the absolute injection gate. On newer runtimes, diagnostic rows can include candidates rejected before that floor, so the log is not just a list of eligible injections.
If model download fails, the fallback is deliberately conservative. Check readiness before tuning thresholds. Troubleshooting.
Standing preferences#
A typed preference can be a rule for how to do a task rather than a passage answering the question. The separate applicability channel requires the reranker path, evaluates whether the rule applies, and merges up to whisper_preference_max_nodes=2 within the total output cap.
For example, a project's pnpm preference can apply to installing a dependency even when “pnpm” is absent from the question. It should not be injected into every unrelated turn.
Newer runtimes: contextual affinity participates in preference applicability and slot selection, so negative feedback can suppress an otherwise applicable preference. An older installed runtime can have the earlier preference implementation; see GitHub releases.
Output and feedback#
Top entries can include content previews capped by whisper_injected_content_max_chars (default 600 characters); other entries can be title/type/ID only. The complete node remains available through recall_node. “Full content” in older descriptions did not mean unlimited text.
When available, a surfaced entry carries a whisper_log_id. Send it with feedback so the signal attaches to that event. Omitting it uses the legacy latest-event fallback. Feedback and relevance explains what a signal does and why silence isn't a negative vote.
When agent-driven maintenance is due, a maintenance instruction can be appended separately. The signal requests the two-call maintenance workflow; it is not a memory and does not prove automatic capture occurred.
Why it may be quiet#
Short/conversational prompts, acknowledgements, irrelevant candidates, unchanged topics and session deduplication can suppress output. A degraded reranker path is also more conservative. Newer runtimes include refined acknowledgement/intent handling and richer traces.
Server diagnostics establish selection behavior. They do not establish what a client ultimately delivered to the model. Keep that distinction when reporting a failed or successful check.