Utility Commands
Commands for managing memory state, searching, analysis, and maintenance.load
Load and display working memory at session start. Uses priority-based budget allocation to fit the most important memories within token limits.Priority Ordering
Memories are loaded by priority until the budget is exhausted:Budget Metadata (_meta)
When using --json, the response includes a _meta object with budget metrics:
Token Estimation
Tokens are estimated at approximately 4 characters per token, with a 1.3x safety margin for JSON serialization overhead.Access Tracking
Loading memories automatically records access for salience-based forgetting. Frequently accessed memories maintain higher salience and are less likely to be forgotten.checkpoint
Save and restore session state.checkpoint save
- Basic
- With Pending Items
- With Context
checkpoint load
checkpoint clear
search
Search memory using vector similarity.status
Show memory status overview.when
Query memories by time period.anxiety
Memory anxiety tracking and management.- Quick Check
- Detailed
- Auto-Fix
- Emergency
identity
Identity synthesis operations.identity show
Generate a coherent identity narrative.identity confidence
Check identity coherence score.identity drift
Detect identity drift over time.emotion
Emotional memory operations.emotion summary
emotion search
Search by emotional characteristics.emotion tag
Add emotional tags to an episode.emotion mood
Get mood-relevant memories.meta
Meta-memory operations.meta confidence
Get confidence for a memory.meta verify
Verify a memory (increases confidence).meta lineage
Get provenance chain.meta uncertain
List low-confidence memories.meta knowledge
Show knowledge map.meta gaps
Detect knowledge gaps.meta boundaries
Show competence boundaries.meta learn
Identify learning opportunities.forget
Controlled forgetting operations for memory maintenance. Kernle uses salience-based forgetting to help memories gracefully fade while preserving core identity.Salience Formula: Kernle calculates memory salience as:where:
reinforcement_weight = log(times_accessed + 1)age_factor = days_since_last_access / half_life(half_life = 30 days)
forget candidates
Show forgetting candidates (low-salience memories eligible for forgetting).forget run
Run forgetting cycle.forget protect
Protect a memory from forgetting. Protected memories never decay and cannot be forgotten.Values and Drives are protected by default and excluded from forgetting candidates.
forget recover
Recover a forgotten (tombstoned) memory. Forgotten memories are not deleted - they can always be recovered.forget list
List all forgotten (tombstoned) memories.forget salience
Check the salience score of a specific memory. Useful for understanding why a memory is or isn’t a forgetting candidate.- Current salience score with visual bar
- Component breakdown (confidence, access count, protection status)
- Status interpretation (critical/low/moderate/high salience)
dump
Dump all memory to stdout.export
Export memory to a file.export-full
Export complete agent context (all memory layers) to a single file. Unlikeexport (full memory dump), export-full assembles all memory layers — boot config, values, beliefs, goals, episodes, notes, drives, relationships, self-narratives, trust assessments, playbooks, and checkpoint — into one comprehensive file.
process
Run or check automated memory processing (model-driven layer promotion). Processing uses a bound model to automatically promote memories across layers (e.g., raw entries to episodes, episodes to beliefs).process run
Run memory processing transitions.
Available transitions:
- Run All
- Specific Transition
- Force
process status
Show unprocessed memory counts and whether each transition’s quantity threshold has been met.process exhaust
Run processing cycles repeatedly until convergence (no more promotions possible).model
Show, bind, or unbind inference models. Model binding is session-only (not persisted to disk). Process commands auto-bind from environment variables, butmodel set lets you bind explicitly.
model show
Show the currently bound model.model set
Bind a model provider.
Default models per provider:
- Claude
- Claude (Custom)
- Ollama
model clear
Unbind the currently bound model.init
Initialize Kernle by generating aCLAUDE.md/AGENTS.md health check section.
suggestions
Manage memory suggestions (auto-generated recommendations from the processing pipeline).suggestions list
suggestions show
Show details for a specific suggestion. Supports partial ID matching.suggestions accept
Accept a suggestion and promote it to structured memory. Supports all 7 memory types (episode, belief, note, goal, value, relationship, drive).suggestions dismiss
Dismiss a suggestion with an optional reason.suggestions expire
Expire stale pending suggestions older than a threshold.suggestions extract
Extract new suggestions from unprocessed raw entries.stack
Manage local stacks.stack list
List all stacks in~/.kernle/.
stack delete
Delete a stack and all its data.doctor
Validate boot sequence compliance and system health.- Memory system initialization
- Storage accessibility
- Required tables exist
- Embedding provider availability
- Sync credentials (if configured)