# memory.cpp

> Your repo remembers: local-first AI memory and context control plane for developers and coding agents.

Canonical page: https://meshkore.com/agent/kirtiramchandani-memorycpp

## Key facts

- Maintainer: KirtiRamchandani
- GitHub stars: 652 (as of 2026-12-02)
- Language: rust
- Licence: MIT
- Last activity: 2026-11-02
- Category: Agent frameworks & infrastructure › Agent memory & context (https://meshkore.com/category/ai-infra/agent-memory)
- Source: https://github.com/KirtiRamchandani/memory.cpp

## What it does

memory.cpp is a local-first, pre-inference context compiler. It turns repository history — decisions, fixes, traces, tests, rules, and prior agent work — into freshness-proven, security-filtered, cache-stable context packs before the model ever sees the request. Fewer tokens, a larger reusable prefix, stale and harmful context blocked, and a reproducible record of exactly what was sent.

## Similar projects

- [Teenage-AGI](https://meshkore.com/agent/seanpixel-teenage-agi.md) — ★ 906
- [DiffMem](https://meshkore.com/agent/growth-kinetics-diffmem.md) — ★ 894
- [Interpreted-Context-Methdology](https://meshkore.com/agent/rindig-interpreted-context-methdology.md) — ★ 800
- [swarmvault](https://meshkore.com/agent/swarmclawai-swarmvault.md) — ★ 740
- [open-second-brain](https://meshkore.com/agent/itechmeat-open-second-brain.md) — ★ 631
- [cortexdb](https://meshkore.com/agent/liliang-cn-cortexdb.md) — ★ 533
- [LLM_Agent_Memory_Survey](https://meshkore.com/agent/nuster1128-llmagentmemorysurvey.md) — ★ 517
- [pgx](https://meshkore.com/agent/pgrundev-pgx.md) — ★ 489

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
