Agentmem

by Thezenmonster

3 stars
137 downloads
Not rated
GitHub Website

About

Governed memory for coding agents with trust lifecycle, conflict detection, staleness tracking, and health scoring. SQLite + FTS5, zero infrastructure. Works with Claude Code, Cursor, Codex, Windsurf.

Details

Author
Thezenmonster
GitHub stars
3
Downloads
137
Categories
Developer Tools, AI, Other, Knowledge Base

- Memory lifecycle states: hypothesis → active → validated → deprecated → superseded
- Built-in conflict detection with sentence-level negation matching
- Staleness detection by age, source file missing, or hash drift
- Health scoring system (0–100) for memory system trustworthiness
- Trust‑ranked recall: validated memories rank above active and hypothesis
- Local‑first, zero‑infrastructure: SQLite with FTS5 search, no cloud needed

Install Agentmem with pip install quilmem[mcp], then run agentmem init --tool claude --project myapp to set up. Restart your editor to give your agent 13 memory tools. For Claude Code, add the MCP server configuration to .claude/settings.json. Agentmem also provides a Python API and CLI for direct use.

agentmem

Shared memory for Claude Code, Cursor, and Codex that knows what's still true. Save sessions, catch stale and conflicting rules, and stop your agent from repeating old mistakes.

PyPI
Python
License: MIT
Tests

The Problem

Your AI coding assistant forgets everything between sessions. It repeats old mistakes. It can't tell current rules from outdated ones. Context compresses and recovery is painful.

Most memory tools solve storage. agentmem solves trust.

Get Started (Claude Code / Cursor / Codex)

pip install quilmem[mcp]
agentmem init --tool claude --project myapp

That's it. Restart your editor. Your agent now has 13 memory tools. Run memory_health to confirm.

<p align="center">
agentmem demo: install, init, health check
</p>

> Python-only? pip install quilmem works without the MCP extra. See the Python API below.

60-Second Demo

```python
from agentmem import Memory

mem = Memory()

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.