What is Yggdrasil?
Yggdrasil is a local, persistent memory layer for AI coding agents like Claude Code, Codex, and any MCP-compatible tool. It stores project context, decisions, and gotchas across sessions and projects, eliminating the need to re-explain your work every time a new chat starts. The system runs as a tiny always-on daemon (~21 MB RAM) with zero dependencies and keeps everything on your machine.
How to use Yggdrasil?
Install inside Claude Code with two commands (/plugin marketplace add VonderVuflya/Yggdrasil then /plugin install yggdrasil) or via CLI using uvx --from yggdrasil-memory ygg install, npx yggdrasil-memory install, pipx, pip, Homebrew (brew install VonderVuflya/tap/yggdrasil), or a .mcpb file for Claude Desktop. Once running, agents interact with it through MCP tools: ygg_health, ygg_bootstrap, ygg_search, ygg_recall, ygg_remember, and ygg_materialize. Hooks automatically inject a project status summary (~300 tokens) at the start of each session.
Key features of Yggdrasil
- Persistent memory survives across AI sessions and projects
- One brain shared by Claude Code, Codex, and any MCP host
- Cross-project recall (“this looks like project B — reuse it?”)
- Curated, not captured: agent saves only what matters; governance dedupes and archives
- Opt-in self-maintenance using a small local model (zero API tokens)
- 100% local, no cloud, no account, no telemetry
Use cases of Yggdrasil
- Stop re-explaining your project’s decisions and gotchas to every new chat
- Share the same memory across different AI tools (Claude Code, Codex)
- Recall patterns from past projects to suggest reuse in a current one
- Run a background consolidation agent that keeps memory tidy without external API calls
- Keep all memory as plain Markdown notes viewable in Obsidian
Comments