Memorine: A Local Memory System for OpenClaw Agents Using Python and SQLite

✍️ OpenClawRadar📅 Published: March 9, 2026🔗 Source
Memorine: A Local Memory System for OpenClaw Agents Using Python and SQLite
Ad

Memorine is a local memory system for OpenClaw agents built with Python and SQLite, requiring no external services, API calls, Docker, or telemetry. The entire system consists of about 8 files of pure Python code that creates a local .db file for memory storage.

Core Features

  • Agents store facts and retrieve them later using full-text search
  • Memories decay over time using a forgetting curve to prevent accumulation of old data
  • Automatic flagging of contradictory information when new facts conflict with existing ones
  • Causal chaining of events (this caused that, which caused this other thing)
  • Procedure tracking with learning about which steps tend to fail
  • Multiple agents can share facts through the same database
  • Each agent can only modify its own data, preventing cross-agent memory interference
  • Optional semantic search via fastembed + sqlite-vec extensions
Ad

Integration and Tools

The system includes an MCP server that allows OpenClaw to recognize it as a plugin, providing 14 tools to all agents once configured. The database file can be inspected directly using any SQLite browser.

Technical Details

Memorine has zero dependencies beyond Python and SQLite. There are no network calls, compiled binaries, or native extensions. The codebase is small enough to be read completely in an afternoon according to the developer.

The project is available on GitHub with open pull requests for bug fixes and feature additions. It's also published on PyPI for easy installation.

📖 Read the full source: r/openclaw

Ad

👀 See Also

ThumbGate Implements Tsinghua's Natural-Language Agent Harness Pattern for AI Safety
Tools

ThumbGate Implements Tsinghua's Natural-Language Agent Harness Pattern for AI Safety

The open-source tool ThumbGate implements the Natural-Language Agent Harness pattern from Tsinghua's NLAH paper, mapping four components: contracts to prevention rules from thumbs-down feedback, verification gates to PreToolUse hooks, durable state to SQLite+FTS5 lesson database, and adapters to MCP server adapters for multiple AI coding agents.

OpenClawRadar
Claude Code Prompt Improver v0.5.3: Plan Mode Refactor and Subagent-First Research
Tools

Claude Code Prompt Improver v0.5.3: Plan Mode Refactor and Subagent-First Research

v0.5.3 adds a PreToolUse hook for plan mode readability (clean rewrites, no decision history) and moves vague prompt research to Task/Explore subagents on Haiku to save main-context tokens. The plugin now works on Windows and has 1.4K+ GitHub stars.

OpenClawRadar
ClawCode: Migrate OpenClaw Agents to Claude Code as a Plugin
Tools

ClawCode: Migrate OpenClaw Agents to Claude Code as a Plugin

ClawCode is a Node.js plugin for Claude Code that imports OpenClaw agents, including IDENTITY, SOUL, memory, skills, and crons from ~/.openclaw/workspace/. It provides SQLite+FTS5 searchable memory, messaging plugins for WhatsApp, Telegram, Discord, iMessage, and Slack, and a nightly 'dream' process for memory consolidation.

OpenClawRadar
Hippo v0.21.0: Biologically-Inspired Memory for AI Agents with Multi-Tool Support
Tools

Hippo v0.21.0: Biologically-Inspired Memory for AI Agents with Multi-Tool Support

Hippo v0.21.0 introduces one-command setup for multiple AI coding tools including Claude Code, OpenCode, OpenClaw, Codex, Cursor, and Pi. The memory system features decay, retrieval strengthening, and consolidation with zero runtime dependencies.

OpenClawRadar