Reference

Files and directories

Memory Layer separates machine config, user-local project runtime state, and repo-owned agent files.

Installed and user-local locations

PathPurposeCommit?
/etc/memory-layer/memory-layer.tomlDebian/system global config.No
/etc/memory-layer/memory-layer.envDebian/system env and service token file.No
~/.config/memory-layer/memory-layer.tomlLocal Linux global config.No
~/.config/memory-layer/memory-layer.envLocal Linux global env file.No
~/Library/Application Support/memory-layer/memory-layer.tomlmacOS global config.No
~/.config/memory-layer/projects/<project-key>/config.tomlUser-local project config.No
~/.config/memory-layer/projects/<project-key>/config.dev.tomlDev-profile overlay for a source checkout.No
~/.local/state/memory-layer/projects/<project-key>/runtime/Linux project runtime state.No
~/.cache/memory-layer/projects/<project-key>/Linux project cache/index data.No

Platform-specific directories follow XDG on Linux and Application Support on macOS.

Repo-owned locations

PathPurposeCommit?
.mem/project.tomlProject slug marker used by CLI and agents.Usually yes
.mem/.gitignoreKeeps runtime/config secrets out while allowing project.toml.Usually yes
.mem/config.tomlLegacy project config fallback.Usually no for new repos
.agents/memory-layer.tomlAgent-facing project behavior.Usually yes
.agents/skills/Repo-local Memory Layer skill bundle.Usually yes
docs/Markdown user/developer docs.Yes
docs-site/Fumadocs / Next.js website.Yes
web/Browser UI source.Yes

Installed skill template

Install modeTemplate path
Debian package/usr/share/memory-layer/skill-template/
Local Linux install~/.local/share/memory-layer/skill-template/
macOS package/usr/local/share/memory-layer/skill-template/
Homebrew$(brew --prefix)/share/memory-layer/skill-template/
Source/dev checkout.agents/skills/

memory wizard, memory init, and memory upgrade copy from this template into repo-local .agents/skills/.

Runtime checks

memory doctor
memory status --project <project-slug>
memory service status

For dev/source runs:

cargo run --bin memory -- doctor
cargo run --bin memory -- status --project <project-slug>

Next

Read Project config.

© 2026 Olivier Van Acker (3vilM33pl3). Memory Layer is AGPL-3.0-or-later with commercial licensing available.

On this page