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/knowledge2. Add Documents
Place your documents in the knowledge directory:
~/.openclaw/knowledge/
├── company-faq.md
├── product-docs.md
└── api-reference.pdf3. Configure Moltbook
{
"moltbook": {
"enabled": true,
"sources": [
{
"path": "~/.openclaw/knowledge",
"watch": true
}
]
}
}4. Link to an Agent
{
"agents": {
"support": {
"provider": "openai",
"model": "gpt-4o",
"knowledge": ["moltbook"]
}
}
}Next Steps
- Gateway Configuration — Central routing hub
- Memory — Persistent memory system
- AI Agent — Agent configuration