Developers

Local Architecture

Memmy System Architecture

Core Concepts

ConceptDescription
WorkspaceThe Agent's working directory, default ~/.memmy/workspace; the runtime syncs templates, built-in skills, and memory files here
Config~/.memmy/config.yaml, overridable via MEMMY_CONFIG or --config
Agent RuntimeModel calls, message loop, tool registration, MCP, sessions, long tasks, skills, auto-compaction, memory hooks
Memory ServiceThe local-first memory foundation; entry point Memory/src/server/index.ts, default :18960
Local BackendBackend for the desktop local API: SQLite app state, permissions, Cloud/Memory clients, source scanning, Skill writing, Fastify routes
Agent SourceRead adapter for external Agent history + optional Skill install target
DreamMemory consolidation. Available when fileMemory.enabled is true; that switch defaults to off. Trigger it with /dream, or let agents.defaults.dream run it on a schedule, every 2 hours by default

On this page