Memory and recall
Signet keeps three kinds of data, and treats them differently:
- Evidence is what you and your agents actually said or wrote: memories you save, captured session transcripts, and files from connected sources. Signet never rewrites stored evidence.
- Derived knowledge is what Dreaming concludes from evidence: entities, aspects, claims, and links in the knowledge graph. Every claim points back to the evidence it came from.
- Indexes make both searchable: a full-text index, optional embeddings for search by meaning, and prospective hints. They can be rebuilt.
Everything lives in the workspace database, data/signet.db in a default workspace. The daemon owns every write; don’t edit the database by hand.
How memory gets in
Section titled “How memory gets in”Most memory arrives on its own. Harness connectors send each session’s transcript to the daemon, and the daemon stores it as evidence. See Hooks for when each harness reports what.
You can also save a memory on purpose:
signet remember "Deploys run on Fridays" --tags devopsAgents do the same through the MCP tool memory_store, and programs through POST /api/memory/remember. See signet remember, MCP, and the write API for every option.
When you save a memory:
- It is written and added to the full-text index right away. The daemon then tries to embed it. If no embedding provider is available, the save still succeeds. The memory has no vector until
signet embed backfillor background repair adds one, but keyword, hint, and graph search can still find it. - Text longer than 800 characters is split into chunks of about 600 characters, saved together as a group. Saves with structured fields are not split. The limits are
maxContentCharsandchunkTargetCharsundermemory.pipelineV2.guardrails. - If the same text was already saved for the same agent, project, scope, and visibility, Signet returns the existing memory instead of a copy. A repeated source ID or idempotency key does the same.
- If you give no
type, Signet picks one from keywords in the text (see Memory types). - Importance is a number from 0 to 1. The API defaults to 0.8 and
signet rememberto 0.7; pass--importanceto choose. The save route doesn’t check the range yet (#2334), so send values in that range. Acritical:prefix pins the memory and sets importance to 1, unless the request gives an importance of its own, assignet rememberalways does; use--critical --importance 1from the CLI. A[tag1,tag2]:prefix sets tags. You can combine them:critical: [project,auth]: never expose tokens.
A saved memory is evidence, so its content and type can’t be changed later. Dreaming reads new evidence in later passes and decides what claims to write; saving does not start any per-memory processing.
How recall works
Section titled “How recall works”Recall finds the memory that is relevant right now and hands it to the agent. It happens in two ways.
Automatically. At session start and on each prompt, connectors ask the daemon for context and add it to what the agent sees. This context is never stored as evidence. Prompt-time recall skips low-signal prompts, gives up after embedding.promptSubmitTimeoutMs (1000 ms by default), and does not include transcript excerpts. A memory that explicit recall finds is not guaranteed to be injected on every prompt. See Hooks.
On request. signet recall, the MCP tool memory_search, and POST /api/memory/recall all run the same search:
signet recall "deploy process" --limit 5 --type decisionWhat recall searches
Section titled “What recall searches”Recall gathers candidates from several channels at once:
- Keywords, through the full-text index.
- Hints, alternate phrasings saved with a memory, which find it when your words differ from its words.
- Meaning, by comparing embeddings. When the vector extension is unavailable, Signet compares against the newest 10,000 vectors only, and marks the result
meta.vectorCompleteness: "recent-window"when older vectors were left out. - The knowledge graph, by matching entity, aspect, and claim paths and walking links from entities named in the query.
It merges these, keeps only what the caller may see, reranks the top candidates (with a small local model by default, or your LLM if you configure that), and returns the best results. To make reranking faster, see Speed up recall. The details of ranking are in Pipeline and storage.
Who can see what
Section titled “Who can see what”Each agent’s read policy decides whose memories it can recall: isolated (its own), shared, or a named group. The policy comes from the agent roster; a recall request can’t widen it. project limits results to one project. Memories saved with a scope appear only when recall asks for that scope. API keys add their own agent and project limits. See Teams and Auth.
Within that view you can filter by type, tags (each comma-separated term must appear), who, pinned, importance_min, and since/until (creation time).
What comes back
Section titled “What comes back”- Up to
limitresults: 10 by default, 50 at most.min_score(0.1 by default) filters keyword and vector matches before they are merged; it is not a floor on the final scores, which change during merging and reranking. - Memory text in results is cut at 500 characters by default (
recallTruncateCharsundermemory.pipelineV2.guardrails);content_lengthandtruncatedtell you when. Fetch the whole memory withGET /api/memory/:id. - Some results are not saved memories. They carry
supplementary: trueand asourceortypethat says what they are: a chunk of a connected source with itssource_path, a native memory file from a harness, an ontology claim, a decision’s linked rationale, or an excerpt from one of the agent’s own session transcripts. Transcript excerpts take at mostsearch.transcript_evidence_limitslots (default 2, maximum 5,0turns them off) and are never read across agents. - Within one session, recall skips memories it already gave that session. Pass
includeRecalled: trueto get them again. metaexplains how the answer was produced:meta.partialis set when keyword or graph search failed,meta.vectorCompletenesssays how much of the vector index was searched, andmeta.rerankersays which reranker ran and why it fell back.
Recall is built to degrade rather than fail. If embeddings, graph search, or the default reranker break, you get results from the channels that still work. Two cases fail instead: the LLM reranker (useExtractionModel: true) fails the recall when it errors, and a damaged database returns 503 rather than a partial answer.
For full transcript search, use signet session search or the MCP tool session_search.
Correct, forget, and recover
Section titled “Correct, forget, and recover”Saved memories can’t be edited, because they are evidence. To correct one:
- Save what is true now. Pass
supersedeswith the old memory’s ID and the old one is marked replaced, drops out of recall, and stays readable throughGET /api/memory/:id/lineage. - Change how it is handled. You can still change
tags,importance, andpinnedwithPATCH /api/memory/:id,POST /api/memory/modify, or the MCP toolmemory_modify.
To delete, use the MCP tool memory_forget, POST /api/memory/forget, or DELETE /api/memory/:id. Batch forget works in two steps: preview lists what would be removed, and execute removes it. Deleting more than 25 memories needs the confirmation token from the preview. Pinned memories need force: true. Deletion is always soft: the memory leaves recall but stays in the database. Deleting or replacing a memory can mark memories derived from it as stale, so a correction can change more than one result.
Recover a deleted memory within 30 days:
MEMORY_ID="the-deleted-memory-id" # returned by the forget or delete requestcurl -X POST "http://127.0.0.1:3850/api/memory/$MEMORY_ID/recover" \ -H 'Content-Type: application/json' \ -d '{"reason": "deleted by mistake"}'GET /api/memory/:id/history lists a memory’s recorded changes: updates, deletions, recoveries, and supersessions. Dreaming’s changes to the knowledge graph have their own audit trail on the Dreams page and in the knowledge API.
Request and response details for all of these are in the write API.
Retention
Section titled “Retention”A background worker runs every 6 hours and removes old data:
| Data | Kept for |
|---|---|
| Deleted memories | 30 days, then archived and removed |
| Memory history events | 180 days |
| Completed pipeline jobs | 14 days |
| Failed (dead) pipeline jobs | 30 days |
When a deleted memory’s 30 days are up, its graph links and embeddings are removed, a copy of the row is written to the memories_cold table, and the memory itself is deleted. After that it can’t be recovered through the API. Because of that archive copy, deletion is not secure erasure. These windows are built in and are not set in agent.yaml.
Memory types
Section titled “Memory types”type is a free-form label of up to 64 characters. These are the ones Signet uses:
| Type | Meaning | Example |
|---|---|---|
fact |
Information that is true or false | “Signet stores data in SQLite” |
preference |
What someone likes or wants | “User prefers dark mode” |
decision |
A choice that was made | “Decided to use PostgreSQL” |
rule |
A standing instruction | “Never expose tokens” |
learning |
Something newly found out | “Discovered a faster workflow” |
issue |
A known problem | “The auth flow is broken” |
procedural |
How to do something | “Run bun install before building” |
semantic |
A concept or definition | “BM25 is a term-frequency ranking function” |
When you don’t give a type, Signet checks the text for these words, in this order, and uses the first match: “prefer”, “likes”, or “want” gives preference; “decided”, “agreed”, or “will use” gives decision; “learned”, “discovered”, or “til “ gives learning; “bug”, “issue”, or “broken” gives issue; “never”, “always”, or “must” gives rule. Anything else is a fact. Matching is on substrings, so “wanted” counts as “want”.

