# engram distill

Source: https://usecns.dev/engram-cli-distill/

[Start here](https://usecns.dev/manual-engram/)
[CLI commands](https://usecns.dev/commands-engram/)
[Configuration & integration](https://usecns.dev/engram-topics/)

Shared `--ote`, `--db`. Required repeatable `--from ID` (at least two) and `--body TEXT`. Optional `--key KEY` (generated if absent), `--kind KIND` (default `procedure`), `--ring RING` (implementation default M2), `--ring-id ID` (mounted ID), `--authority AUTHORITY` (default `verified_gate_failure`), `--summary TEXT` (compact summary), repeatable `--glob GLOB` (scope). No `--scope` alias here. Sources must be eligible active episodes; invalid sources, access, evidence or vocabulary fail. Derived lineage is retained and source episodes are retired. Result includes the new identity/prior/scopes and `retired_sources`; inspect these before discarding input IDs.

Capability checks use `ENGRAM_SEAT_TOKEN`; unlike record, this CLI wrapper does not forward `--seat-token`.

See [CLI conventions](https://usecns.dev/engram-cli-usage/) for shared configuration and exit behavior, or [browse all commands](https://usecns.dev/commands-engram/).