ConceptsZero-LLM features

Zero-LLM features

Four features do their main work with SQL views and deterministic rules, with no model call. This page says what each one does and where a model is still involved. Each has its own page under v3.

1. Trust-anchor consensus

When two facts contradict each other, a fixed rule says which one should win (packages/core/src/conflict/decide.ts). Each fact’s attribution maps to a trust score:

AttributionTrust
objective_fact100
user_stated90
user_belief60
inferred40
anything else20

The rule compares trust, then recency, then worth. On a local write its verdict (supersede, reject or review) is a recommendation: it is stored with the conflict and nothing is archived automatically. You or the agent resolve the pair with memory_judge or POST /conflicts/{id}/resolve. During a sync between servers the same rule decides between the local and the incoming version when no strategy is given.

Where a model is involved: finding the contradiction. Candidates come from embedding similarity and an LLM classifies the pair as duplicate, contradiction or compatible. Only the verdict is rule-based.

More in Trust-anchor consensus.

2. Composition rules

A workspace can register rules that derive a statement from recalled memories, for example “if a caller’s timeout is shorter than the callee’s response time, warn”. The engine evaluates the active rules over the hits of each recall, with pattern matching only (packages/core/src/cognitive/compositionality.ts).

There are no built-in rules: a workspace starts with none and creates its own with POST /composition/rules or memory_compose.

More in Compositionality.

3. Meta-cognition

A materialized view rates how well the workspace knows each entity:

coverage:  expert | familiar | aware | minimal | blind
freshness: current | recent | aging | stale

It is refreshed once a day and served by GET /metacognition and the memory_introspect tool. An agent can check coverage before a recall and ask the user when it is blind.

More in Meta-cognition.

4. Anticipation

Four views mine the recall log for patterns: which fact tends to be recalled right after another, which facts are recalled in a given weekday and hour slot, which facts a query term brings back, and which facts are recalled together. GET /anticipation and memory_anticipate blend them into a ranked list of memories that are likely to be needed next.

Where a model is involved: when the request carries context and an LLM is configured, the server also asks the model for two or three related search queries and adds their hits. Without context or without an LLM, the feed is statistical only.

More in Predictive memory.

The server counts estimated token savings for these features in its metrics. Those figures are estimates written in the code, not measurements, so this page does not quote them.