Lurker News

Comments (1) 1 thread

adityadebnath#
Hey HN,

I built Project-M because I got tired of the "context tax" every time I switch between Claude Code, Google Antigravity, and OpenAI Codex.
Each tool runs in complete isolation. If you decide on an architectural rule in one or finish a task in another, the next agent has zero clue unless you manually paste the rules again or watch context compaction wipe it out.
Most existing memory projects use heavy cloud vector databases or paid embedding APIs. I didn't want my code leaving my machine or paying another subscription just to remember basic project state.
Project-M is a local-first MCP server and CLI that acts as a shared memory layer for all your agents.
How it works:
Runs 100% locally on SQLite in WAL mode so multiple agents can read and write concurrently with zero database locks. Uses a 4-tier memory architecture. The high-priority state card stays under 450 tokens so it barely touches your prompt budget. Keeps an immutable ADR ledger for architectural choices and a task baton table for handoffs between agents. Includes sub-millisecond local search over past sessions using SQLite FTS5 with BM25 ranking. Zero cloud dependencies, zero API keys, and MIT licensed.
GitHub: https://github.com/adityadebnath009/Project-M
Would love to hear your thoughts and honest critique!

All comments shown.