Moltbook Guide

Set up Moltbook, the knowledge base manager for OpenClaw agents.

Overview

Moltbook is a knowledge base manager in the OpenClaw ecosystem. It allows agents to reference structured documents, FAQs, and custom datasets during conversations.

Features

  • Document indexing and retrieval
  • Markdown and PDF support
  • Semantic search across knowledge base
  • Per-agent knowledge scoping
  • Auto-refresh on file changes

Setup

1. Create a Knowledge Base Directory

mkdir -p ~/.openclaw/knowledge

2. Add Documents

Place your documents in the knowledge directory:

~/.openclaw/knowledge/
├── company-faq.md
├── product-docs.md
└── api-reference.pdf

3. Configure Moltbook

{
  "moltbook": {
    "enabled": true,
    "sources": [
      {
        "path": "~/.openclaw/knowledge",
        "watch": true
      }
    ]
  }
}
{
  "agents": {
    "support": {
      "provider": "openai",
      "model": "gpt-4o",
      "knowledge": ["moltbook"]
    }
  }
}

Next Steps