Every memory carries evidence from your code. Aletheia re-checks it on every recall,
points your agent at the exact lines, and keeps stale facts out of its context.
Coding agents forget everything between sessions, so they re-read the same files every time. Memory tools fix the forgetting, but they rank memories by similarity, and an outdated memory looks just as relevant as the fact that replaced it. The agent then builds on something that stopped being true weeks ago. A confidently wrong memory is worse than no memory.
How it works
Memories carry evidence. Each memory is a claim plus anchors: a function that must still exist, a line that must still match, a file that must still be there.
Evidence is checked on every recall. The checks are mechanical: no model calls, no embeddings, no network. A memory whose evidence broke is hidden from the agent, and a one-line note says so.
Moved code is followed. When a Go declaration moves unchanged to another file, its memory comes back as [moved] with the new place instead of going stale.
Recall points at lines. A pointer such as builtin_test.go:263 is computed from the files right now, so the agent opens the right lines instead of searching for them.
Maps write themselves. When the agent stops, Aletheia reads the session transcript and records which files the task changed. The next task of the same kind starts there, and the agent spends no turns writing it down.
Nothing is deleted. Replaced memories are superseded and long-stale ones archived by aletheia lethe (Lethe, the river of forgetting).
Quick start
1. Install it in whichever way suits you. Every option gives you the same single binary:
npm install -g @firatmio/aletheia # Node 18+, any OS
go install github.com/firatmio/aletheia/cmd/aletheia@latest # Go 1.24+
scoop bucket add firatmio https://github.com/firatmio/scoop-bucket; scoop install aletheia # Windows
brew install --cask firatmio/tap/aletheia # macOS, Linux
Prebuilt archives for Linux, macOS and Windows are on the releases page.
2. Connect your agent.
Claude Code, with the plugin (recommended). It brings the MCP server and both hooks. /aletheia:setup then initializes the project: