Skip to content

Memory

Remembered notes are off by default. Turn them on when you want facts to persist across sessions:

bash
min-agent memory                 # Show the switch and stored notes
min-agent memory on              # Turn memory on (writes config)
min-agent --memory on            # Same; with a message, this session only

In chat:

  • /memory on or /memory off toggles it
  • /memory lists notes
  • /memory some text saves one

Managing stored notes

bash
min-agent memory add "prefer bun"                  # Add a note
min-agent memory search "bun"                      # Search notes
min-agent memory delete 3                          # Delete by index
min-agent memory list                              # List everything

By default these write to global memory; --project targets this project, --global targets global:

bash
min-agent memory add "this project uses bun" --project

Where memory lives

  • Project memory: .min-agent/memory.json
  • Global memory: ~/.min-agent/memory.json

Once enabled, min-agent injects relevant notes into the conversation and registers the memory tool.

MIT Licensed