What is Retrieve The Forgotten Memory?
Retrieve The Forgotten Memory (RTFM) is a local, free knowledge-base indexer for AI agents. It indexes all project files—code, specs, PRs, PDFs, regulations, vault notes—into a single SQLite file and provides full-text, semantic, or hybrid search so agents find the right context before resorting to grep.
How to use Retrieve The Forgotten Memory?
Install with pip install rtfm-ai, then run rtfm init inside your project directory. Agents (e.g., Claude Code) query the indexed knowledge base automatically, seeing a 300-token metadata snippet before expanding only relevant content.
Key features of Retrieve The Forgotten Memory
- Indexes code, docs, PDFs, and any other file type
- Full-text, semantic, and hybrid search modes
- Progressive disclosure: 300-token metadata snippets
- 100% local—no cloud, no API keys, no cost
- Single SQLite file per project
- Runs in ~30 seconds to index a typical project
Use cases of Retrieve The Forgotten Memory
- AI coding agents that need access to project documentation, not just source code
- Legal or regulatory research across thousands of files and cross-references
- Large monorepos where standard grep searches miss the right file
- Keeping agent context efficient by expanding only relevant content
- Offline-first knowledge retrieval for sensitive or air-gapped projects
コメント