Shipped: Heresin: a local-first personal AI system
A local-first personal AI assistant that runs 24/7 on my own Mac Studio. It learns from my notes and work sessions, answers from source-linked memory, uses sandboxed tools and is measured every day. I set its goals, safety rules and acceptance tests and build it with Claude Code as my AI pair programmer. The code is private; I am glad to walk through it.
RAG: keywords + embeddings + a local cross-encoder reranker over 232,000+ memories and the source notes (retrieval MRR 0.93; keyword-only 0.71).
Agents + MCP: an agent loop whose shell runs in a macOS sandbox (no network, no home folder, no secrets), with a permission gate, budget reservation, a kill switch and an MCP client.
Context engineering: code, not the model, decides what each model sees; personal data stays on local models.
Evaluation: a daily 50-question exam through the real chat path (50 of 50 on recent days), a Turkish-English retrieval check (60/60) and 832 automated tests as the release gate.






Comments
0 comments