CodeMemoryPrime

•

Provides local, long-term codebase memory for AI coding assistants to enhance context retention and reduce API token costs.

CodeMemoryPrime (CMP) is a lightweight, fast tool that empowers AI coding assistants like Claude Desktop or Cursor with an enduring memory of your project's structure and details. It addresses common frustrations by instantly re-indexing only changed files, preserving full code context during lookups, and saving project insights between sessions, preventing your AI from repeatedly forgetting crucial information or incurring unnecessary token expenses. Built in Rust, it's a single, easily deployable binary that integrates seamlessly with local LLMs and popular AI development environments, offering a suite of 35 tools for code search, memory management, file operations, and more.

主な機能

01Instant re-indexing of only changed files, typically under 0.2 seconds.
02Works offline, integrating with local LLM providers like Ollama and LM Studio.
03Lightweight, single-binary setup with no heavy dependencies or services.
04Persists project facts, rules, and decisions across AI chat sessions.
05Retains full code context (classes, structs, imports) during AI lookups.
060 GitHub stars

ユースケース

01Reducing API token expenditure by localizing codebase indexing and knowledge retrieval for AI.
02Enabling effective offline coding assistance from AI tools by integrating with local LLMs.
03Equipping AI coding assistants with persistent memory to prevent context loss during development.