rtfm
RTFM is an open-source retrieval layer for AI coding agents, designed to solve the problems of agents repeatedly searching, missing key information, or hallucinating due to insufficient retrieval capabilities in large projects. It can index various types of content in a project, such as code, documentation, PDFs, legal texts, and research materials, and provides precise context snippets to agents via the MCP protocol through full-text search, semantic search, and hybrid search. RTFM runs entirely locally, requires no API keys or cloud services, and is free and open source (MIT license).