# Engram

Source: https://usecns.dev/organ-engram/

Reusable memory across sessions

Rust CLI + MCP · local SQLite[ivannovak/engram ↗ (repository access may be required)](https://github.com/ivannovak/engram)Wrapped by cns

Engram helps an agent reuse what it learned in earlier sessions. Record a project decision, a reliable procedure or a lesson from a failure, then recall it when related work comes up. It stores selected knowledge and its evidence—not a raw transcript archive.

Reviewed 2026-11-04.

[Task guides](https://usecns.dev/manual-engram/)[CLI commands](https://usecns.dev/commands-engram/)[Configuration & interfaces](https://usecns.dev/engram-topics/)[All documentation](https://usecns.dev/manuals/)

## Fig. 4.3.1   What Engram does

Keep a lesson

Record useful guidance with its source and scope. Memory rings separate shared, repository and seat-specific knowledge.

Recall what matters

Search for relevant memories or give an agent compact cues within a context budget. Local retrieval works without a model service.

Revise with evidence

Record outcomes, correct obsolete guidance, and consolidate memories. Promoting guidance to trusted status requires attested test or human evidence as well as the full evidence threshold.

## Table 4.3.1   Channels

| Direction | Channel | Peer | Carried by | Contract |
| --- | --- | --- | --- | --- |
| reads | OTE manifest | cns init / Cortex | TOML | [Read contract ↗](https://usecns.dev/contract-ote/) |
| writes | Embedding and reranking requests | Thalamus | HTTP | [Read contract ↗](https://usecns.dev/contract-thalamus/) |
| reads | Concern and map compartments | Soma / Axon via cns curate | CLI | [Read contract ↗](https://usecns.dev/contract-concerns/) |

## CLI commands

[Browse all Engram CLI commands →](https://usecns.dev/commands-engram/) for syntax, options, examples and behavior. Each command has its own reference page.

## Note 4.3.1   Running alone

Local-hash retrieval requires no relay. Remote retrieval needs explicit configuration. Guards are enforced locally and do not propagate by sync.