Overview
Thememory config command displays the current configuration and provides subcommands for managing the memory home location.
Syntax
Show Configuration
View current config
Configuration fields
Embedding provider:
ollama or openai.Model name (e.g.,
nomic-embed-text, text-embedding-3-small).API base URL for the provider.
API key (redacted in output).
Semantic search mode:
auto, always, or never.Whether to include recent memories in context.
Resolved memory home directory path.
Source of memory home:
env, persisted, or default.Subcommands
init
Generate a starterconfig.yaml file.
Options
Overwrite existing config file.
Examples
Initialize config:Generated config template
set-home
Persist the memory home location in global config (used whenMEMORY_HOME is not set).
Path to use as memory home. Can be absolute or use
~ for home directory.Examples
Set custom location:- Saves the path to
~/.config/memory/config.yaml - Creates the directory and
vault/subdirectory if they don’t exist - This path is used when
MEMORY_HOMEenvironment variable is not set
clear-home
Remove the persisted memory home location from global config.Examples
Clear persisted setting:- Use
$MEMORY_HOMEif set - Otherwise use default
~/.memory
Memory Home Resolution
EchoVault determines the memory home directory in this order:- Environment variable:
$MEMORY_HOME(highest priority) - Persisted setting: Set via
memory config set-home - Default:
~/.memory(fallback)
Check current source
env: FromMEMORY_HOMEenvironment variablepersisted: Frommemory config set-homedefault: Using~/.memory
Examples
Initial setup
Use custom memory location
Reset to defaults
Configure OpenAI embeddings
~/.memory/config.yaml:
Configure Ollama (local)
~/.memory/config.yaml:
Disable semantic search
~/.memory/config.yaml:
Configuration File Location
Project config
~/.memory/config.yaml
Global config (for persisted home)
set-home path.
Related Commands
memory init- Initialize vaultmemory reindex- Rebuild embeddings after config changesmemory context --show-config- Show config from context command
API keys are redacted in
memory config output for security. They’re never shown in plain text on the command line.