Skip to content

Operations Reference

Complete reference for all 32 Energy Language operations.

Observe

CommandWhat it does
survey <layer>Map all basins in a layer
survey-allSurvey every layer
verify <layer> <seed>Check if a point is a basin
energy <layer> <seed>Measure energy at a point
probe <layer> [basin_idx]What tokens does a basin activate?
landscape <layer>Full energy map with population bars

Modify

CommandWhat it does
inject <layer> <seed> [strength]Create a new attractor
remove <layer> <seed> [strength]Destroy an attractor
move <layer> <seed> [strength]Relocate an attractor
strengthen <layer> <seed> [factor]Deepen an existing basin
weaken <layer> <seed> [factor]Make a basin shallower

Concept

CommandWhat it does
capture <layer> <concept> <text>Extract what a concept looks like in the model
inject-concept <layer> <concept> [strength]Program a captured concept as a new attractor
remove-concept <layer> <concept> [strength]Remove a concept from the model
blend <a> <b> <new> [ratio]Mix two concepts
conceptsList all captured concepts
export-concept <name> <path>Save concept as portable file
import-concept <path>Load concept from file

Control

CommandWhat it does
load <path>Load a checkpoint
apply <layer>Write modified W to live model
restore <layer>Undo modifications to a layer
restore-allRestore all layers
save <path>Save modified W matrices
statusShow which layers are modified
set <param> <value>Set parameter (beta, strength, ...)
infoShow model info

Verify

CommandWhat it does
generate <prompt>Generate text with current model
diff <layer>Show W matrix change stats
benchmarkMeasure perplexity impact of surgery
guard <layer> [max_%]Prevent removing too many basins
historyShow operation log

Scripts

Chain operations in .hlm files (one command per line, # for comments):

bash
# make_polite.hlm
load model.pt
capture 5 polite Thank you so much
capture 5 polite I really appreciate it
inject-concept 5 polite 0.1
apply 5
benchmark
generate Tell me about the weather
restore 5

Run with: qriton-hlm --script make_polite.hlm