rtfm logo
rtfm
★ 26
vs
subcog logo
subcog
★ 29

rtfm vs subcog

rtfm: RTFM is a local, open-source retrieval layer that indexes everything in a project (code, docs, PDFs, etc.) so that AI agents can find the right context instantly without hallucinations or cloud costs. It integrates with Claude Code and other MCP clients, supports multiple formats, and provides fast search with progressive disclosure.; subcog: Subcog is a persistent memory system for AI coding assistants that captures decisions, learnings, and context from coding sessions. It features a single-binary distribution, three-layer storage architecture (SQLite, FTS5, usearch HNSW), MCP server integration, and Claude Code hooks. It achieves high accuracy on factual recall benchmarks.

01

TL;DR

rtfm logo
rtfmRAG / Knowledge Base · ★ 26

Legal and regulatory document retrieval with support for specialized formats

subcog logo
subcogRAG / Knowledge Base · ★ 29

Capturing and recalling technical decisions during development

02

Side-by-Side Comparison

Field
rtfm logortfm
subcog logosubcog
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 26
★ 29
License
MIT
MIT
Install Command
pip install rtfm-ai && cd your-project && rtfm init
cargo install subcog
Updated
1d ago
2mo ago
Open Source
Yes
Yes
Tags
ai-agents, claude, claude-code
ai, ai-assistant, claude
03

Features

rtfm logortfm
01Full-text, semantic, and hybrid search with progressive disclosure
02Multi-format indexing with 22 built-in parsers (code, docs, PDFs, etc.)
03Local, free, and open-source (MIT license)
04Knowledge graph with wikilinks and import edges, plus version history
05Seamless MCP integration (native Claude Code plugin and manual install)
subcog logosubcog
01Memory capture with automatic embedding generation (384-dimensional vectors)
02Hybrid search combining BM25 text search and vector similarity (RRF fusion)
03SQLite persistence as single source of truth (ACID-compliant)
04MCP server integration for AI agent interoperability
05Claude Code hooks for seamless IDE integration
04

Use Cases

rtfm logortfm
↳Legal and regulatory document retrieval with support for specialized formats
↳Research projects combining code, papers, and datasets
↳Any project mixing code with domain-specific documents (FinTech, HealthTech, etc.)
subcog logosubcog
↳Capturing and recalling technical decisions during development
↳Surfacing relevant past context when working on similar tasks
↳Maintaining persistent memory across coding sessions for AI assistants
FAQ

FAQ

What is the difference between rtfm and subcog?
Both rtfm and subcog are in the RAG / Knowledge Base category. rtfm has 26 stars, while subcog has 29 stars.
Which is better, rtfm or subcog?
The best choice depends on your use case. Choose rtfm if Legal and regulatory document retrieval with support for specialized formats, and subcog if Capturing and recalling technical decisions during development.
Is rtfm free or open source?
Yes, rtfm is open source on GitHub (MIT).
Is subcog free or open source?
Yes, subcog is open source on GitHub (MIT).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related