Rhebok is a free, local retrieval and memory system for coding agents, designed to give them useful context from a person’s existing notes, papers, web clippings, and previous coding sessions. It indexes selected folders and creates embeddings with a small model running through Ollama on the user’s machine. For Claude Code, Codex, and Gemini CLI, it can automatically add relevant passages to prompts, but only when they pass a confidence threshold; agents can also search the knowledge base on demand through an MCP tool. Rhebok combines semantic, keyword, and link-graph retrieval, demotes outdated decisions, and provides a dashboard for inspecting search results and what context was injected.
The project also indexes Claude Code and Codex transcripts and can distill completed sessions into durable memories, while keeping raw transcripts out of automatic prompt context by default. One shared index works with Claude Code, Codex, Gemini CLI, Cursor, and Claude Desktop. Embeddings and data remain local unless users opt into remote embedding services or cloud backups; the software has no telemetry, though it makes limited network requests for updates and certain downloads. Installation requires Ollama and a supported Mac with Apple silicon or Linux system; Windows users can run it under WSL, while native Windows and Intel Mac builds are not yet available. Distributed under AGPL-3.0, it aims to make agent memory automatic, inspectable, and grounded in a user’s own material.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.