Skip to main content

profiles / workspaces / config

Manage profiles, save targets, load limits, read/proof modes, roles, and runtime config.

profile

engram profile status
engram profile create personal --global-path ~/Documents/engram-personal --use
engram profile use company --workspace
engram profile merge personal company --dry-run

Profile resolution order is explicit --profile or ENGRAM_PROFILE, then the workspace default_profile, then the active user profile. If workspace W is pinned to profile B while the user default remains profile A, every normal load, MCP load, and agent-hook injection for W reads profile B global memory and never profile A. An explicit profile different from the workspace default uses that profile's global memory and disables workspace memory for that command.

set-save-target

engram set-save-target status
engram set-save-target workspace
engram set-save-target global
engram set-save-target both

set-load-limit

engram set-load-limit 1..32
engram set-load-limit status
engram set-load-limit reset

set-read

engram set-read startup|auto|always|manual|off
engram set-read status

set-proof

engram set-proof off|compact
engram set-proof status

set-role

engram set-role frontend
engram set-role backend security
engram set-role

When engram set-role ... or engram set-rule-variant ... succeeds, the CLI returns an Agent action: line. Engram-aware slash adapters and MCP hosts should immediately rerun engram load "<current task/request>".

set-rule-variant

engram set-rule-variant strict|balanced|light|off

config

engram config view
engram config set <key> <value>

Key settings reference

KeyDescriptionDefaultRange / Options
memory.rule_line_targetRecommended line count target for rule memories7050 to 200
memory.rule_line_hard_limitMaximum allowed line count for rule memories10050 to 200
load.limitMax memories returned by normal load81 to 32
rule_variants.enabledEnable or disable rule variants generationtruetrue, false
rule_variants.activeActive rule variant modebalancedlight, balanced, strict
graph.enabledEnable or disable graph-aware routingtruetrue, false
graph.max_relatedMax related memories to fetch from graph edges81 to 20
graph.min_related_scoreMin similarity score to add graph edges0.30.0 to 1.0
vector.enabledEnable or disable vector search fallbacktruetrue, false
live_sync.enabledSync generated agent context files on savetruetrue, false
global_git.enabledEnable global Git repo sync automationfalsetrue, false
global_git.remoteGit remote name for global syncoriginString
global_git.branchGit branch name for global syncmainString

These settings are also manageable visually under the Construct tab in engram entry.

Next steps