# ScallopBot > A free, open-source (MIT), self-hosted AI assistant with persistent memory. It runs on hardware you own — down to a Raspberry Pi-class machine — routes across 7 LLM providers, and remembers across conversations instead of starting cold each session. It is software, not the shellfish and not the Datalog dialect of the same name. ScallopBot has no paid tier and no hosted version: you run it yourself, against your own model API keys. Its distinguishing claim is long-conversation memory, measured on the LoCoMo benchmark. ## Benchmark result (LoCoMo) Same models, same token-F1 scoring, 1,049 QA items drawn from 5 conversations and 138 sessions: | Category | ScallopBot | OpenClaw | Relative | | ----------- | ---------- | -------- | -------- | | Overall F1 | 0.48 | 0.38 | +26% | | Adversarial | 0.97 | 0.77 | +26% | | Multi-hop | 0.42 | 0.32 | +31% | | Temporal | 0.34 | 0.26 | +31% | ## Pages - [ScallopBot](https://scallopbot.com/): the homepage — what the assistant does, the LoCoMo benchmark summary, the models it routes between, guarded evolution, and how to install it. - [Memory architecture](https://scallopbot.com/memory/): how memory is maintained, read from the source — one SQLite file, a 1-minute / 72-minute / nightly gardener, nightly NREM consolidation and REM association in 2–5 AM quiet hours, category-based decay, two self-reflection loops (assistant-only insight memories; opt-in skill evolution with rollback), and a design comparison with Letta and Mem0. - [OpenClaw memory, benchmarked](https://scallopbot.com/openclaw-memory/): the memory system in full — the LoCoMo table above, bio-inspired NREM consolidation, hybrid BM25 + embedding retrieval with LLM reranking, temporal query detection, the MCP server, and a FAQ. - [ScallopBot vs. OpenClaw](https://scallopbot.com/vs/openclaw/): a feature-by-feature comparison of the two projects. Key distinction: both consolidate memory, differently. OpenClaw's "dreaming" promotes frequently-recalled notes into MEMORY.md and keeps entries as written; ScallopBot's nightly NREM pass fuses duplicates and merges cross-topic fragments into new summaries, REM builds typed associations, and category half-life decay archives and prunes. ScallopBot also adds self-reflection, daily/monthly spend limits that gate requests, and complexity-based routing across 7 providers — while running OpenClaw's SKILL.md skill format unchanged. OpenClaw leads on channel count (25+ vs 3 live: Telegram, web dashboard/API, CLI), native apps (macOS, iOS, Android, Windows, Linux), and bundled-skill catalogue size. LoCoMo F1 0.48 vs 0.38 under identical models and scoring. - [What ScallopBot costs to run](https://scallopbot.com/cost/): $0 licence, an estimated $0.05–0.10/day in model spend and a $5–8/month VPS, set beside OpenClaw Cloud at $39–49/month and Nous Portal credit plans. - [ScallopBot as a LiteLLM alternative](https://scallopbot.com/litellm-alternative/): LiteLLM is an OpenAI-compatible proxy gateway that tracks spend and sets per-key budgets for your applications — but it is not an assistant. ScallopBot ships cost-aware routing (complexity-scored, cheapest-capable-tier across 7 providers), token-level cost tracking, and daily/monthly budget gates with the assistant built in: chat channels, voice, persistent memory, dashboard. Includes an honest comparison table and when to pick LiteLLM instead. ## Memory over MCP ScallopBot exposes its memory as an MCP server publishing three tools — `memory_store`, `memory_recall` and `memory_temporal` — so Claude Code, or any other MCP client, reads and writes the same memory the assistant uses. There is no npm package yet, so the paths point at your own clone: ``` claude mcp add scallopbot --env SCALLOPBOT_DB=/path/to/memories.db -- node /path/to/scallopbot/dist/mcp-server/index.js ``` A bundled skill makes ScallopBot an MCP *client* too, so any MCP server you already run is available to the assistant. ## Source - [GitHub repository](https://github.com/tashfeenahmed/scallopbot): source code, installation docs, and the MIT license. - [README](https://github.com/tashfeenahmed/scallopbot/blob/main/README.md): install steps and the daily cost breakdown.