Skip to content

Memory Tree Visualization

This page documents the current amplihack memory tree command.

Overview

amplihack memory tree renders the repo's top-level session memory graph using MemoryDatabase, a SQLite store at ~/.amplihack/memory.db by default.

It is a graph view over the top-level CLI/session memory store. It is not a live view into a generated goal agent's local ./memory/ directory.

Usage

Basic command

amplihack memory tree

Filter by session

amplihack memory tree --session Session-2026-01-12

Filter by current parser type

amplihack memory tree --type learning
amplihack memory tree --type pattern

The current parser accepts these legacy type names:

  • conversation
  • decision
  • pattern
  • context
  • learning
  • artifact

Limit depth

amplihack memory tree --depth 3

Supported Options

amplihack memory tree [--session SESSION] [--type TYPE] [--depth N]

There is no supported top-level --backend flag on memory tree in the current parser.

Output Shape

The command renders a Rich tree of the current session graph, grouped by session and memory item metadata. The exact styling may change, but the current command is intended for human inspection rather than machine parsing.

  • amplihack memory export / amplihack memory import for agent-local hierarchical memory transfer
  • amplihack new --enable-memory for generated agent scaffolds with local ./memory/