projectmem
Active·★ 881·MIT·Updated 2026-11-01
★ Hidden Gem
projectmem is an open-source, local-first memory and judgment layer for AI coding agents, designed to capture persistent records of project development, including issues, attempts, fixes, and decisions. It aims to make AI experienced, preventing repetition of past failures and significantly reducing token usage by providing distilled context.
Basic information · No in-depth review published yet. Features and usage information are compiled from public project materials; check the official documentation before choosing.
#AI Agent Memory#Local-First#Developer Tooling#Git Hooks#Context Management#Token Optimization#Pre-Commit Warnings#Project Visualization
01
Features
01Pre-Commit Warnings: Warns developers before committing if they're repeating failed approaches, modifying high-churn files, or touching unresolved issues.
02Local-First and 100% Private: All memory and data reside locally in a `.projectmem/` directory with no cloud, accounts, or telemetry.
03Global Dashboard: Provides a unified view of all `pjm init`-ed projects, showing grades, issues, savings, and a 'needs attention' list, aggregated at read-time.
04Code Structure + Judgment: Overlays failure heat from the event log directly onto the codebase's import graph, highlighting files with repeated failed attempts.
05Smart Context Injection & Token Efficiency: Distills raw event logs into compact, AI-readable summaries and provides token-budgeted memory blocks, significantly reducing token cost.
02
Compatibility
Python
Runtime
Verified via docs
Git
Version Control
Verified via docs
MCP Clients
AI Tool Integration
Verified via docs
MacOS
OS
Verified via docs
Windows
OS
Verified via docs
Linux
OS
Verified via docs
03
Quick start
1
$ pip install projectmem
2
$ cd your-project
3
$ pjm init
04
Use cases
↳Preventing AI agents from repeating past debugging attempts or failed architectural approaches.
↳Improving AI agent efficiency and reducing token costs by providing distilled, context-aware project memory instead of re-reading raw files.
↳Visualizing project development history, including issues, fixes, and decisions, to understand codebase evolution and identify problem areas.
↳Onboarding new developers or bringing AI agents up to speed on a project quickly by injecting pre-existing project knowledge and decisions.
↳Providing a persistent, auditable record of AI agent interactions and learning within a project.
05
Alternatives
Comments
Log in to leave a comment
No comments yet. Be the first!