ledgermind
LedgerMind — an autonomous living memory for AI agents. It self-heals, resolves conflicts, distills experience into rules, and evolves without human intervention. SQLite + Git + reasoning layer. Perfect for multi-agent systems and on-device deployment.
claude mcp add --transport stdio sl4m3-ledgermind python -m ledgermind \ --env LEDGermind_ENV="Describe or placeholder for environment variables if needed"
How to use
LedgerMind is an autonomous knowledge lifecycle manager that blends a hybrid storage system (SQLite + Git) with a reasoning layer to maintain and evolve an agent's memory. It continuously monitors knowledge health, resolves conflicts, and distills experiences into actionable rules, all in the background. The MCP interface exposes a suite of tools (15 in total) that enable automation, project bootstrapping, memory lifecycle management, and advanced auditing via Git-based cryptographic trails. You can leverage these tools to initialize projects, inject hooks into clients, perform memory processing, and observe the ongoing background heartbeat that handles syncing and reflection tasks. Use the MCP server to interact with LedgerMind's capabilities through standardized endpoints, enabling multi-agent orchestration, versioned knowledge, and autonomous memory evolution across your AI agents.
How to install
Prerequisites:
- Python 3.10 or higher
- Git installed and available on your system
- Internet access to install Python packages
Installation steps:
-
Create and activate a Python virtual environment (optional but recommended):
python3 -m venv venv source venv/bin/activate # on Windows use: venv\Scripts\activate
-
Install LedgerMind from PyPI:
pip install ledgermind
-
Verify installation:
ledgermind --help
-
Run the MCP server (as a module):
python -m ledgermind
Notes:
- If you are using Termux or mobile environments, ensure any necessary build tools are installed and compatible with your Python environment.
- The MCP server exposes multiple tools for memory lifecycle management; consult the Quick Start Guide for detailed usage of each tool.
Additional notes
Tips and common considerations:
- LedgerMind runs a background heartbeat every 5 minutes to perform Git syncing, reflection, and decay tasks; ensure sufficient disk space for long-running operation.
- The system uses a hybrid storage model (SQLite + Git); maintain regular backups of your repository to preserve the cryptographic audit trail.
- Environment variables are optional but can be used to tailor behavior (e.g., paths, model selection, or client hook configurations). If not set, defaults are used.
- When upgrading LedgerMind, review the release notes for changes to the 15 MCP tools and any required migration steps.
- Ensure your agents and clients are compatible with the MCP interface and that there is network access if you plan to run multiple agents or remote clients.
Related MCP Servers
Wax
Sub-Millisecond RAG on Apple Silicon. No Server. No API. One File. Pure Swift
mem0
✨ mem0 MCP Server: A memory system using mem0 for AI applications with model context protocl (MCP) integration. Enables long-term memory for AI agents as a drop-in MCP server.
octagon-vc-agents
An MCP server that runs AI-driven venture capitalist agents (Fred Wilson, Peter Thiel, etc.), whose thinking is continuously enriched by Octagon Private Markets' real-time deals, valuations, and deep research intelligence. Use it to spin up programmable "VC brains" for pitch feedback, diligence simulations, term sheet negotiations, and more.
mcp-document-converter
MCP Document Converter - A powerful MCP tool for converting documents between multiple formats, enabling AI agents to easily transform documents.
ultrasync
MCP server from darvid/ultrasync
fava-trails
🫛👣 FAVA Trails — versioned, auditable memory for AI agents via MCP. Backed by Jujutsu VCS.