Qarinah is open-source project memory for Codex, Claude Code, and CLI agents. It records permitted decisions, tool outcomes, project structure, and evidence as a local append-only ledger, then compiles a small cited context pack for the next task.
Why it exists: - Agents stop replaying the same repository history. - Every selected memory points back to a source. - Codex and Claude Code can share the same project-owned record without sharing private chats. - Markdown, JSON, graph, and OKF exports remain inspectable and portable.
The reproducible evaluator reduced estimated repeated input context from 442,113 tokens to 5,682 - 98.71% less - while every required target ranked in the top five.
Install: npm install --save-dev qarinah
Apache-2.0. Local-first. No hosted Qarinah API key.