@romiluz/clawmongo 2026.3.22 → 2026.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,306 @@
1
+ # GitHub Research: OpenClaw Ecosystem
2
+
3
+ ## Execution
4
+ - Preferred backend: web-only (no Octocode MCP available)
5
+ - Allowed fallbacks: WebFetch, local codebase reading
6
+ - Research round: 1
7
+
8
+ ## Sources Used
9
+ - Local codebase (ClawMongo fork, synced 0 behind upstream as of 2026-03-22)
10
+ - GitHub web (openclaw/openclaw repo page, issues, pulse, forks, topics)
11
+ - npmjs.com (openclaw package)
12
+ - DeepWiki (openclaw/openclaw architectural analysis)
13
+ - GitHub competitor repos (AutoGPT, CrewAI)
14
+
15
+ ## Research Quality
16
+ - Status: COMPLETE
17
+ - Quality level: high
18
+ - Backend mode: web-only
19
+ - Note: Local codebase is 0 commits behind upstream/main and 273 commits ahead, making it a reliable mirror of upstream + ClawMongo additions.
20
+
21
+ ---
22
+
23
+ ## 1. OpenClaw Repository Overview
24
+
25
+ **Repo:** github.com/openclaw/openclaw
26
+ **Tagline:** "Your own personal AI assistant. Any OS. Any Platform. The lobster way."
27
+
28
+ ### Metrics (as of 2026-03-22)
29
+ | Metric | Value |
30
+ |--------|-------|
31
+ | Stars | 329,000 |
32
+ | Forks | 63,900 |
33
+ | Open issues | 8,756 |
34
+ | Commits (all time) | 20,918 |
35
+ | Security advisories | 288 |
36
+ | npm weekly downloads | 1,109,169 |
37
+ | npm package name | `openclaw` |
38
+ | Latest npm version | 2026.3.13 |
39
+ | License | MIT |
40
+ | Language | TypeScript (ESM) |
41
+ | Runtime | Node 24 (recommended) / Node 22.16+ |
42
+
43
+ ### History / Name Evolution
44
+ Warelay -> Clawdbot -> Moltbot -> OpenClaw (from VISION.md). Backward-compat shims exist for clawdbot/moltbot naming.
45
+
46
+ ### Maintainers (from CONTRIBUTING.md)
47
+ - **Peter Steinberger (@steipete)** -- Benevolent Dictator
48
+ - **Shadow (@thewilloftheshadow)** -- Discord, community moderation, ClawHub
49
+ - **Vignesh (@vignesh07)** -- Memory (QMD), TUI, IRC, Lobster
50
+ - **Jos (@joshp123)** -- Telegram, API, Nix
51
+ - **Ayaan Zaidi (@obviyus)** -- Telegram, Android
52
+ - **Tyler Yust (@tyler6204)** -- Agents/subagents, cron, BlueBubbles, macOS
53
+ - **Mariano Belinky (@mbelinky)** -- iOS, Security
54
+ - **Nimrod Gutman (@ngutman)** -- iOS, macOS
55
+ - **Vincent Koc (@vincentkoc)** -- Agents, Telemetry, Hooks, Security
56
+ - Plus 6+ additional domain maintainers covering CLI, plugins, Matrix, ACP, docs, and JS infra
57
+
58
+ ---
59
+
60
+ ## 2. npm Package Metadata
61
+
62
+ ```json
63
+ {
64
+ "name": "openclaw",
65
+ "version": "2026.3.13",
66
+ "description": "Personal AI assistant you run on your own devices...",
67
+ "license": "MIT",
68
+ "author": "steipete",
69
+ "bin": { "openclaw": "openclaw.mjs" },
70
+ "dependencies": 55,
71
+ "weeklyDownloads": 1109169
72
+ }
73
+ ```
74
+
75
+ ClawMongo fork publishes as `@romiluz/clawmongo` with dual bin entries (`clawmongo` + `openclaw` alias).
76
+
77
+ ### Plugin SDK Surface (package.json exports)
78
+ The npm package exposes 35+ subpath exports under `./plugin-sdk/*`, including:
79
+ - Core: `./plugin-sdk`, `./plugin-sdk/core`, `./plugin-sdk/runtime`
80
+ - Channels: `./plugin-sdk/channel-setup`, `./plugin-sdk/channel-runtime`, `./plugin-sdk/channel-reply-pipeline`
81
+ - Providers: `./plugin-sdk/provider-setup`, `./plugin-sdk/self-hosted-provider-setup`
82
+ - Runtime: `./plugin-sdk/agent-runtime`, `./plugin-sdk/gateway-runtime`, `./plugin-sdk/cli-runtime`
83
+ - Security: `./plugin-sdk/security-runtime`, `./plugin-sdk/ssrf-runtime`
84
+ - Media: `./plugin-sdk/media-runtime`, `./plugin-sdk/speech-runtime`
85
+ - Other: `./plugin-sdk/sandbox`, `./plugin-sdk/routing`, `./plugin-sdk/hook-runtime`, `./plugin-sdk/acp-runtime`
86
+
87
+ This is one of the most comprehensive plugin SDK surfaces in the agent runtime space.
88
+
89
+ ---
90
+
91
+ ## 3. Extensions / Plugin Ecosystem
92
+
93
+ **Total extensions: 78 directories** under `extensions/`.
94
+
95
+ ### By Category
96
+
97
+ **Channel Plugins (24 messaging platforms):**
98
+ WhatsApp, Telegram, Slack, Discord, Google Chat, Signal, BlueBubbles, iMessage, IRC, Microsoft Teams, Matrix, Feishu/Lark, LINE, Mattermost, Nextcloud Talk, Nostr, Synology Chat, Tlon/Urbit, Twitch, Zalo, Zalo Personal, WebChat, plus voice-call and device-pair
99
+
100
+ **LLM/AI Provider Plugins (25+ providers):**
101
+ OpenAI, Anthropic, Anthropic Vertex, Google, Amazon Bedrock, Mistral, Ollama, OpenRouter, GitHub Copilot, Perplexity, xAI, Together, NVIDIA, Hugging Face, fal, MiniMax, Moonshot, BytePlus, Chutes, Venice, Volcengine, vLLM, SGLang, Qianfan, Kimi, Xiaomi, Model Studio, Kilocode, OpenCode, OpenCode Go, Z.AI, Copilot Proxy, Cloudflare AI Gateway, Vercel AI Gateway
102
+
103
+ **Speech / Media Plugins:**
104
+ ElevenLabs (speech), Microsoft (speech), talk-voice
105
+
106
+ **Tool / Utility Plugins:**
107
+ Brave (web search), Firecrawl (web scraping), Tavily (web search), lobster (typed workflow pipelines), diffs (diff viewer), llm-task (JSON-only LLM tasks), open-prose (VM skill pack)
108
+
109
+ **Infrastructure Plugins:**
110
+ diagnostics-otel (OpenTelemetry), openshell (sandbox backend), acpx (ACP runtime), memory-core (memory tools), thread-ownership, phone-control, synthetic
111
+
112
+ **Auth Plugins:**
113
+ google-antigravity-auth, openai-codex-auth, qwen-portal-auth
114
+
115
+ ### Plugin Architecture
116
+ - Plugins register via `definePluginEntry()` with `OpenClawPluginApi`
117
+ - Plugins can register: tools, CLI commands, memory prompt sections, context engines
118
+ - Memory is a special "kind" slot (only one memory plugin active at a time)
119
+ - Distribution: npm packages or local extension loading
120
+ - Plugin marketplace support exists (Claude marketplace, ClawHub)
121
+ - MCP integration via external `mcporter` bridge (not built into core)
122
+
123
+ ---
124
+
125
+ ## 4. Memory Architecture (Upstream vs ClawMongo)
126
+
127
+ ### Upstream OpenClaw Memory
128
+ - **Default backends:** `builtin` (SQLite) and `qmd` (Quick Markdown) for vector/hybrid search
129
+ - **QMD:** QmdMemoryManager -- Markdown-file-based memory with vector search via LanceDB
130
+ - **Memory plugin slot:** `memory-core` extension provides `memory_search`, `memory_get`, `kb_search`, `memory_write` tools
131
+ - VISION.md states: "Memory is a special plugin slot where only one memory plugin can be active at a time. Today we ship multiple memory options; over time we plan to converge on one recommended default path."
132
+ - Upstream recently pivoted toward QMD as the recommended backend
133
+
134
+ ### ClawMongo Memory (Fork Additions, 273 commits ahead)
135
+ - **MongoDB-only:** Community mongod + mongot, Voyage AI autoEmbed
136
+ - **20 collections, 53 standard indexes, up to 8 MongoDB Search indexes**
137
+ - **Canonical events architecture:** events as single source of truth, everything else derived
138
+ - **8 retrieval paths:** active-critical, procedural, structured, raw-window, graph, episodic, kb, hybrid
139
+ - **Knowledge graph:** $graphLookup with bi-directional expansion
140
+ - **Episode materialization:** auto-triggers on session gaps or event count thresholds
141
+ - **Structured memory:** salience, temporal validity, state, provenance, revision tracking
142
+ - **Procedures:** versioned workflow artifacts with intent tags and ordered steps
143
+ - **Retrieval planner:** pure-function path scoring based on query analysis
144
+ - **1,632 lines** in mongodb-schema.ts alone
145
+
146
+ ### Key Architectural Gap
147
+ Upstream treats memory as a file/Markdown concern. ClawMongo treats memory as a database-first concern with explicit write/read/audit semantics. The fork's memory system is materially more sophisticated than upstream's QMD or SQLite paths.
148
+
149
+ ---
150
+
151
+ ## 5. Onboarding Flow
152
+
153
+ **34 files** under `src/commands/onboard*.ts` covering:
154
+ - `onboard.ts` -- main entry, dispatches to interactive or non-interactive
155
+ - `onboard-interactive.ts` -- step-by-step wizard
156
+ - `onboard-non-interactive.ts` -- scripted/headless setup
157
+ - `onboard-channels.ts` -- channel configuration
158
+ - `onboard-config.ts` -- config file generation
159
+ - `onboard-hooks.ts` -- hook setup
160
+ - `onboard-skills.ts` -- skill enablement
161
+ - `onboard-search.ts` -- provider search/discovery
162
+ - `onboard-custom.ts` -- custom provider setup
163
+ - `onboard-remote.ts` -- remote gateway setup
164
+ - `onboard-helpers.ts` -- shared utilities
165
+ - `onboard-types.ts` -- type definitions
166
+
167
+ **Key features:**
168
+ - Interactive wizard (default) or `--non-interactive` for CI/automation
169
+ - `--install-daemon` flag installs launchd/systemd user service
170
+ - Auth choices: setup-token (Anthropic), openai-codex (OAuth), etc.
171
+ - `--accept-risk` required for non-interactive mode (security gate)
172
+ - Reset scopes: `config`, `config+creds+sessions`, `full`
173
+ - Cross-platform: macOS, Linux, Windows (WSL2 recommended)
174
+
175
+ ---
176
+
177
+ ## 6. Companion Apps
178
+
179
+ OpenClaw ships native apps under `apps/`:
180
+ - **macOS** -- SwiftUI, Sparkle updates, voice wake, menubar gateway
181
+ - **iOS** -- SwiftUI, voice wake, Observation framework
182
+ - **Android** -- Kotlin, dark theme, Talk speech, SMS/call log search
183
+ - **shared** -- cross-platform code
184
+
185
+ This is unusual for an agent runtime. Most competitors are CLI-only or web-only.
186
+
187
+ ---
188
+
189
+ ## 7. Community Activity Patterns
190
+
191
+ ### Issue Categories (8,756 open)
192
+ 1. Gateway stability during long-running operations
193
+ 2. Cross-platform compatibility (Windows/Linux filesystem)
194
+ 3. Multi-language/localization gaps
195
+ 4. Third-party service integration reliability
196
+ 5. Plugin dependency resolution
197
+ 6. Memory/session stability (OOM, leaks)
198
+ 7. Channel-specific bugs (Telegram, Discord, Matrix)
199
+
200
+ ### Contributing Bar
201
+ - Bugs/small fixes: direct PR welcome
202
+ - New features: start a Discussion or Discord first
203
+ - Refactor-only PRs: not accepted unless maintainer-requested
204
+ - AI-generated code: welcomed, must be marked and tested
205
+ - CI requirements: `pnpm build && pnpm check && pnpm test`
206
+
207
+ ### Recent Changelog Activity (Unreleased)
208
+ The unreleased changelog section shows 50+ entries, indicating very high development velocity. Recent additions include:
209
+ - Anthropic Vertex provider support
210
+ - `/btw` side-question command
211
+ - Pluggable sandbox backends (OpenShell)
212
+ - SSH sandbox backend
213
+ - Firecrawl/Tavily web search providers
214
+ - Claude/Codex/Cursor bundle compatibility
215
+ - Plugin marketplace support
216
+ - MiniMax, Xiaomi model updates
217
+ - Telegram topic auto-labeling
218
+ - Matrix bot-to-bot communication
219
+ - GPT-5.4-mini/nano forward-compat
220
+
221
+ ---
222
+
223
+ ## 8. Competitive Landscape
224
+
225
+ ### Direct Competitors
226
+
227
+ | Project | Stars | Language | Focus | Memory | Channels |
228
+ |---------|-------|----------|-------|--------|----------|
229
+ | **OpenClaw** | 329K | TypeScript | Personal assistant, multi-channel | SQLite/QMD/pluggable | 24 messaging platforms |
230
+ | **AutoGPT** | 183K | Python/TS | Agent builder platform, low-code | PostgreSQL | Web UI only |
231
+ | **CrewAI** | 46.8K | Python | Multi-agent orchestration | Pluggable | None (library) |
232
+ | **LangChain** | ~90K | Python/JS | LLM framework/toolkit | Pluggable (100+ stores) | None (library) |
233
+
234
+ ### What Makes OpenClaw Unique
235
+
236
+ 1. **Multi-channel native:** 24 messaging platforms, all in one runtime. No other agent framework comes close. AutoGPT has a web UI. CrewAI has nothing. LangChain is a library.
237
+
238
+ 2. **Self-hosted, single-user, privacy-first:** runs on your devices, local gateway binds to loopback. Not a SaaS platform.
239
+
240
+ 3. **Native companion apps:** macOS, iOS, Android apps with voice wake, canvas, TUI. AutoGPT has a web builder. CrewAI has a cloud offering. Neither has native apps.
241
+
242
+ 4. **25+ LLM providers:** provider plugins for essentially every major and niche LLM provider. Most frameworks support 5-10.
243
+
244
+ 5. **Plugin SDK depth:** 35+ subpath exports, channel/provider/tool/memory/context-engine extension points. The plugin surface is production-grade, not a toy API.
245
+
246
+ 6. **Active development velocity:** 20,918 commits, 50+ unreleased changelog entries, 15+ named maintainers. This is one of the most actively developed open-source agent projects.
247
+
248
+ 7. **Security posture:** dedicated SECURITY.md, GHSA workflow, trust page, DM pairing policies, SSRF protection, secret-ref system, sandbox backends. Most agent frameworks treat security as an afterthought.
249
+
250
+ ### Where OpenClaw is Weaker vs Competitors
251
+
252
+ 1. **Multi-agent orchestration:** CrewAI's role-based crew/flow model is more sophisticated for multi-agent task decomposition. OpenClaw's multi-agent is per-workspace isolation, not collaborative crews.
253
+
254
+ 2. **Workflow automation:** AutoGPT's visual builder is more accessible for non-developers. OpenClaw is terminal-first by design.
255
+
256
+ 3. **Memory sophistication (upstream):** Upstream's QMD/SQLite memory is basic compared to what LangChain can plug into (100+ vector stores). ClawMongo addresses this gap with MongoDB-native memory.
257
+
258
+ 4. **Python ecosystem:** CrewAI and LangChain have Python's AI/ML ecosystem advantage. OpenClaw's TypeScript choice trades ecosystem breadth for hackability and web-developer familiarity.
259
+
260
+ ---
261
+
262
+ ## 9. Other Forks / Variants
263
+
264
+ The fork network shows hundreds of forks, with several patterns:
265
+ - **Renamed forks:** `clawdbot`, `moltbot` appear dozens of times (legacy names)
266
+ - **Specialized forks:** `openclaw-meets-kiro`, `openclaw-msns`, `openclaw-westworld`, `openclaw-rust`
267
+ - **ClawMongo** (this fork): the only known MongoDB-native fork with 273 commits of divergence
268
+
269
+ No other fork appears to have the scope of architectural divergence that ClawMongo has with its MongoDB-first memory rewrite.
270
+
271
+ ---
272
+
273
+ ## 10. What Makes ClawMongo Differentiated from Upstream
274
+
275
+ | Dimension | Upstream OpenClaw | ClawMongo |
276
+ |-----------|-------------------|-----------|
277
+ | Memory backend | SQLite / QMD (Markdown + LanceDB) | MongoDB Community + mongot |
278
+ | Memory model | File-based, flat search | Event-sourced, 20 collections, 8 retrieval paths |
279
+ | Vector search | LanceDB local | Voyage AI autoEmbed via mongot (no app-side embedding code) |
280
+ | Knowledge graph | None | $graphLookup with entities/relations/bi-directional expansion |
281
+ | Episodes | None | Auto-materialized from event windows |
282
+ | Structured memory | Basic | Salience, temporal validity, state, provenance, revision tracking |
283
+ | Procedures | None | Versioned workflow artifacts with intent tags |
284
+ | Retrieval planning | Simple search | 8-path planner with query analysis |
285
+ | Operational visibility | Limited | Ingest runs, projection runs, relevance telemetry |
286
+ | Collections | ~2 | 20 |
287
+ | Indexes | Few | 53 standard + 8 search indexes |
288
+
289
+ ---
290
+
291
+ ## What Changed the Recommendation
292
+
293
+ **Highest-signal finding:** OpenClaw has 329K stars and 1.1M weekly npm downloads, making it one of the most popular open-source agent projects globally -- far larger than AutoGPT (183K stars) in star count and community size. The upstream project is actively developed with 15+ maintainers, 78 extensions, 24 messaging channels, and native apps for 3 platforms. However, upstream's memory system (QMD/SQLite) is the acknowledged weak point -- VISION.md explicitly states they plan to "converge on one recommended default path" for memory. ClawMongo's MongoDB-native memory architecture (20 collections, 8 retrieval paths, knowledge graph, episodes, procedures) fills the exact gap that upstream acknowledges but has not yet addressed. This positions ClawMongo not as a competing fork but as the production memory backend that OpenClaw needs.
294
+
295
+ ## References
296
+ - https://github.com/openclaw/openclaw (329K stars)
297
+ - https://www.npmjs.com/package/openclaw (1.1M weekly downloads)
298
+ - https://deepwiki.com/openclaw/openclaw
299
+ - https://github.com/Significant-Gravitas/AutoGPT (183K stars)
300
+ - https://github.com/crewAIInc/crewAI (46.8K stars)
301
+ - https://docs.openclaw.ai
302
+ - Local: VISION.md, CONTRIBUTING.md, CHANGELOG.md, package.json
303
+ - Local: extensions/ (78 plugins), src/memory/ (MongoDB architecture), src/commands/onboard*.ts (34 files)
304
+
305
+ ---
306
+ GitHub research complete.
@@ -0,0 +1,353 @@
1
+ # Web Research: OpenClaw Product Positioning
2
+
3
+ ## Execution
4
+ - Preferred backend: websearch+webfetch
5
+ - Allowed fallbacks: webfetch-only
6
+ - Research round: 1
7
+
8
+ ## Sources Used
9
+ - WebFetch succeeded on: openclaw.ai, docs.openclaw.ai (8 pages), github.com/openclaw/openclaw, npmjs.com/package/openclaw
10
+ - WebFetch failed on: docs.openclaw.ai/concepts/skills (404)
11
+ - Local codebase: README.md, package.json (ClawMongo fork context)
12
+
13
+ ## Research Quality
14
+ - Status: COMPLETE
15
+ - Quality level: high
16
+ - Backend mode: webfetch-only (multiple pages fetched successfully, comprehensive coverage)
17
+
18
+ ---
19
+
20
+ ## 1. What Is OpenClaw?
21
+
22
+ ### Elevator Pitch
23
+ OpenClaw describes itself as **"The AI that actually does things."** and **"your own personal AI assistant"** that you run on your own devices.
24
+
25
+ ### Product Identity
26
+ OpenClaw is NOT a chatbot framework, NOT a memory library, NOT an agent SDK. It is a **complete personal AI assistant product** with:
27
+ - A **Gateway daemon** (always-on control plane)
28
+ - **22+ messaging channel integrations** (WhatsApp, Telegram, Discord, Slack, Signal, iMessage, etc.)
29
+ - **Agent runtime** built on Pi agent core (Claude Agent SDK lineage)
30
+ - **Memory system** (Markdown files + SQLite + optional QMD sidecar)
31
+ - **Tool system** (browser automation, shell access, file operations, web search)
32
+ - **Companion apps** (macOS menubar, iOS, Android)
33
+ - **Voice Wake + Talk Mode** on macOS/iOS/Android
34
+ - **Live Canvas** with A2UI visualization
35
+ - **Extensible skills/plugins** system
36
+
37
+ ### Core Philosophy
38
+ - **Local-first**: runs on your machine, data stays with you
39
+ - **Multi-channel**: one assistant reachable from any chat app
40
+ - **Always-on**: gateway daemon runs in background
41
+ - **Single-user**: personal assistant, not enterprise multi-tenant
42
+ - **"AI as teammate, not tool"**: positioned as a persistent companion, not a one-shot API
43
+
44
+ ### Key Taglines Used
45
+ - "The AI that actually does things."
46
+ - "your own personal AI assistant"
47
+ - "Any OS. Any Platform. The lobster way."
48
+ - "a better version of Siri built outside corporate constraints"
49
+
50
+ ---
51
+
52
+ ## 2. Who Uses OpenClaw?
53
+
54
+ ### Target Audience
55
+ - **Primary**: Developers and technical power users who want AI automation with full control
56
+ - **Secondary**: Privacy-conscious users who want local-first AI
57
+ - **Aspirational**: Non-technical users (onboarding wizard tries to lower the bar)
58
+
59
+ ### Use Cases Marketed
60
+ - Clear inboxes, send emails, manage calendars
61
+ - Check flight reservations
62
+ - Autonomous background tasks (cron jobs)
63
+ - Browser automation (fill forms, extract data)
64
+ - File system operations (read/write/execute)
65
+ - Code assistance (built on agent SDK with coding tools)
66
+
67
+ ### NOT Positioned For
68
+ - Enterprise/team deployments (single-user focused)
69
+ - Chatbot-as-a-service platforms
70
+ - API-only agent frameworks
71
+ - Customer-facing bot builders
72
+
73
+ ---
74
+
75
+ ## 3. Channel Support (Complete List)
76
+
77
+ ### Built-in Channels (10)
78
+ 1. WhatsApp (via Baileys)
79
+ 2. Telegram (via grammY)
80
+ 3. Discord (via discord.js)
81
+ 4. Slack (via Bolt)
82
+ 5. Signal
83
+ 6. iMessage (legacy)
84
+ 7. BlueBubbles (iMessage modern)
85
+ 8. Google Chat
86
+ 9. IRC
87
+ 10. WebChat
88
+
89
+ ### Plugin/Extension Channels (12)
90
+ 11. Microsoft Teams
91
+ 12. Matrix
92
+ 13. Feishu
93
+ 14. LINE
94
+ 15. Mattermost
95
+ 16. Nextcloud Talk
96
+ 17. Nostr
97
+ 18. Synology Chat
98
+ 19. Tlon
99
+ 20. Twitch
100
+ 21. Zalo
101
+ 22. Zalo Personal
102
+
103
+ ### Channel Marketing
104
+ - **22 total channels** -- by far the broadest multi-channel AI assistant
105
+ - Telegram marketed as "quickest setup" (bot token only)
106
+ - WhatsApp requires QR auth, more complex
107
+ - Text works universally; media/reaction support varies by channel
108
+ - Group chat support with allowlists and mention rules
109
+
110
+ ---
111
+
112
+ ## 4. How OpenClaw Handles Memory (Default)
113
+
114
+ ### Architecture: Markdown-First
115
+ OpenClaw's default memory is **plain Markdown files as the source of truth**:
116
+ - `memory/YYYY-MM-DD.md` -- daily append-only logs
117
+ - `MEMORY.md` -- curated long-term memory (human-authored)
118
+ - Located in agent workspace (`~/.openclaw/workspace`)
119
+
120
+ ### Memory Tools
121
+ - `memory_search` -- semantic recall over indexed snippets
122
+ - `memory_get` -- targeted file/line-range reads
123
+
124
+ ### Storage Backend: SQLite
125
+ - **Primary storage**: SQLite at `~/.openclaw/memory/<agentId>.sqlite`
126
+ - Uses `sqlite-vec` extension for vector acceleration
127
+ - BM25 keyword + vector similarity hybrid search
128
+ - MMR (Maximal Marginal Relevance) for diversity ranking
129
+ - Recency weighting with configurable half-life decay
130
+
131
+ ### QMD (Experimental)
132
+ - **"Local-first search sidecar combining BM25 + vectors + reranking"**
133
+ - Uses its own SQLite with extensions
134
+ - Separate from main SQLite backend
135
+ - Has its own search modes: `search`, `vsearch`, `query`
136
+ - Configurable collection paths, update intervals, timeouts
137
+
138
+ ### Embedding Providers (auto-selected order)
139
+ 1. Local (if `modelPath` exists)
140
+ 2. OpenAI
141
+ 3. Gemini
142
+ 4. Voyage
143
+ 5. Mistral
144
+ 6. Ollama (manual config only)
145
+
146
+ ### Memory Limitations (Why ClawMongo Exists)
147
+ - Recall quality drops as corpus grows (flat file indexing)
148
+ - No real database backend -- SQLite is the ceiling
149
+ - Sync/consistency hard across multiple runtimes
150
+ - No operational visibility or retrieval diagnostics
151
+ - No structured knowledge base ingestion pipeline
152
+ - No graph traversal or entity relationships
153
+ - No event-sourcing or canonical data model
154
+
155
+ ---
156
+
157
+ ## 5. Installation Experience
158
+
159
+ ### One-liner Install
160
+ ```bash
161
+ # macOS/Linux
162
+ curl -fsSL https://openclaw.ai/install.sh | bash
163
+
164
+ # Windows (PowerShell)
165
+ iwr -useb https://openclaw.ai/install.ps1 | iex
166
+ ```
167
+
168
+ ### Also Available Via
169
+ ```bash
170
+ npm install -g openclaw@latest
171
+ ```
172
+
173
+ ### Onboarding Flow (approx. 2 minutes)
174
+ 1. `openclaw onboard --install-daemon`
175
+ 2. Select model provider (Anthropic, OpenAI, Google, etc.)
176
+ 3. Enter API key
177
+ 4. Gateway auto-configures on port 18789
178
+ 5. `openclaw gateway status` to verify
179
+ 6. `openclaw dashboard` opens Control UI in browser
180
+ 7. Send first message via Control UI
181
+ 8. Optionally connect a channel (Telegram is quickest)
182
+
183
+ ### Prerequisites
184
+ - Node.js 24 (recommended) or Node 22.16+
185
+ - API key from any supported model provider
186
+
187
+ ### Companion Apps
188
+ - macOS menubar app (beta)
189
+ - iOS app
190
+ - Android app
191
+
192
+ ---
193
+
194
+ ## 6. GitHub Positioning
195
+
196
+ ### Metrics (March 2026)
197
+ - **Stars**: 329,000 (329k) -- extremely popular
198
+ - **Forks**: 63,900 (63.9k)
199
+ - **License**: MIT
200
+ - **Primary Language**: TypeScript/JavaScript
201
+ - **Release format**: vYYYY.M.D (date-based versioning)
202
+
203
+ ### README Structure
204
+ - Hero image with lobster branding
205
+ - "EXFOLIATE! EXFOLIATE!" tagline
206
+ - One-paragraph product description
207
+ - Quick links (docs, Discord, getting started, FAQ, showcase)
208
+ - Feature sections with details
209
+ - Installation instructions
210
+ - Architecture overview
211
+
212
+ ### GitHub Topics/Tags
213
+ - Personal AI assistant
214
+ - Local-first
215
+ - Multi-channel
216
+ - Open source
217
+
218
+ ### Community Signals
219
+ - Very high star count (329k) puts it in top-tier GitHub projects
220
+ - 63.9k forks indicates massive developer interest
221
+ - Active release cadence (date-based versioning with frequent releases)
222
+ - Discord community linked prominently
223
+
224
+ ---
225
+
226
+ ## 7. npm Positioning
227
+
228
+ ### Package Details
229
+ - **Name**: `openclaw`
230
+ - **Version**: 2026.3.13 (at time of research)
231
+ - **Weekly Downloads**: 1,109,169 (1.1M+)
232
+ - **License**: MIT
233
+ - **Maintainer**: steipete
234
+ - **Dependencies**: 55 direct (Discord.js, Slack Bolt, Anthropic Claude, AI/agent frameworks)
235
+
236
+ ### npm Description
237
+ "Personal AI assistant you run on your own devices" with multi-channel integration and local-first control.
238
+
239
+ ### Download Significance
240
+ 1.1M weekly downloads is very high -- indicates broad adoption and/or CI pipeline inclusion. This is enterprise-grade download volume for an open-source tool.
241
+
242
+ ---
243
+
244
+ ## 8. Documentation Quality
245
+
246
+ ### Site: docs.openclaw.ai (Mintlify-hosted)
247
+
248
+ ### Structure (key sections)
249
+ - **Getting Started**: install, onboard, first message
250
+ - **Channels**: 22 individual channel setup guides
251
+ - **Concepts**: memory, context engine, agent runtime, session management, compaction, streaming, multi-agent routing, delegate architecture
252
+ - **Gateway**: architecture, configuration, remote setup, multiple gateways
253
+ - **Reference**: memory config, session management deep dive, configuration reference
254
+ - **Install**: Docker, Kubernetes, Node.js, Podman, Railway, Render, DigitalOcean, Azure, GCP, Fly.io, Hetzner
255
+ - **Help**: FAQ, troubleshooting, testing
256
+
257
+ ### Documentation Quality Assessment
258
+ - Comprehensive and well-organized
259
+ - Covers 11+ deployment targets (Docker, K8s, cloud providers)
260
+ - Individual guides for all 22 channels
261
+ - Deep technical reference for memory, sessions, context
262
+ - `llms.txt` available for LLM consumption of docs
263
+ - Architecture docs explain gateway, agent loop, context engine
264
+
265
+ ---
266
+
267
+ ## 9. Competitive Positioning
268
+
269
+ ### Implicit Comparisons (from website)
270
+ - Positioned as **"a better version of Siri"** built outside corporate constraints
271
+ - Contrasted with cloud-dependent AI services (ChatGPT, Gemini, etc.)
272
+ - Differentiator: local execution, data sovereignty, multi-channel reach
273
+
274
+ ### No Explicit Comparison Page Found
275
+ - No "OpenClaw vs X" page found in docs
276
+ - No formal competitor comparison matrix
277
+ - Positioning is aspirational/unique rather than comparative
278
+
279
+ ### Key Differentiators vs Competitors
280
+ | vs | OpenClaw Advantage |
281
+ |---|---|
282
+ | ChatGPT/Claude apps | Runs locally, multi-channel, persistent memory, tool access |
283
+ | Siri/Alexa | Open source, customizable, real task execution |
284
+ | LangChain/CrewAI | Complete product (not just framework), built-in channels |
285
+ | Custom agent builds | Turnkey install, 22 channels, companion apps, community |
286
+
287
+ ---
288
+
289
+ ## 10. Community Presence
290
+
291
+ ### Discord
292
+ - Active Discord server (discord.gg/clawd)
293
+ - Badge displayed prominently on GitHub and README
294
+ - Primary community hub
295
+
296
+ ### GitHub
297
+ - 329k stars, 63.9k forks
298
+ - Active issue tracker and PR flow
299
+ - Multiple maintainers contributing
300
+
301
+ ### Social/Web Presence
302
+ - openclaw.ai website (product marketing)
303
+ - docs.openclaw.ai (comprehensive documentation)
304
+ - DeepWiki page (deepwiki.com/openclaw/openclaw)
305
+ - NPM presence with 1.1M+ weekly downloads
306
+
307
+ ### Community Health Signals
308
+ - Very active development (frequent releases)
309
+ - Multiple deployment guides for different platforms
310
+ - Extensive channel integration ecosystem (22 channels)
311
+ - Plugin/extension system allows community contributions
312
+ - Maintained by steipete (primary) with contributor community
313
+
314
+ ---
315
+
316
+ ## What Changed the Recommendation
317
+
318
+ The single highest-signal finding is that **OpenClaw is NOT an agent framework or memory library -- it is a complete, turnkey personal AI assistant product with 329k GitHub stars and 1.1M+ weekly npm downloads**. ClawMongo's positioning should reflect this: it is not "a MongoDB memory backend" but rather "OpenClaw (the most popular open-source personal AI assistant) with a production-grade MongoDB memory system that replaces the default SQLite/Markdown approach." The product IS the assistant. The memory upgrade is what makes it enterprise/team-ready.
319
+
320
+ Key implication: ClawMongo should position as "OpenClaw for production" or "OpenClaw for teams" rather than as a memory library or database integration.
321
+
322
+ ---
323
+
324
+ ## Gotchas / Warnings
325
+
326
+ - OpenClaw's default memory (Markdown + SQLite) is intentionally simple and local-first. ClawMongo adds complexity. Positioning must address when that complexity is worth it vs. when default memory is sufficient.
327
+ - OpenClaw has 329k stars. ClawMongo must be careful not to position as a "competitor" but as a "distribution" or "flavor" of the same product.
328
+ - The upstream has pivoted to QMD as its experimental advanced memory backend. ClawMongo's MongoDB approach diverges from upstream's direction.
329
+ - OpenClaw's 22-channel support is a massive differentiator. ClawMongo inherits ALL of this. This should be front-and-center in positioning.
330
+ - The product is marketed as single-user/personal. ClawMongo's "team-scale" positioning extends beyond upstream's intended use case.
331
+ - npm downloads at 1.1M+/week means OpenClaw has significant market presence. ClawMongo benefits from this ecosystem.
332
+ - steipete is the primary npm maintainer -- important to acknowledge upstream authorship.
333
+
334
+ ---
335
+
336
+ ## References
337
+
338
+ - https://openclaw.ai (product website)
339
+ - https://docs.openclaw.ai (documentation hub)
340
+ - https://docs.openclaw.ai/concepts/memory (memory architecture)
341
+ - https://docs.openclaw.ai/reference/memory-config (memory configuration)
342
+ - https://docs.openclaw.ai/concepts/architecture (gateway architecture)
343
+ - https://docs.openclaw.ai/concepts/context-engine (context engine)
344
+ - https://docs.openclaw.ai/concepts/agent (agent runtime)
345
+ - https://docs.openclaw.ai/channels (channel list)
346
+ - https://docs.openclaw.ai/start/getting-started (installation)
347
+ - https://docs.openclaw.ai/gateway (gateway docs)
348
+ - https://docs.openclaw.ai/llms.txt (documentation index)
349
+ - https://github.com/openclaw/openclaw (GitHub repository)
350
+ - https://www.npmjs.com/package/openclaw (npm package)
351
+
352
+ ---
353
+ Web research complete.