mind 5.0.0 — first public release
Brain-like memory for any coding agent. One stdlib-only Python file.
Measured (reproduce with python3 bench/bench.py):
- recall@1 0.95, median 0.46 ms @ 100 nodes / 2.2 ms @ 1,000 nodes
- dream determinism: PASS — identical state → identical consolidation plan
- 58 tests, CI green on ubuntu/macos × Python 3.9/3.12/3.14
What's inside
- Spreading-activation recall (RRF + IDF fusion, pattern completion & separation)
- Ebbinghaus forgetting — reinforced memories harden, trivia fades
- Deterministic dream cycle (zero LLM calls, zero tokens,
--dry-run, explained journal) correct— reconsolidate wrong memories with history- Export to AGENTS.md / CLAUDE.md / GEMINI.md behind guard markers
- Bilingual EN/AR tokenization; atomic symlink-refusing writes; concurrency-safe saves
Install
curl -O https://raw.githubusercontent.com/Da7-Tech/mind/main/mind.py
python3 mind.py initSister project: dream — a sleep cycle for the memory files your agent already has.