OpenClaw's memory system stores conversations, context, and information as files in your workspace. This file-based approach means you can read, edit, search, and version control your memories just like any other files.

How Memory Works

Moltbot stores memories as Markdown files:

  • Daily Notes - Automatic daily memory files
  • Conversation History - Stored in session files
  • Context - Loaded automatically when needed
  • Editable - You can read and modify memory files directly

Memory Storage

Memories are stored in your workspace (~/clawd by default):

  • Daily Notes - ~/clawd/YYYY-MM-DD.md
  • Sessions - ~/clawd/sessions/
  • Memories - Organized by date and topic

Daily Notes Format

Daily notes are created automatically:

Example Daily Note
# 2026-01-25

## Conversations
- Discussed project ideas with user
- Helped with configuration setup

## Important Information
- User prefers dark mode
- Workspace location: ~/projects

Memory Access

The agent automatically accesses memories:

  • Context Loading - Relevant memories loaded for conversations
  • Search - Agent searches memories when needed
  • Updates - Memories updated based on conversations

Manual Access

You can also access memories directly:

  • Read memory files with any text editor
  • Search with tools like Raycast or Obsidian
  • Edit memories directly
  • Version control with Git

Memory Features

Automatic Creation

  • Daily notes created automatically
  • Conversations recorded
  • Important information extracted

Context Persistence

  • Memories persist across sessions
  • Context maintained over time
  • Agent remembers your preferences

Searchable

  • Search memories with text tools
  • Agent searches automatically
  • Fast retrieval of relevant information

Managing Memories

Viewing Memories

View your memories:

  • Open workspace directory: ~/clawd
  • Browse daily notes
  • Check session files

Editing Memories

Edit memory files directly:

  • Open in any text editor
  • Make changes
  • Agent will use updated information

Searching Memories

Search your memories:

  • Use grep or text search tools
  • Use Raycast or Obsidian for advanced search
  • Agent searches automatically during conversations

Memory Best Practices

  • Let It Grow - More memories = better context
  • Review Regularly - Check daily notes periodically
  • Edit When Needed - Correct inaccurate information
  • Backup Workspace - Regular backups of memory files
  • Use Search Tools - Leverage search for finding information

Memory and Privacy

Memory files are stored locally:

  • Local Storage - All memories on your machine
  • No Cloud Sync - Never leaves your device
  • You Control - Read, edit, or delete anytime
  • Private by Default - Only you have access

Learn More