Source-Backed Institutional Memory
Remembers facts, past episodes, and preferences — always as reviewable candidates that can never weaken safety guards.
An agent hallucinates a false rule once, saves it to memory, and obeys its own hallucination forever.
Claims enter as auditable candidates, can be verified or invalidated by humans, and can never relax security guards.
What It Does (In Plain English)
Memory stores long-term fact, episode, and preference claims linked back to their source. To stop AI hallucinations from becoming "company law", every new claim enters as a candidate with anti-echo checks and strict guard isolation (Z14): memory can inform prompts, never override permissions or budgets.
Real-World Example
- 1An operator corrects a run: "Acme Corp always requires PO numbers on credits."
- 2Memory stores this as a candidate claim linked to the operator’s feedback.
- 3Humans can inspect, verify, or invalidate claims via
neusym memory claimsor the HTTP API.
When Should You Turn It On?
Add at Level 1 (review) when you want agents to retain verified operational lessons over time.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-memory@0.1.0"
kitConfigs:
memory:
maxContextClaims: 6
includeCandidateClaimsInContext: falseKits It Works With
Technical Details & Configuration Options (7 settings)
| Package | @neusym/kit-memory |
|---|---|
| Provides Ports | memory@1 |
| Requires Ports | scopes@1search-index@1 |
| Optional Ports | None |
| Publishes Events | memory.changed |
| Owned DB Collections | memory_claims |
Configuration Options (kitConfigs.memory)
| Setting | Type | Default | Description |
|---|---|---|---|
defaultClaimStatus | string | "candidate" | — |
maxContextClaims | integer | 8 | — |
minRelevanceScore | number | 0 | — |
includeCandidateClaimsInContext | boolean | true | — |
decayHalfLifeDays | number | 0 | — |
minDecayConfidence | number | 0.25 | — |
sweepIntervalMs | integer | 3600000 | How often a live admitClaim or queryClaims also sweeps its tenant's expired and decayed candidates (as decaySweep does), so they leave search-index@1 without a host sweep. 0 leaves sweeping to the host. |