What goes into a PackedContext?
Critical top-3 nodes (>75% score), ~5 patterns/bugfixes, ~5 concepts/approaches, plus token/time accounting, curated, not dumped.
Glossary · PackedContext
2–4K tokens that beat 50K raw.
The short answer
A PackedContext is a fixed-budget assembly of the best knowledge for one query: top critical nodes, best patterns and bugfixes, supporting concepts, selected submodularly (relevance minus redundancy) under a token cap, typically 2000/4096 across Knowledge/Thread/LowConf sections.
It replaces two failure modes at once: whole-file dumps (expensive, noisy) and flat instruction files (stale, unbounded). Same task, a fraction of the per-turn tokens at higher signal density, the 12–25x ratio is a per-node design estimate, not a measured session average.
PackedContext, working
Candidates are ranked and packed into a fixed budget by value per token; the rest stays on disk.
11 of 14 served, 3,310 of 4,096 tokens.
anvaya-mind-rs/crates/mind-services/src/quorum.rs · mind-types/src/config.rsIn Anvaya
Questions
Critical top-3 nodes (>75% score), ~5 patterns/bugfixes, ~5 concepts/approaches, plus token/time accounting, curated, not dumped.
Pure top-K retrieval returns near-duplicates. Maximal-marginal-relevance picks items that add new information given what's already packed.
RAG retrieves; packing budgets, diversifies, sections by confidence, and renders for the model's attention order.
23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.
Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.