'keyword'
Optional featureRequired when strategy is 'llm' or 'hybrid'.
Optional encodingOptional decayOptional working7 (Miller's number)
Optional tokenOptional observerOptional reflectorOptional graphOptional consolidationOptional persistentOptional persistent markdown memory source injected into every prompt.
This is separate from active working memory: working memory is the bounded cognitive focus, while persistent memory is durable agent/user state such as profile notes, preferences, and identity anchors.
Optional cognitiveOptional per-mechanism cognitive science extensions (reconsolidation, RIF, FOK, etc.).
Optional infiniteInfinite context window config. Enables transparent compaction for forever conversations.
Optional maxMax context window size in tokens (required for infinite context).
Optional collection'cogmem'
Optional enableStep 13: enable graph activation. Propagates to
MemoryStoreConfig.enableGraphActivation. When true, the internal
MemoryStore upserts entity nodes + related_to:co_occurs edges
at encode time (from trace.entities), and seeds Anderson
spreading activation from query-extracted entities at retrieve to
compute the sixth composite-scoring signal. Default: false (legacy
behavior, graphActivation signal is a silent zero).
false
Optional brainOptional Brain instance for durable persistence.
When provided, memory traces, knowledge graph nodes/edges, prospective items, and observation pipeline state are persisted to the brain's SQL tables via sql-storage-adapter. The in-memory vector index remains the hot read path; Brain is the durable backing store that survives process restarts.
Falls back to in-memory-only storage when omitted.
Optional persistKeeps each trace's stability, access count, reinforcement interval and
next reinforcement time across a restart: written to the Brain (with no
Brain, to the vector store's metadata) at every access and read back at
load (MemoryStoreConfig.persistAccessState).
false writes and loads them as before, for one release of
before-and-after measurement.
true
Optional rerankerOptional reranker service for post-retrieval quality improvement.
When provided, retrieved memory traces are reranked after the cognitive scoring pipeline (vector similarity + strength + recency + emotional congruence + graph activation + importance). The reranker score is blended with the existing composite score at a 0.7/0.3 weighting to preserve cognitive signals while boosting semantically relevant results.
Recommended: Cohere rerank-v3.5 primary, LLM-Judge fallback.
undefined (no reranking)
Optional archiveOptional memory archive, read by CognitiveMemoryManager.rehydrate(),
which returns a trace's archived verbatim content.
The manager hands this archive to neither the temporal-gist mechanism nor its consolidation pipeline, so setting it does not make gisting keep a verbatim copy.
undefined (no archive; rehydrate() returns null)
IMemoryArchive, the archive contract, exported from
@framers/agentos/memory/archive/IMemoryArchive
Optional typedStage E: optional Hindsight 4-network typed observer wiring.
When provided, encode() additionally extracts typed facts (World /
Experience / Opinion / Observation banks) via the configured LLM and
persists them in an in-memory TypedNetworkStore. retrieve() runs
typed-graph spreading activation ('full' variant only) and produces
a 4-way RRF fused ranking that's merged into the existing scoring.
Variants:
'minimal': bank routing + observer only (no graph traversal at retrieve).'full': minimal + spreading activation per Hindsight Eq. 12 + 4-way RRF.undefined (Stage E disabled, zero-cost no-op)
packages/agentos-bench/docs/specs/2026-04-26-hindsight-4network-observer-design.md
Callback to get current mood from MoodEngine or similar.