CLI reference
The canonical command reference is generated from the Typer command tree and memoryledger.command_catalog.CATALOG.
Note
Deprecated compatibility aliases are listed in Deprecations.
Agents
agents adopt
Adopt an existing AGENTS.md into memory records.
Audience:
agentStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger agents adopt
Arguments and options
target— argument; optional; typepath; defaultAGENTS.md--apply— option; optional; typeboolean; flag--backup— option; optional; typeboolean; flag--accept— option; optional; typeboolean; flag--reason— option; optional; typetext; default ``--json— option; optional; typeboolean; flag
Example
memoryledger agents adopt
Related commands
See the adjacent command group and the workflow guide.
agents plan
Print the canonical agent workflow commands.
Audience:
agentStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger agents plan
Arguments and options
--json— option; optional; typeboolean; flag
Example
memoryledger agents plan
Related commands
See the adjacent command group and the workflow guide.
agents verify-adoption
Verify that adopted memories match a source AGENTS.md.
Audience:
agentStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger agents verify-adoption
Arguments and options
--source— option; required; typepath--json— option; optional; typeboolean; flag
Example
memoryledger agents verify-adoption
Related commands
See the adjacent command group and the workflow guide.
Configuration
config show
Show effective configuration with source tracking.
Audience:
bothStability:
betaEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger config show
Arguments and options
None.
Example
memoryledger config show
Related commands
See the adjacent command group and the workflow guide.
config validate
Validate configuration without writing.
Audience:
bothStability:
betaEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger config validate
Arguments and options
None.
Example
memoryledger config validate
Related commands
See the adjacent command group and the workflow guide.
Evidence
evidence scan
Scan repository evidence and propose candidate memories.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger evidence scan
Arguments and options
--apply-candidates— option; optional; typeboolean; flag--json— option; optional; typeboolean; flag
Example
memoryledger evidence scan
Related commands
See the adjacent command group and the workflow guide.
Import
import current-run
Import memory candidates from the current agent run.
Audience:
agentStability:
betaEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger import current-run
Arguments and options
--json— option; optional; typeboolean; flag
Example
memoryledger import current-run
Related commands
See the adjacent command group and the workflow guide.
import run-html
Import memory candidates from run HTML logs.
Audience:
agentStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger import run-html
Arguments and options
--file— option; required; typepath--json— option; optional; typeboolean; flag
Example
memoryledger import run-html
Related commands
See the adjacent command group and the workflow guide.
import text
Import memory candidates from text input.
Audience:
agentStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger import text
Arguments and options
--text— option; optional; typetext--file— option; optional; typepath--stdin— option; optional; typeboolean; flag--json— option; optional; typeboolean; flag
Example
memoryledger import text
Related commands
See the adjacent command group and the workflow guide.
Memory
memory append
Append text to the body of a memory record.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory append
Arguments and options
memory_id— argument; required; typetext--reason— option; required; typetext--text— option; optional; typetext--file— option; optional; typepath--stdin— option; optional; typeboolean; flag
Example
memoryledger memory append
Related commands
See the adjacent command group and the workflow guide.
memory archive
Archive a memory record (convenience wrapper for set-status archived).
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory archive
Arguments and options
memory_id— argument; required; typetext--reason— option; required; typetext
Example
memoryledger memory archive
Related commands
See the adjacent command group and the workflow guide.
memory create
Create a new memory record.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger memory create
Arguments and options
--kind— option; required; typetext--title— option; required; typetext--text— option; optional; typetext--file— option; optional; typepath--stdin— option; optional; typeboolean; flag--evidence— option; optional; typetext; default ``--scope— option; optional; typetext; defaultglobal--scope-path— option; optional; typetext; default ``--render-target— option; optional; typetext; defaultroot_agents--section— option; optional; typetext; default ``
Example
memoryledger memory create
Related commands
See the adjacent command group and the workflow guide.
memory evidence add
Add an evidence reference to a memory.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory evidence add
Arguments and options
memory_id— argument; required; typetext--kind— option; required; typetext--title— option; required; typetext--uri— option; required; typetext--reason— option; required; typetext--excerpt— option; optional; typetext; default ``--line-start— option; optional; typeinteger--line-end— option; optional; typeinteger--json— option; optional; typeboolean; flag
Example
memoryledger memory evidence add
Related commands
See the adjacent command group and the workflow guide.
memory evidence list
List evidence references attached to a memory.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory evidence list
Arguments and options
memory_id— argument; required; typetext--json— option; optional; typeboolean; flag
Example
memoryledger memory evidence list
Related commands
See the adjacent command group and the workflow guide.
memory list
List memory records, optionally filtered.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger memory list
Arguments and options
--kind— option; optional; typetext--status— option; optional; typetext--json— option; optional; typeboolean; flag
Example
memoryledger memory list
Related commands
See the adjacent command group and the workflow guide.
memory set-status
Change the lifecycle status of one memory.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory set-status
Arguments and options
memory_id— argument; required; typetextstatus— argument; required; typetext--reason— option; required; typetext
Example
memoryledger memory set-status
Related commands
See the adjacent command group and the workflow guide.
memory show
Show one memory record.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory show
Arguments and options
memory_id— argument; required; typetext--content, --no-content— option; optional; typeboolean; flag--json— option; optional; typeboolean; flag
Example
memoryledger memory show
Related commands
See the adjacent command group and the workflow guide.
memory update
Replace the body of a memory record.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory update
Arguments and options
memory_id— argument; required; typetext--reason— option; required; typetext--text— option; optional; typetext--file— option; optional; typepath--stdin— option; optional; typeboolean; flag--section— option; optional; typetext
Example
memoryledger memory update
Related commands
See the adjacent command group and the workflow guide.
memory validate
Validate a memory record against all guardrails.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger memory validate
Arguments and options
memory_id— argument; required; typetext--json— option; optional; typeboolean; flag
Example
memoryledger memory validate
Related commands
See the adjacent command group and the workflow guide.
Migrations
migrate apply
Apply a migration plan.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger migrate apply
Arguments and options
migration— argument; optional; typetext--plan-file— option; optional; typepath--dry-run— option; optional; typeboolean; flag
Example
memoryledger migrate apply
Related commands
See the adjacent command group and the workflow guide.
migrate cleanup
Clean up legacy paths after successful migration.
Audience:
bothStability:
betaEffect:
workspace-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger migrate cleanup
Arguments and options
migration— argument; optional; typetext--dry-run— option; optional; typeboolean; flag--yes— option; optional; typeboolean; flag
Example
memoryledger migrate cleanup
Related commands
See the adjacent command group and the workflow guide.
migrate plan
Generate a read-only migration plan.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger migrate plan
Arguments and options
migration— argument; optional; typetext--output, -o— option; optional; typepath
Example
memoryledger migrate plan
Related commands
See the adjacent command group and the workflow guide.
migrate recover
Recover from a migration journal.
Audience:
bothStability:
betaEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger migrate recover
Arguments and options
--journal— option; required; typepath--policy— option; optional; typetext; defaultautomigration— argument; optional; typetext
Example
memoryledger migrate recover
Related commands
See the adjacent command group and the workflow guide.
migrate status
Show migration status for all registered migrations.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger migrate status
Arguments and options
None.
Example
memoryledger migrate status
Related commands
See the adjacent command group and the workflow guide.
Project
commands
List all registered commands with metadata.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger commands
Arguments and options
None.
Example
memoryledger commands
Related commands
See the adjacent command group and the workflow guide.
doctor
Run read-only diagnostics on project health.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger doctor
Arguments and options
--json— option; optional; typeboolean; flag
Example
memoryledger doctor
Related commands
See the adjacent command group and the workflow guide.
help
Show nested help for a command path.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger help
Arguments and options
command— argument; optional; typetext
Example
memoryledger help
Related commands
See the adjacent command group and the workflow guide.
info
Show full read-only project inventory.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger info
Arguments and options
--paths-only, --no-paths-only— option; optional; typeboolean; flag--no-content, --no-no-content— option; optional; typeboolean; flag--json— option; optional; typeboolean; flag
Example
memoryledger info
Related commands
See the adjacent command group and the workflow guide.
init
Initialize a new Memoryledger project in the current directory.
Audience:
bothStability:
stableEffect:
workspace-writeWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger init
Arguments and options
--project-name— option; optional; typetext--memoryledger-dir— option; optional; typetext; default.memoryledger--hidden-config, --no-hidden-config— option; optional; typeboolean; flag
Example
memoryledger init
Related commands
See the adjacent command group and the workflow guide.
next-action
Return the recommended next workflow action.
Audience:
agentStability:
betaEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger next-action
Arguments and options
None.
Example
memoryledger next-action
Related commands
See the adjacent command group and the workflow guide.
status
Show project status (initialized, memory counts, migration state).
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger status
Arguments and options
--check, --no-check— option; optional; typeboolean; flag--json— option; optional; typeboolean; flag
Example
memoryledger status
Related commands
See the adjacent command group and the workflow guide.
Rendering
build
Materialize deterministic derived artifacts in the artifacts mount.
Audience:
bothStability:
stableEffect:
workspace-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger build
Arguments and options
--output, -o— option; optional; typepath
Example
memoryledger build
Related commands
See the adjacent command group and the workflow guide.
export
Write selected generated artifacts to user/workspace destinations.
Audience:
bothStability:
stableEffect:
workspace-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger export
Arguments and options
--out— option; optional; typepath--json— option; optional; typeboolean; flag--backup, --no-backup— option; optional; typeboolean; flag--include-nested, --no-include-nested— option; optional; typeboolean; flag
Example
memoryledger export
Related commands
See the adjacent command group and the workflow guide.
finalize
Accept all candidates, build, and export in one orchestrated workflow.
Audience:
agentStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger finalize
Arguments and options
--accept-all, --accept-candidates— option; optional; typeboolean; flag--reason— option; optional; typetext; default ``--render, --no-render— option; optional; typeboolean; flag; defaultTrue--export, --no-export— option; optional; typeboolean; flag--json— option; optional; typeboolean; flag--backup, --no-backup— option; optional; typeboolean; flag--include-nested, --no-include-nested— option; optional; typeboolean; flag--out— option; optional; typepath
Example
memoryledger finalize
Related commands
See the adjacent command group and the workflow guide.
preview
Render without modifying authoritative or derived state.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger preview
Arguments and options
--output, -o— option; optional; typetext; default-
Example
memoryledger preview
Related commands
See the adjacent command group and the workflow guide.
Review
review accept
Accept one or all candidate memories.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger review accept
Arguments and options
memory_id— argument; optional; typetext--all— option; optional; typeboolean; flag--reason— option; required; typetext--json— option; optional; typeboolean; flag
Example
memoryledger review accept
Related commands
See the adjacent command group and the workflow guide.
review list
List candidate memories awaiting review.
Audience:
bothStability:
stableEffect:
readWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger review list
Arguments and options
--json— option; optional; typeboolean; flag
Example
memoryledger review list
Related commands
See the adjacent command group and the workflow guide.
review reject
Reject one or all candidate memories.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
memory-refJSON:
True
Usage
memoryledger review reject
Arguments and options
memory_id— argument; optional; typetext--all— option; optional; typeboolean; flag--reason— option; required; typetext--json— option; optional; typeboolean; flag
Example
memoryledger review reject
Related commands
See the adjacent command group and the workflow guide.
Schema
schema list
List available schema names.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger schema list
Arguments and options
None.
Example
memoryledger schema list
Related commands
See the adjacent command group and the workflow guide.
schema show
Show field definitions for a schema.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger schema show
Arguments and options
name— argument; required; typetext
Example
memoryledger schema show
Related commands
See the adjacent command group and the workflow guide.
schema values
Show allowed enum values.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger schema values
Arguments and options
--json— option; optional; typeboolean; flag
Example
memoryledger schema values
Related commands
See the adjacent command group and the workflow guide.
Storage
storage clear-override
Remove a local mount override.
Audience:
bothStability:
betaEffect:
workspace-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger storage clear-override
Arguments and options
mount— argument; required; typetext
Example
memoryledger storage clear-override
Related commands
See the adjacent command group and the workflow guide.
storage set
Set a mount’s storage kind and scope.
Audience:
bothStability:
betaEffect:
workspace-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger storage set
Arguments and options
mount— argument; required; typetext--storage— option; required; typetext--storage-root— option; optional; typepath--scope— option; optional; typetext; defaultproject
Example
memoryledger storage set
Related commands
See the adjacent command group and the workflow guide.
storage validate
Validate storage layout and bindings (read-only).
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger storage validate
Arguments and options
--strict— option; optional; typeboolean; flag
Example
memoryledger storage validate
Related commands
See the adjacent command group and the workflow guide.
storage where
Show complete storage topology information.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger storage where
Arguments and options
None.
Example
memoryledger storage where
Related commands
See the adjacent command group and the workflow guide.
Templates
template apply
Apply a template to create or update a memory.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger template apply
Arguments and options
template_id— argument; required; typetext--accept— option; optional; typeboolean; flag--reason— option; optional; typetext; default ``--json— option; optional; typeboolean; flag
Example
memoryledger template apply
Related commands
See the adjacent command group and the workflow guide.
template list
List available global templates.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger template list
Arguments and options
--json— option; optional; typeboolean; flag
Example
memoryledger template list
Related commands
See the adjacent command group and the workflow guide.
template remove
Remove a template-backed memory.
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger template remove
Arguments and options
template_id— argument; required; typetext--reason— option; required; typetext--json— option; optional; typeboolean; flag
Example
memoryledger template remove
Related commands
See the adjacent command group and the workflow guide.
template show
Show one template’s content.
Audience:
bothStability:
stableEffect:
readWorkspace:
FalseTarget:
noneJSON:
True
Usage
memoryledger template show
Arguments and options
template_id— argument; required; typetext--json— option; optional; typeboolean; flag
Example
memoryledger template show
Related commands
See the adjacent command group and the workflow guide.
template sync
Sync a template (apply with optional acceptance).
Audience:
bothStability:
stableEffect:
ledger-writeWorkspace:
TrueTarget:
noneJSON:
True
Usage
memoryledger template sync
Arguments and options
template_id— argument; required; typetext--accept— option; optional; typeboolean; flag--reason— option; optional; typetext; default ``--json— option; optional; typeboolean; flag
Example
memoryledger template sync
Related commands
See the adjacent command group and the workflow guide.
Automation
Use memoryledger --json commands for the machine-readable catalog. JSON output follows ledgerwerk.cli.v1.