Local-first, event-sourced memory + judgment layer for AI coding agents; warns before repeating a failed fix.
Lightweight memory + judgment layer for AI coding agents. No daemon, no ports — just stdio MCP + plain-text JSONL in your repo. Captures bugs, failed attempts, and fixes inside your project, then warns at git commit before you repeat a known dead-end. 14 tools, ~600 LOC, open source, MIT, 100% local — your AI finally remembers what it tried last week.
What is projectmem?
projectmem is an open-source ai & coding agents tool — Local-first, event-sourced memory + judgment layer for AI coding agents; warns before repeating a failed fix. It is written in Python.
Is projectmem free and open source?
Yes. projectmem is free and open source, released under the MIT license. You can view and contribute to the source at https://github.com/riponcm/projectmem.
What language is projectmem written in?
projectmem is primarily written in Python.
What are open-source alternatives to projectmem?
Other open-source ai & coding agents tools on OSSDrop include Transformers, Llama, Grok-1, Aider.
For anyone curious how it actually works — I just posted a full video walkthrough. Real project, real bugs, and the pre-commit warning firing live. Happy to answer anything 🙏 Watch: https://youtu.be/pELGdXHj_Ls?si=9o0yZ3WL0jP2hyTE Hi PH 👋 A few weeks ago I watched my AI coding agent confidently suggest the same broken CSS fix I'd rejected the previous Friday. Same contain: layout solution. No memory I'd already tried it. Every new chat was Groundhog Day. I'd been hacking on a fix for months — that incident pushed me to finally ship. projectmem is a local-first memory + judgment layer for AI coding agents. It captures development events — bugs, failed attempts, fixes, decisions, gotchas — into plain-text files inside your repo. Your AI agent (Claude / Cursor / Antigravity / Codex) reads it through 14 MCP tools. Same agent, same model — but now it actually remembers what worked, what didn't, and why. Five killer features, all wired by one pjm init: 1. Pre-commit warning — the git hook checks your staged file against memory and warns BEFORE the commit if there's a logged failed approach on that file. The killer feature. Memory + judgment at the moment of action. 2. Cross-project memory — lessons learned in one repo automatically surface in other repos with the same stack (~/.projectmem/global/). A React gotcha you fix in proj-a appears in proj-b. Stack-aware filtering, so a vite project's "next" mention doesn't pollute Next.js gotchas in your actual Next.js repos. 100% local, no cloud sync. 3. Provable ROI (pjm score) — an A+ → F grade backed by concrete numbers: debugging hours saved, tokens prevented, dollars protected. Output as terminal, JSON for CI, or a shields.io badge for your README. The first AI memory tool with metrics a CTO can actually verify. 4. Smart context injection (pjm wrap) — launches your agent with a token-budgeted context block already loaded. Your AI starts experienced, not blank. Works with Claude Code, Cursor, A
Sign in to comment.
No comments yet.